<?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: uart interrupt in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/uart-interrupt/m-p/588468#M28151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by researchinnovation on Mon Dec 10 23:20:06 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Serge&lt;/STRONG&gt;&lt;BR /&gt;Gray shaded code is not used. &lt;BR /&gt;If your IF statement is FALSE with other words: #if CONFIG_UART_ENABLE_INTERRUPT==0&lt;BR /&gt;The code is not executed nor compiled.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot....!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:22:01 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:22:01Z</dc:date>
    <item>
      <title>uart interrupt</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uart-interrupt/m-p/588464#M28147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by researchinnovation on Thu Dec 06 04:57:47 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi..!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What this part of interrupt will do in UART.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; /* Enable the UART Interrupt */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; NVIC_EnableIRQ(UART_IRQn);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#if CONFIG_UART_ENABLE_INTERRUPT==1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#if CONFIG_UART_ENABLE_TX_INTERRUPT==1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; LPC_UART-&amp;gt;IER = IER_RBR | IER_THRE | IER_RLS;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Enable UART interrupt */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#else&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; LPC_UART-&amp;gt;IER = IER_RBR | IER_RLS;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Enable UART interrupt */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#endif&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#endif&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:21:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uart-interrupt/m-p/588464#M28147</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: uart interrupt</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uart-interrupt/m-p/588465#M28148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by graynomad on Sun Dec 09 15:32:58 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;What's your question?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:22:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uart-interrupt/m-p/588465#M28148</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: uart interrupt</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uart-interrupt/m-p/588466#M28149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by researchinnovation on Sun Dec 09 20:30:36 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: graynomad&lt;/STRONG&gt;&lt;BR /&gt;What's your question?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If&amp;nbsp; put #if CONFIG_UART_ENABLE_INTERRUPT==0,#if CONFIG_UART_ENABLE_TX_INTERRUPT==0, then rest of the part of the code becomes gray shade and this part doesn't get executed while compiling.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That is why I want to know in details, what is happening here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* Enable the UART Interrupt */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; NVIC_EnableIRQ(UART_IRQn);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#if CONFIG_UART_ENABLE_INTERRUPT==1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#if CONFIG_UART_ENABLE_TX_INTERRUPT==1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; LPC_UART-&amp;gt;IER = IER_RBR | IER_THRE | IER_RLS;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Enable UART interrupt */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#else&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; LPC_UART-&amp;gt;IER = IER_RBR | IER_RLS;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Enable UART interrupt */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#endif&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#endif&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:22:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uart-interrupt/m-p/588466#M28149</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: uart interrupt</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uart-interrupt/m-p/588467#M28150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by serge on Mon Dec 10 00:38:19 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Gray shaded code is not used. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If your IF statement is FALSE with other words: #if CONFIG_UART_ENABLE_INTERRUPT==0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The code is not executed nor compiled.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:22:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uart-interrupt/m-p/588467#M28150</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: uart interrupt</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uart-interrupt/m-p/588468#M28151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by researchinnovation on Mon Dec 10 23:20:06 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Serge&lt;/STRONG&gt;&lt;BR /&gt;Gray shaded code is not used. &lt;BR /&gt;If your IF statement is FALSE with other words: #if CONFIG_UART_ENABLE_INTERRUPT==0&lt;BR /&gt;The code is not executed nor compiled.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot....!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:22:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uart-interrupt/m-p/588468#M28151</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: uart interrupt</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uart-interrupt/m-p/588469#M28152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vasanth on Tue Dec 11 00:38:40 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;@researchinnovation, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; There is no research nor innovation in this type of questions. It is a plain old 'C' concept called as preprocessor directives. A simple search in your C book might have provided you the answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please use the expertise available here (forum) for discussing complex topics and problems.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:22:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uart-interrupt/m-p/588469#M28152</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: uart interrupt</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uart-interrupt/m-p/588470#M28153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by researchinnovation on Tue Dec 11 02:55:19 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: vasanth&lt;/STRONG&gt;&lt;BR /&gt;@researchinnovation, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; There is no research nor innovation in this type of questions. It is a plain old 'C' concept called as preprocessor directives. A simple search in your C book might have provided you the answer.&lt;BR /&gt;&lt;BR /&gt;Please use the expertise available here (forum) for discussing complex topics and problems.&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;@Vasanth&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And you please do not waste your time like this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Go and&amp;nbsp; do Eureka instead of wasting your own precious time here.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:22:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uart-interrupt/m-p/588470#M28153</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:22:02Z</dc:date>
    </item>
  </channel>
</rss>

