<?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: Could anyone tell me the sequence of operation to be followed in GPIO PIN interrupt in LPC1837 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Could-anyone-tell-me-the-sequence-of-operation-to-be-followed-in/m-p/644075#M25451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks A Lot !!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is very useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alagappan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Tue, Sep 27, 2016 at 12:09 PM, jeremyzhou &amp;lt;admin@community.freescale.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Sep 2016 11:43:10 GMT</pubDate>
    <dc:creator>ponalagappan</dc:creator>
    <dc:date>2016-09-27T11:43:10Z</dc:date>
    <item>
      <title>Could anyone tell me the sequence of operation to be followed in GPIO PIN interrupt in LPC1837</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Could-anyone-tell-me-the-sequence-of-operation-to-be-followed-in/m-p/644073#M25449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using LPC1837, i need to enable active low interrupt in individual GPIO PIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* enable GPIO port clock */&lt;/P&gt;&lt;P&gt;GPIO_PortClock(1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Set GPIO6[0] &amp;nbsp;pin and&amp;nbsp;GPIO6[2] as input */&lt;BR /&gt; GPIO_SetDir(6,0,GPIO_DIR_INPUT);&lt;BR /&gt; GPIO_SetDir(6,2,GPIO_DIR_INPUT);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* enable pin as GPIO Mode pin in pin multiplexing*/&lt;BR /&gt; SCU_PinConfigure(0xC,1,( SCU_CFG_MODE_FUNC4 | SCU_SFS_EPUN | SCU_SFS_ZIF ));&lt;/P&gt;&lt;P&gt;SCU_PinConfigure(0xC,3,( SCU_CFG_MODE_FUNC4 | SCU_SFS_EPUN | SCU_SFS_ZIF ));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* set values for PINTSEL0 to choose GPIO Port 6,pin no 0 on INTPIN0 */&lt;BR /&gt; SCU_PinInterruptSourceSelect(0x00, 0x06, 0x00);&lt;/P&gt;&lt;P&gt;/* set values for PINTSEL0 to choose GPIO Port 6,pin no 2&amp;nbsp;on INTPIN1 */&lt;BR /&gt; SCU_PinInterruptSourceSelect(0x01, 0x06, 0x02);&lt;/P&gt;&lt;P&gt;/* enable level interrupt */ &lt;BR /&gt; &lt;BR /&gt; LPC_GPIO_PIN_INT-&amp;gt;ISEL = (GPIO_PIN_INT_ISEL_PMODE0_Msk | &lt;BR /&gt; GPIO_PIN_INT_ISEL_PMODE1_Msk); &lt;BR /&gt; &lt;BR /&gt; /* enable level interrupt */ &lt;BR /&gt; &lt;BR /&gt; LPC_GPIO_PIN_INT-&amp;gt;IENR = (GPIO_PIN_INT_IENR_ENRL0_Msk |&lt;BR /&gt; GPIO_PIN_INT_IENR_ENRL1_Msk );&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; LPC_GPIO_PIN_INT-&amp;gt;SIENR = ( GPIO_PIN_INT_SIENR_SETENRL0_Msk |&lt;BR /&gt; GPIO_PIN_INT_SIENR_SETENRL1_Msk );&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; /* enable active LOW interrupt */&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; LPC_GPIO_PIN_INT-&amp;gt;IENF = 0x00UL;&lt;BR /&gt; &lt;BR /&gt; LPC_GPIO_PIN_INT-&amp;gt;CIENF = (GPIO_PIN_INT_CIENF_CENAF0_Msk |&lt;BR /&gt; GPIO_PIN_INT_CIENF_CENAF1_Msk ); &lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; /* enable active HIGH level interrupt */&lt;BR /&gt; &lt;BR /&gt; /*&lt;BR /&gt; LPC_GPIO_PIN_INT-&amp;gt;IENF = ( GPIO_PIN_INT_IENF_ENAF0_Msk |&lt;BR /&gt; GPIO_PIN_INT_IENF_ENAF1_Msk );&lt;/P&gt;&lt;P&gt;LPC_GPIO_PIN_INT-&amp;gt;SIENF = (GPIO_PIN_INT_SIENF_SETENAF0_Msk |&lt;BR /&gt; GPIO_PIN_INT_SIENF_SETENAF1_Msk );&lt;BR /&gt; &lt;BR /&gt; */&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt; // NVIC-&amp;gt;ICPR[(((uint32_t)(int32_t)33) &amp;gt;&amp;gt; 5UL)] = (uint32_t)(1UL &amp;lt;&amp;lt; (((uint32_t)(int32_t)33) &amp;amp; 0x1FUL));&lt;BR /&gt; &lt;BR /&gt; NVIC-&amp;gt;ISER[(((uint32_t)(int32_t)33) &amp;gt;&amp;gt; 5UL)] = (uint32_t)(1UL &amp;lt;&amp;lt; (((uint32_t)(int32_t)33) &amp;amp; 0x1FUL));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2016 05:49:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Could-anyone-tell-me-the-sequence-of-operation-to-be-followed-in/m-p/644073#M25449</guid>
      <dc:creator>ponalagappan</dc:creator>
      <dc:date>2016-09-23T05:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Could anyone tell me the sequence of operation to be followed in GPIO PIN interrupt in LPC1837</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Could-anyone-tell-me-the-sequence-of-operation-to-be-followed-in/m-p/644074#M25450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've already given the reply in the &lt;A href="https://community.nxp.com/thread/435207"&gt;GPIO PIN interrupt is not working in LPC 1837&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;Please have a check.&lt;/P&gt;&lt;P&gt;Ping&lt;BR /&gt;Have a great day,&lt;BR /&gt;(my name)&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>Tue, 27 Sep 2016 06:37:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Could-anyone-tell-me-the-sequence-of-operation-to-be-followed-in/m-p/644074#M25450</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2016-09-27T06:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Could anyone tell me the sequence of operation to be followed in GPIO PIN interrupt in LPC1837</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Could-anyone-tell-me-the-sequence-of-operation-to-be-followed-in/m-p/644075#M25451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks A Lot !!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is very useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alagappan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Tue, Sep 27, 2016 at 12:09 PM, jeremyzhou &amp;lt;admin@community.freescale.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 11:43:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Could-anyone-tell-me-the-sequence-of-operation-to-be-followed-in/m-p/644075#M25451</guid>
      <dc:creator>ponalagappan</dc:creator>
      <dc:date>2016-09-27T11:43:10Z</dc:date>
    </item>
  </channel>
</rss>

