<?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: LPC54102 - Read State of Input Pin Configured for Input Capture in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-Read-State-of-Input-Pin-Configured-for-Input-Capture/m-p/1573996#M51087</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Even if you configure the PIO1_5 as FUNC 3 with IOCON-&amp;gt;PIO[1][5]|=3; I still think you can read the GPIO input register to get the pin current logic.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;That is precisely what I hoped was the case. Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Dec 2022 03:36:26 GMT</pubDate>
    <dc:creator>BTaylor</dc:creator>
    <dc:date>2022-12-23T03:36:26Z</dc:date>
    <item>
      <title>LPC54102 - Read State of Input Pin Configured for Input Capture</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-Read-State-of-Input-Pin-Configured-for-Input-Capture/m-p/1573866#M51082</link>
      <description>&lt;P&gt;I have a pin on the LPC54102 configured as a capture input for one of the standard counter/timers (CT32Bx). Further, I have things configured such that the Capture Register is loaded - and an interrupt is generated - on both a rising edge and a falling edge for the pin.&lt;/P&gt;&lt;P&gt;When an interrupt is generated for a capture event, how can I determine whether or not the event was a 'rising edge' event or a 'falling edge' event?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 18:59:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-Read-State-of-Input-Pin-Configured-for-Input-Capture/m-p/1573866#M51082</guid>
      <dc:creator>BTaylor</dc:creator>
      <dc:date>2022-12-22T18:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54102 - Read State of Input Pin Configured for Input Capture</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-Read-State-of-Input-Pin-Configured-for-Input-Capture/m-p/1573979#M51086</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Assume that you use the PIO1_5 pin as FUNC 3, which functions as CT32B1_CAP0, in the&amp;nbsp; ISR of capture event of CT32B1, you can read the GPIO-&amp;gt;PIN[1] and check bit 5 for example&lt;/P&gt;
&lt;P&gt;bool flag;&lt;/P&gt;
&lt;P&gt;flag=GPIO-&amp;gt;PIN[1]&amp;amp;0x20;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even if you configure the PIO1_5 as FUNC 3 with IOCON-&amp;gt;PIO[1][5]|=3; I still think you can read the GPIO input register to get the pin current logic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1671763250351.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205319i609C5A220534B317/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1671763250351.png" alt="xiangjun_rong_0-1671763250351.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 02:55:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-Read-State-of-Input-Pin-Configured-for-Input-Capture/m-p/1573979#M51086</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-12-23T02:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54102 - Read State of Input Pin Configured for Input Capture</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-Read-State-of-Input-Pin-Configured-for-Input-Capture/m-p/1573996#M51087</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Even if you configure the PIO1_5 as FUNC 3 with IOCON-&amp;gt;PIO[1][5]|=3; I still think you can read the GPIO input register to get the pin current logic.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;That is precisely what I hoped was the case. Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 03:36:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-Read-State-of-Input-Pin-Configured-for-Input-Capture/m-p/1573996#M51087</guid>
      <dc:creator>BTaylor</dc:creator>
      <dc:date>2022-12-23T03:36:26Z</dc:date>
    </item>
  </channel>
</rss>

