<?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: Multiple Interrupts on 1 GPIO Pin in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Interrupts-on-1-GPIO-Pin/m-p/567012#M17439</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by HCTEK on Tue Feb 24 02:25:19 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes ;).&amp;nbsp; For GPIO, the FALL and RISE registers tells what you need. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you start to test your micro, go to the LPCOpen examples to see how to use and configure GPIO. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 20:08:05 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T20:08:05Z</dc:date>
    <item>
      <title>Multiple Interrupts on 1 GPIO Pin</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Interrupts-on-1-GPIO-Pin/m-p/567009#M17436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bilgehanparay on Tue Feb 24 01:46:25 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to assign two interrupts, rising and falling edge, to one pin. The manual says:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Edge-sensitive interrupt pins can interrupt on rising or falling edges or both." (UM10601.pdf)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Continuing to read the manual, I see different registers enable rising and falling edge interrupts. (IENR, IENF,SETENRL,SIENF etc.). So I can(?) enable both of them and &lt;/SPAN&gt;&lt;STRONG&gt;have different IRQs&lt;/STRONG&gt;&lt;SPAN&gt; in my code for each interrupt source.(right ?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't have the mcu so I can't try and see it but I have to make a design choice based on this. Any help is appreciated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;note:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC812M101JDH20FP is the mcu I'm planning to use.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;bilge&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:08:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Interrupts-on-1-GPIO-Pin/m-p/567009#M17436</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Interrupts on 1 GPIO Pin</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Interrupts-on-1-GPIO-Pin/m-p/567010#M17437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by HCTEK on Tue Feb 24 01:59:42 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;from my experience you need to use the same IRQ for that interrupt and differentiate which situation fired that interrupt.&amp;nbsp; As example, there are one IRQ for DMA and you need to know which channel was interrupted. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:08:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Interrupts-on-1-GPIO-Pin/m-p/567010#M17437</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Interrupts on 1 GPIO Pin</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Interrupts-on-1-GPIO-Pin/m-p/567011#M17438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bilgehanparay on Tue Feb 24 02:04:19 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you, yes I have seen it now from the manual. I have one IRQ for one pin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looks like there are two registers, FALL and RISE, to identify which interrupt source was fired(rising or falling). So I should be able to check these register in my IRQ handler function to decide if it was rising or falling edge. (right?)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:08:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Interrupts-on-1-GPIO-Pin/m-p/567011#M17438</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Interrupts on 1 GPIO Pin</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Interrupts-on-1-GPIO-Pin/m-p/567012#M17439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by HCTEK on Tue Feb 24 02:25:19 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes ;).&amp;nbsp; For GPIO, the FALL and RISE registers tells what you need. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you start to test your micro, go to the LPCOpen examples to see how to use and configure GPIO. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:08:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Interrupts-on-1-GPIO-Pin/m-p/567012#M17439</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:08:05Z</dc:date>
    </item>
  </channel>
</rss>

