<?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 Design Studio中的主题 Re: How to debounce switch on PE within KDS</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-debounce-switch-on-PE-within-KDS/m-p/430121#M3722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich, &lt;/P&gt;&lt;P&gt;Thanks for the attention. I am running on KDS. I didnt see some IRQ option on KDS though. The current biggest issue is that I don't&lt;/P&gt;&lt;P&gt;know how to enable and disable gpio interrupt by using PE template. Please let me know if there is more resources available. &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yaran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 May 2015 13:16:13 GMT</pubDate>
    <dc:creator>yarannan</dc:creator>
    <dc:date>2015-05-14T13:16:13Z</dc:date>
    <item>
      <title>How to debounce switch on PE within KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-debounce-switch-on-PE-within-KDS/m-p/430117#M3718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1. I am connecting a push button on one gpio pin. I am using high level component on Processor expert. I dont see there is an option that i can enable interrupt on.&lt;/P&gt;&lt;P&gt;-&amp;gt;In case someone need the info: In order to add interrupt of GPIO, it has to be added as component of 'ExtInt'. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. When i hold down switch really long time. The u Controller detect the states back and force (0,1,0,1...). How would i make sure this doesnt happen?&lt;/P&gt;&lt;P&gt;3. How do i set a threshold for a short key press? &lt;/P&gt;&lt;P&gt;So i still dont understand the logic of debounce below. My current thought would be capture the duration of interrupt, and compare it to a threshold time. However, &lt;/P&gt;&lt;P&gt;i am not confident about this idea. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yaran&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Message was edited by: Yaran Nan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 22:38:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-debounce-switch-on-PE-within-KDS/m-p/430117#M3718</guid>
      <dc:creator>yarannan</dc:creator>
      <dc:date>2015-05-13T22:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to debounce switch on PE within KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-debounce-switch-on-PE-within-KDS/m-p/430118#M3719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yaran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide the information bellow :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) The version of your KDS;&lt;/P&gt;&lt;P&gt;2) Which chip;&lt;/P&gt;&lt;P&gt;3) Which gpio component of PE, please screenhort ,thank !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 01:53:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-debounce-switch-on-PE-within-KDS/m-p/430118#M3719</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-05-14T01:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to debounce switch on PE within KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-debounce-switch-on-PE-within-KDS/m-p/430119#M3720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yaran,&lt;/P&gt;&lt;P&gt;if you are not using the Kinetis SDK, then there is an open source component which does all the button press handling, with/without interrupts and configurable debouncing (short/long keypress). This project is using it: &lt;A href="http://mcuoneclipse.com/2014/04/27/joystick-shield-with-the-frdm-board/" title="http://mcuoneclipse.com/2014/04/27/joystick-shield-with-the-frdm-board/"&gt;JoyStick Shield with the FRDM Board | MCU on Eclipse&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 04:25:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-debounce-switch-on-PE-within-KDS/m-p/430119#M3720</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-05-14T04:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to debounce switch on PE within KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-debounce-switch-on-PE-within-KDS/m-p/430120#M3721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;1) KDS 2.0 haven't update yet&lt;/P&gt;&lt;P&gt;2) MK20DX256VLL10&lt;/P&gt;&lt;P&gt;3) I used BitIO (PTE4) and Init_GPIO component&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yaran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 13:13:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-debounce-switch-on-PE-within-KDS/m-p/430120#M3721</guid>
      <dc:creator>yarannan</dc:creator>
      <dc:date>2015-05-14T13:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to debounce switch on PE within KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-debounce-switch-on-PE-within-KDS/m-p/430121#M3722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich, &lt;/P&gt;&lt;P&gt;Thanks for the attention. I am running on KDS. I didnt see some IRQ option on KDS though. The current biggest issue is that I don't&lt;/P&gt;&lt;P&gt;know how to enable and disable gpio interrupt by using PE template. Please let me know if there is more resources available. &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yaran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 13:16:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-debounce-switch-on-PE-within-KDS/m-p/430121#M3722</guid>
      <dc:creator>yarannan</dc:creator>
      <dc:date>2015-05-14T13:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to debounce switch on PE within KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-debounce-switch-on-PE-within-KDS/m-p/430122#M3723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Erich,&lt;/P&gt;&lt;P&gt;I figured out how to disable and enable interrupt on KDS now. Thanks for the link above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yaran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 13:47:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-debounce-switch-on-PE-within-KDS/m-p/430122#M3723</guid>
      <dc:creator>yarannan</dc:creator>
      <dc:date>2015-05-14T13:47:56Z</dc:date>
    </item>
  </channel>
</rss>

