<?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>LPC Microcontrollers中的主题 Re: How to get interrupted pin number with LPC54628</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-get-interrupted-pin-number-with-LPC54628/m-p/970235#M38407</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Alexis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding your suggestion, I thought the same but I do have some confusion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; color: #000000; "&gt;You could check the logic state of the pin to check which one is enabled. For this I will suggest to check the lpcxpresso54628_gpio_led_output from the SDK.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; color: #000000; "&gt;-&amp;gt;&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; Reading pin state on interrupt event in ISR how efficient is it? If Pin state can get changed before we read the state, cannot it be possible?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;If I am having used multiple pins configured as an interrupt with different logic level transition (high to low or low to high), would not it will be difficult to identify actual pin by reading their states.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Hope you will understand what I am trying to elaborate.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Rahul Patel.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Sep 2019 03:59:52 GMT</pubDate>
    <dc:creator>rahul_b_patel</dc:creator>
    <dc:date>2019-09-12T03:59:52Z</dc:date>
    <item>
      <title>How to get interrupted pin number with LPC54628</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-get-interrupted-pin-number-with-LPC54628/m-p/970233#M38405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With LPC54628, looking into GPIO interrupt functionality, found that only way to use GPIO as an interrupt is either GINT or PINT. And, it works only for port 0 and 1. Correct me if I am wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, as with PINT it is possible only 8 pins to use as pin interrupt at a time, I switched to GINT. I am able to get interrupt with port(port 0 for example), but could not able to get which pin (pin 5 of port 0 for example) of the port generating the interrupt. Checked into documents but could not found any status register to read pin which is interrupted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is it possible to get pin number which is being interrupted with GINT.? Or any other method which can be used for GPIO interrupt.?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2019 07:07:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-get-interrupted-pin-number-with-LPC54628/m-p/970233#M38405</guid>
      <dc:creator>rahul_b_patel</dc:creator>
      <dc:date>2019-09-10T07:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to get interrupted pin number with LPC54628</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-get-interrupted-pin-number-with-LPC54628/m-p/970234#M38406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try to answer your questions the best I can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff; background-color: #ffffff;"&gt;With LPC54628, looking into GPIO interrupt functionality, found that only way to use GPIO as an interrupt is either GINT or PINT. And, it works only for port 0 and 1. Correct me if I am wrong.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Yes, that's correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Is it possible to get pin number which is being interrupted with GINT.? Or any other method which can be used for GPIO interrupt.?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;You could check the logic state of the pin to check which one is enabled. For this I will suggest to check the lpcxpresso54628_gpio_led_output from the SDK.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;You can donwload the SDK from the following link:&amp;nbsp;&lt;A class="link-titled" href="https://mcuxpresso.nxp.com" title="https://mcuxpresso.nxp.com"&gt;Welcome | MCUXpresso SDK Builder&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Let me know if this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Alexis Andalon&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2019 21:46:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-get-interrupted-pin-number-with-LPC54628/m-p/970234#M38406</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2019-09-11T21:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to get interrupted pin number with LPC54628</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-get-interrupted-pin-number-with-LPC54628/m-p/970235#M38407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Alexis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding your suggestion, I thought the same but I do have some confusion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; color: #000000; "&gt;You could check the logic state of the pin to check which one is enabled. For this I will suggest to check the lpcxpresso54628_gpio_led_output from the SDK.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; color: #000000; "&gt;-&amp;gt;&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; Reading pin state on interrupt event in ISR how efficient is it? If Pin state can get changed before we read the state, cannot it be possible?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;If I am having used multiple pins configured as an interrupt with different logic level transition (high to low or low to high), would not it will be difficult to identify actual pin by reading their states.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Hope you will understand what I am trying to elaborate.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Rahul Patel.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2019 03:59:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-get-interrupted-pin-number-with-LPC54628/m-p/970235#M38407</guid>
      <dc:creator>rahul_b_patel</dc:creator>
      <dc:date>2019-09-12T03:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to get interrupted pin number with LPC54628</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-get-interrupted-pin-number-with-LPC54628/m-p/970236#M38408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Alexis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your suggestion works fine to identify the pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2019 05:29:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-get-interrupted-pin-number-with-LPC54628/m-p/970236#M38408</guid>
      <dc:creator>rahul_b_patel</dc:creator>
      <dc:date>2019-09-12T05:29:35Z</dc:date>
    </item>
  </channel>
</rss>

