<?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>S32KのトピックRe: GPIO Interrupt Handler</title>
    <link>https://community.nxp.com/t5/S32K/GPIO-Interrupt-Handler/m-p/1802556#M31478</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;DIV&gt;could you please describe your intention in more details, maybe share piece of code you have?&lt;/DIV&gt;&lt;DIV&gt;Also what S32K1 device and RTD version is used in fact?&lt;/DIV&gt;&lt;DIV&gt;You should be able to read pin status/level at any time using Gpio_Dio_Ip_ReadPin function.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;BR, Petr&lt;/DIV&gt;</description>
    <pubDate>Tue, 06 Feb 2024 09:48:43 GMT</pubDate>
    <dc:creator>PetrS</dc:creator>
    <dc:date>2024-02-06T09:48:43Z</dc:date>
    <item>
      <title>GPIO Interrupt Handler</title>
      <link>https://community.nxp.com/t5/S32K/GPIO-Interrupt-Handler/m-p/1801857#M31447</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I configured a GPIO as an interrupt and wrote a callback function for this GPIO.&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the end of the callback function, interrupt flag is cleared. Inside this callback function, a task is notified. Before jumping to the task, interrupt flag is cleared at the the end of the callback function.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I use this GPIO's status (HIGH, LOW) in order to read some registers in the task. Because I clear interrupt, I am not able to read this pin as HIGH. Operating system is FreeRTOS. That's why, I can not put this read operation inside Callback function because I use SPI_send function in this read operation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I make read operation without clearing the interrupt flag?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 11:50:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/GPIO-Interrupt-Handler/m-p/1801857#M31447</guid>
      <dc:creator>kesanli_cinci</dc:creator>
      <dc:date>2024-02-05T11:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO Interrupt Handler</title>
      <link>https://community.nxp.com/t5/S32K/GPIO-Interrupt-Handler/m-p/1802556#M31478</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;DIV&gt;could you please describe your intention in more details, maybe share piece of code you have?&lt;/DIV&gt;&lt;DIV&gt;Also what S32K1 device and RTD version is used in fact?&lt;/DIV&gt;&lt;DIV&gt;You should be able to read pin status/level at any time using Gpio_Dio_Ip_ReadPin function.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;BR, Petr&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Feb 2024 09:48:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/GPIO-Interrupt-Handler/m-p/1802556#M31478</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-02-06T09:48:43Z</dc:date>
    </item>
  </channel>
</rss>

