<?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>Kinetis Microcontrollers中的主题 Re: GPIO Interrupt in K40Dx256(Tower Module) using ProcessorExpert</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/GPIO-Interrupt-in-K40Dx256-Tower-Module-using-ProcessorExpert/m-p/433366#M25166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your answer. Really Its working .I have tested. :):):):)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Keerthana. S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Aug 2015 10:17:41 GMT</pubDate>
    <dc:creator>keerthanas</dc:creator>
    <dc:date>2015-08-13T10:17:41Z</dc:date>
    <item>
      <title>GPIO Interrupt in K40Dx256(Tower Module) using ProcessorExpert</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/GPIO-Interrupt-in-K40Dx256-Tower-Module-using-ProcessorExpert/m-p/433364#M25164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to use the switch SW1 in K40DX256 tower module. I added the components Init_GPIO and InterruptVector for using PTC5 (SW1 - PTC5). My Init_GPIO Configurations are:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Image_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/53634i8E4C8F64F350348F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Image_3.png" alt="Image_3.png" /&gt;&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="Image_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/53678i4E56165609120572/image-size/large?v=v2&amp;amp;px=999" role="button" title="Image_5.png" alt="Image_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For InterruptVector Module , It will show an error like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Image_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/53720i41CF7BF61EA9B525/image-size/large?v=v2&amp;amp;px=999" role="button" title="Image_6.png" alt="Image_6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;how to debug this error or if there is any other configurations to use the switch. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 06:58:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/GPIO-Interrupt-in-K40Dx256-Tower-Module-using-ProcessorExpert/m-p/433364#M25164</guid>
      <dc:creator>keerthanas</dc:creator>
      <dc:date>2015-08-12T06:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO Interrupt in K40Dx256(Tower Module) using ProcessorExpert</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/GPIO-Interrupt-in-K40Dx256-Tower-Module-using-ProcessorExpert/m-p/433365#M25165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keerthana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use your Interrupt for PORTC without using InterruptVector component, I attached a simple project where I toggle on-board LED when pressing SW3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you could see, you need to configure all interrupt settings in your GPIO component:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="ConfigureInterrupt.jpg"&gt;&lt;IMG alt="ConfigureInterrupt.jpg" src="https://community.nxp.com/t5/image/serverpage/image-id/52574i04E8046536BFA8E5/image-size/large?v=v2&amp;amp;px=999" title="ConfigureInterrupt.jpg" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And then populate your ISR function in order to attend your interrupt service request.&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="_jivemacro_uid_14394097903523040 jive_macro_code jive_text_macro" data-renderedposition="477_8_1232_96" jivemacro_uid="_14394097903523040" modifiedtitle="true"&gt;&lt;P&gt;void PORTC_ISR(void) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (PORT_PDD_GetPinInterruptFlag(PTC_PORT_DEVICE,5)) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORT_PDD_ClearPinInterruptFlag(PTC_PORT_DEVICE,5);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GPIO_PDD_TogglePortDataOutputMask(PTC_DEVICE,1 &amp;lt;&amp;lt; 7);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this can help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Isaac Avila&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 13:20:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/GPIO-Interrupt-in-K40Dx256-Tower-Module-using-ProcessorExpert/m-p/433365#M25165</guid>
      <dc:creator>isaacavila</dc:creator>
      <dc:date>2020-11-02T13:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO Interrupt in K40Dx256(Tower Module) using ProcessorExpert</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/GPIO-Interrupt-in-K40Dx256-Tower-Module-using-ProcessorExpert/m-p/433366#M25166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your answer. Really Its working .I have tested. :):):):)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Keerthana. S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 10:17:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/GPIO-Interrupt-in-K40Dx256-Tower-Module-using-ProcessorExpert/m-p/433366#M25166</guid>
      <dc:creator>keerthanas</dc:creator>
      <dc:date>2015-08-13T10:17:41Z</dc:date>
    </item>
  </channel>
</rss>

