<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: &amp;quot;This routine is inlined&amp;quot; : Where is this done? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-This-routine-is-inlined-quot-Where-is-this-done/m-p/693506#M42714</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alexander,&lt;/P&gt;&lt;P&gt;I think there maybe some other meaning about the "inlined" annotation .&lt;/P&gt;&lt;P&gt;While I will ask the PE team to confirm it .&lt;/P&gt;&lt;P&gt;Thanks for your sharing .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Jun 2017 09:47:25 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2017-06-01T09:47:25Z</dc:date>
    <item>
      <title>"This routine is inlined" : Where is this done?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-This-routine-is-inlined-quot-Where-is-this-done/m-p/693501#M42709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see a note in PE-generated code for a UART interrupt handler (InterruptTX). A comment indicates "This routine is inlined" but I can't see how this is done. What makes the function InterruptTX inlined?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm asking because I would like to temporarily disable inlining so I can set a breakpoint.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 22:33:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-This-routine-is-inlined-quot-Where-is-this-done/m-p/693501#M42709</guid>
      <dc:creator>asfarley</dc:creator>
      <dc:date>2017-05-25T22:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: "This routine is inlined" : Where is this done?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-This-routine-is-inlined-quot-Where-is-this-done/m-p/693502#M42710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="36474" data-username="asfarley" href="https://community.nxp.com/people/asfarley"&gt;Alexander&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Please tell me which version of IDE, and which chip, you'd better&lt;/P&gt;&lt;P&gt;share the code you mentioned , thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 04:06:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-This-routine-is-inlined-quot-Where-is-this-done/m-p/693502#M42710</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-05-26T04:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: "This routine is inlined" : Where is this done?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-This-routine-is-inlined-quot-Where-is-this-done/m-p/693503#M42711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is using:&lt;/P&gt;&lt;P&gt;KDS 3.2.0&lt;/P&gt;&lt;P&gt;MCU: K22F&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the exact lines of code I was referring to, which are contained in the function ASerialLdd_Interrupt():&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (StatReg &amp;amp; UART_S1_TDRE_MASK) { /* Is the transmitter empty? */&lt;BR /&gt; InterruptTx(DeviceDataPrv); /* If yes, then invoke the internal service routine. This routine is inlined. */&lt;BR /&gt; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2017 21:20:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-This-routine-is-inlined-quot-Where-is-this-done/m-p/693503#M42711</guid>
      <dc:creator>asfarley</dc:creator>
      <dc:date>2017-05-29T21:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: "This routine is inlined" : Where is this done?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-This-routine-is-inlined-quot-Where-is-this-done/m-p/693504#M42712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alexander,&lt;/P&gt;&lt;P&gt;- The function of " InterruptTx(DeviceDataPrv)" is in the file "AS1.c":&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19788iC47BAF4F9DA83863/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- You can find the "DeviceDataPrv" refer to the below path:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19823i4262DBAFEFC2404A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INT_LPUART0__DEFAULT_RTOS_ISRPARAM is a global variable , it is initialize in the function of "AS1_Init()" :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19876iAF7BE4BD94FDC1ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 03:04:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-This-routine-is-inlined-quot-Where-is-this-done/m-p/693504#M42712</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-05-31T03:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: "This routine is inlined" : Where is this done?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-This-routine-is-inlined-quot-Where-is-this-done/m-p/693505#M42713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Alice. I think I might have been unclear with my question: I do understand where the InterruptTX code is located in my project. My question is specifically regarding&amp;nbsp;&lt;STRONG&gt;inlining&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My understanding is that inlining should require a special annotation for the compiler to pick up, but I can't see anything to indicate inlining for InterruptTX other than the comment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on my experience debugging the code, it does seem that InterruptTX actually is inlined. So it seems a bit magical, like something is causing this one function to be inlined without any compiler directive. See what I mean?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 15:45:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-This-routine-is-inlined-quot-Where-is-this-done/m-p/693505#M42713</guid>
      <dc:creator>asfarley</dc:creator>
      <dc:date>2017-05-31T15:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: "This routine is inlined" : Where is this done?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-This-routine-is-inlined-quot-Where-is-this-done/m-p/693506#M42714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alexander,&lt;/P&gt;&lt;P&gt;I think there maybe some other meaning about the "inlined" annotation .&lt;/P&gt;&lt;P&gt;While I will ask the PE team to confirm it .&lt;/P&gt;&lt;P&gt;Thanks for your sharing .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 09:47:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-This-routine-is-inlined-quot-Where-is-this-done/m-p/693506#M42714</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-06-01T09:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: "This routine is inlined" : Where is this done?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-This-routine-is-inlined-quot-Where-is-this-done/m-p/693507#M42715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alexander,&lt;/P&gt;&lt;P&gt;PE team expert said :&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;The note &lt;/SPAN&gt;"This routine is inlined"&amp;nbsp;means that the routine is defined as inline (it is inlined by the compiler). But it may not be a valid comment for all compilers and settings. The functional can be inlined in some use cases and configurations only (for better performance of the code).&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 08:17:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-This-routine-is-inlined-quot-Where-is-this-done/m-p/693507#M42715</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-06-15T08:17:20Z</dc:date>
    </item>
  </channel>
</rss>

