<?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: NXP IMXRT 1052 - Registering interrupt handler</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-IMXRT-1052-Registering-interrupt-handler/m-p/1069545#M41245</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I know this procedure of enabling and using the interrupt.&lt;/P&gt;&lt;P&gt;I want to know about registering the interrupt. Can you share the procedure about that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 09 Aug 2020 17:52:58 GMT</pubDate>
    <dc:creator>suhel_mulla</dc:creator>
    <dc:date>2020-08-09T17:52:58Z</dc:date>
    <item>
      <title>NXP IMXRT 1052 - Registering interrupt handler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-IMXRT-1052-Registering-interrupt-handler/m-p/1069543#M41243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have following queries regarding registering the interrupt handler on NXP i.MXRt 1052 processor -&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Which APIs are required to write code for registering an interrupt handler?&lt;/P&gt;&lt;P&gt;2. Is there any SDK example avaiable for that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2020 18:20:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-IMXRT-1052-Registering-interrupt-handler/m-p/1069543#M41243</guid>
      <dc:creator>suhel_mulla</dc:creator>
      <dc:date>2020-08-06T18:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: NXP IMXRT 1052 - Registering interrupt handler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-IMXRT-1052-Registering-interrupt-handler/m-p/1069544#M41244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-userid="361848" data-username="suhel.mulla@emerson.com" href="https://community.nxp.com/people/suhel.mulla@emerson.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;Suhel Mulla&lt;/A&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; About the interrupt handler register, you can refer to the SDK interrupt code.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; 1. Please download the SDK from this link:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;A class="link-titled" href="https://mcuxpresso.nxp.com/en/welcome" title="https://mcuxpresso.nxp.com/en/welcome"&gt;Welcome | MCUXpresso SDK Builder&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; 2. Take RT1050 SDK gpio interrupt as an example.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;\SDK_2.8.0_EVKB-IMXRT1050\boards\evkbimxrt1050\driver_examples\gpio\input_interrupt&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;From the startup_MIMXRT1052.s, you can find the real handler name:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/109736i24910FE6DC9E0258/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;Board.h, you can find:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;#define BOARD_USER_BUTTON_IRQ_HANDLER GPIO5_Combined_0_15_IRQHandler&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;gpio_input_interrupt.c&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;#define EXAMPLE_GPIO_IRQHandler BOARD_USER_BUTTON_IRQ_HANDLER&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;So, at last, you will find it is processing:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;void EXAMPLE_GPIO_IRQHandler(void)&lt;BR /&gt;{&lt;BR /&gt; /* clear the interrupt status */&lt;BR /&gt; GPIO_PortClearInterruptFlags(EXAMPLE_SW_GPIO, 1U &amp;lt;&amp;lt; EXAMPLE_SW_GPIO_PIN);&lt;BR /&gt; /* Change state of switch. */&lt;BR /&gt; g_InputSignal = true;&lt;BR /&gt; SDK_ISR_EXIT_BARRIER;&lt;BR /&gt;}&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;It finishes the interrupt handler register.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;BTW, you also need to enable the related IRQ:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;EnableIRQ(EXAMPLE_SW_IRQ);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;GPIO interrupt is just a simple example, you also can check other interrupt code in the SDK driver folder.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;Wish it helps you!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;If you still have questions about it, please kindy let me know.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Best Regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Kerry&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2020 03:07:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-IMXRT-1052-Registering-interrupt-handler/m-p/1069544#M41244</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-08-07T03:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: NXP IMXRT 1052 - Registering interrupt handler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-IMXRT-1052-Registering-interrupt-handler/m-p/1069545#M41245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I know this procedure of enabling and using the interrupt.&lt;/P&gt;&lt;P&gt;I want to know about registering the interrupt. Can you share the procedure about that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Aug 2020 17:52:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-IMXRT-1052-Registering-interrupt-handler/m-p/1069545#M41245</guid>
      <dc:creator>suhel_mulla</dc:creator>
      <dc:date>2020-08-09T17:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: NXP IMXRT 1052 - Registering interrupt handler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-IMXRT-1052-Registering-interrupt-handler/m-p/1069546#M41246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="361848" data-username="suhel.mulla@emerson.com" href="https://community.nxp.com/people/suhel.mulla@emerson.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: underline; font-size: 1.286rem;"&gt;Suhel Mulla&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Do you want to know to register the callback interrupt?&lt;/P&gt;&lt;P&gt;&amp;nbsp; I am not very clear about your issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you want to use the interrupt, you can use the interrupt handler in the .s file directly.&lt;/P&gt;&lt;P&gt;&amp;nbsp; but if you want to use the callback to register the handler, please refer to this SDK code:&lt;/P&gt;&lt;P&gt;SDK_2.8.0_EVKB-IMXRT1050\boards\evkbimxrt1050\driver_examples\qtmr\inputcapture_outputpwm_dma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edma_handle_t g_EDMA_Handle;&lt;/P&gt;&lt;P&gt;EDMA_CreateHandle(&amp;amp;g_EDMA_Handle, EXAMPLE_QTMR_DMA, 0);&lt;BR /&gt; EDMA_SetCallback(&amp;amp;g_EDMA_Handle, EDMA_Callback, NULL);&lt;/P&gt;&lt;P&gt;/* User callback function for EDMA transfer. */&lt;BR /&gt;void EDMA_Callback(edma_handle_t *handle, void *param, bool transferDone, uint32_t tcds)&lt;BR /&gt;{&lt;BR /&gt; if (transferDone)&lt;BR /&gt; {&lt;BR /&gt; g_Transfer_Done = true;&lt;BR /&gt; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;If you still have questions about it, please kindly let me know.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Best Regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Kerry&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2020 07:09:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-IMXRT-1052-Registering-interrupt-handler/m-p/1069546#M41246</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-08-10T07:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: NXP IMXRT 1052 - Registering interrupt handler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-IMXRT-1052-Registering-interrupt-handler/m-p/1069547#M41247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per you said, I will explain&amp;nbsp;my query in detail as below :&lt;/P&gt;&lt;P&gt;-&amp;gt; I am working on NXP i.MXRT 1050 EVK board.&lt;/P&gt;&lt;P&gt;-&amp;gt; I have configured &amp;nbsp;GPIO1.11 pin as external edge triggered interrupt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My queries are as below -&lt;/P&gt;&lt;P&gt;-&amp;gt; I want to know about how to&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;register the callback interrupt for external interrupt pin.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; I am in search of APIs similar to&amp;nbsp;the EDMA APIs you mentioned &lt;SPAN style="background-color: #ffffff; "&gt;but for my GPIO1.11 external interrupt pin.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Can you suggest the required APIs for it?&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2020 12:18:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-IMXRT-1052-Registering-interrupt-handler/m-p/1069547#M41247</guid>
      <dc:creator>suhel_mulla</dc:creator>
      <dc:date>2020-08-10T12:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: NXP IMXRT 1052 - Registering interrupt handler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-IMXRT-1052-Registering-interrupt-handler/m-p/1069548#M41248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-userid="361848" data-username="suhel.mulla@emerson.com" href="https://community.nxp.com/people/suhel.mulla@emerson.com" rel="nofollow noopener noreferrer" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: none; font-size: 1.286rem;" target="_blank"&gt;Suhel Mulla&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Thanks for your confirmation.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Please check the gpio.h and igpio_adapter.cin the SDK folder:SDK_2.8.0_EVKB-IMXRT1050\components\gpio&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;You will find the gpio call back API functions.&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;   &lt;SPAN class="comment token"&gt;/*!
* @brief Installs a callback and callback parameter.
*
* This function is used to install the callback and callback parameter for GPIO module.
* When the pin state interrupt happened, the driver will notify the upper layer by the installed callback
* function. After the callback called, the GPIO pin state can be got by calling function #HAL_GpioGetInput.
*
* @param gpioHandle GPIO handle pointer.
* The handle should be 4 byte aligned, because unaligned access doesn't be supported on some devices.
* @param callback The callback function.
* @param callbackParam The parameter of the callback function.
* @retval kStatus_HAL_GpioSuccess Successfully install the callback.
*/&lt;/SPAN&gt;
hal_gpio_status_t &lt;SPAN class="token function"&gt;HAL_GpioInstallCallback&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;hal_gpio_handle_t gpioHandle&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
hal_gpio_callback_t callback&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;callbackParam&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;




hal_gpio_status_t &lt;SPAN class="token function"&gt;HAL_GpioInstallCallback&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;hal_gpio_handle_t gpioHandle&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
hal_gpio_callback_t callback&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;callbackParam&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
hal_gpio_state_t &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;gpioStateHandle&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="token function"&gt;assert&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;gpioHandle&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

gpioStateHandle &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;hal_gpio_state_t &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;gpioHandle&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

gpioStateHandle&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;callbackParam &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; callbackParam&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
gpioStateHandle&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;callback &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; callback&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; kStatus_HAL_GpioSuccess&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the related driver and the API description at first.&lt;/P&gt;&lt;P&gt;If you still have questions about it, please kindly let me know.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Best Regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Kerry&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2020 06:46:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-IMXRT-1052-Registering-interrupt-handler/m-p/1069548#M41248</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-08-11T06:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: NXP IMXRT 1052 - Registering interrupt handler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-IMXRT-1052-Registering-interrupt-handler/m-p/1069549#M41249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick reply.&amp;nbsp;Your reply solved many problems I had earlier.&lt;/P&gt;&lt;P&gt;These are the the same APIs which I was looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only doubt I have is&amp;nbsp;as below -&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Can you suggest any example in SDK where these APIs are used?&lt;/P&gt;&lt;P&gt;2. In which sequence these APIs should be called so that GPIO interrupt handler for port pin (GPIO 1.11 pin) is properly registered?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2020 12:32:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-IMXRT-1052-Registering-interrupt-handler/m-p/1069549#M41249</guid>
      <dc:creator>suhel_mulla</dc:creator>
      <dc:date>2020-08-11T12:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: NXP IMXRT 1052 - Registering interrupt handler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-IMXRT-1052-Registering-interrupt-handler/m-p/1069551#M41251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kerry,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I will have gone through the project you mentioned in your reply. It might be difficult for me to implement the technique used in USB example in my project.&lt;/P&gt;&lt;P&gt;Is there any project in SDK or somewhere else on internet (e.g. github etc.) in which&amp;nbsp;only a simple GPIO pin is&amp;nbsp;programmed as extarnal interrupt using interrupt registration method and no other extra functionality (like USB in above example) is provided?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2020 07:04:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-IMXRT-1052-Registering-interrupt-handler/m-p/1069551#M41251</guid>
      <dc:creator>suhel_mulla</dc:creator>
      <dc:date>2020-08-12T07:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: NXP IMXRT 1052 - Registering interrupt handler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-IMXRT-1052-Registering-interrupt-handler/m-p/1069552#M41252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="361848" data-username="suhel.mulla@emerson.com" href="https://community.nxp.com/people/suhel.mulla@emerson.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: underline; font-size: 1.286rem;"&gt;Suhel Mulla&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; I mean, you can refer to that project, just refer to the related GPIO code, learn how to use the API.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Then, you totally can copy it to the simple project, and register it.&lt;/P&gt;&lt;P&gt;&amp;nbsp; There no other project which can support this type HAL API.&lt;/P&gt;&lt;P&gt;&amp;nbsp; In fact, normally, the sample GPIO even don't need to use this type code, just use the GPIO ISR directly.&lt;/P&gt;&lt;P&gt;&amp;nbsp; But if you want to use it, you can refer to the USB code which have that API and give you the examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Wish it helps you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;If you still have questions about it, please kindly let me know.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Best Regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Kerry&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2020 07:21:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-IMXRT-1052-Registering-interrupt-handler/m-p/1069552#M41252</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-08-12T07:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: NXP IMXRT 1052 - Registering interrupt handler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-IMXRT-1052-Registering-interrupt-handler/m-p/1069553#M41253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I downloaded SDK &lt;A data-archive-access="True" data-no-sdk-example-info="" data-original-title="Download SDK archive and documentation" data-pk="279934" data-sdk-version="2.8.0" href="https://mcuxpresso.nxp.com/en/dashboard" style="color: #337ab7; background-color: transparent; text-decoration: none; font-size: 16px; margin-right: 6px;" tabindex="-1" title=""&gt;SDK_2.8.0_EVKB-IMXRT1050&lt;/A&gt;from the link you have mentioned. But it does not have&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;evkbimxrt1050_om13588 folder. So I can't acces the example you have mentioned.Do I need to add any component specifically&amp;nbsp;while building the SDK from the link?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2020 03:46:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-IMXRT-1052-Registering-interrupt-handler/m-p/1069553#M41253</guid>
      <dc:creator>suhel_mulla</dc:creator>
      <dc:date>2020-08-13T03:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: NXP IMXRT 1052 - Registering interrupt handler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-IMXRT-1052-Registering-interrupt-handler/m-p/1069554#M41254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="361848" data-username="suhel.mulla@emerson.com" href="https://community.nxp.com/people/suhel.mulla@emerson.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: none; font-size: 1.286rem;"&gt;Suhel Mulla&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; No, you download the wrong SDK, you need to download &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;SDK_2.8.0_EVKB-IMXRT1050-OM13588, it unders the Kit item, not the board, please check it again, it is not the controlled access, so you should can download it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/110182i81BED206FAEA221A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Wish it helps you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;If you still have questions about it, please kindly let me know.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Best Regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Kerry&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2020 04:09:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-IMXRT-1052-Registering-interrupt-handler/m-p/1069554#M41254</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-08-13T04:09:39Z</dc:date>
    </item>
  </channel>
</rss>

