<?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中的主题 GPIO interrupt registers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-interrupt-registers/m-p/551868#M14267</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Divya on Tue Oct 22 22:29:27 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;In LPC43XX, among GPIO interrupt registers there are three registers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1.ENAF (Pin interrupt active level (falling edge) interrupt enable register)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.SETENAF (Pin interrupt active level (falling edge interrupt) set register)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3.CENAF (Pin interrupt active level (falling edge interrupt) clear register)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am unable to differentiate between the operation of ENAF and SETENAF when both are 1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And also when ENAF is 0 and CENAF is 1. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And I am also unclear about the exact functionality of the above registers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone could explain me with an example it would be helpful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:37:36 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:37:36Z</dc:date>
    <item>
      <title>GPIO interrupt registers</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-interrupt-registers/m-p/551868#M14267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Divya on Tue Oct 22 22:29:27 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;In LPC43XX, among GPIO interrupt registers there are three registers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1.ENAF (Pin interrupt active level (falling edge) interrupt enable register)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.SETENAF (Pin interrupt active level (falling edge interrupt) set register)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3.CENAF (Pin interrupt active level (falling edge interrupt) clear register)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am unable to differentiate between the operation of ENAF and SETENAF when both are 1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And also when ENAF is 0 and CENAF is 1. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And I am also unclear about the exact functionality of the above registers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone could explain me with an example it would be helpful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:37:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-interrupt-registers/m-p/551868#M14267</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO interrupt registers</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-interrupt-registers/m-p/551869#M14268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Thu Oct 24 02:40:13 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to think of writing to SETENAF and CENAF as issuing a command, not as writing data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The command is to set or clear certain bits in ENAF, respectively (and leaving the other bits unchanged).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:37:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-interrupt-registers/m-p/551869#M14268</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO interrupt registers</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-interrupt-registers/m-p/551870#M14269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Divya on Thu Oct 24 03:47:34 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, on setting or clearing those values we are issuing commend.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I am not getting what is the use of 3 different registers for issuing the same type of command?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please correct me if my question is wrong...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:37:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-interrupt-registers/m-p/551870#M14269</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO interrupt registers</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-interrupt-registers/m-p/551871#M14270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Thu Oct 24 04:54:00 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Writing to SETENAF or CLENAF is a single atomic operation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you had only ENAF you would need to read the value, modify it and write the modified value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If an interrupt happens in the middle and also modifies it that modification would be overwritten.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This can cause very nasty and hard to find bugs that only happen sporadically.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:37:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-interrupt-registers/m-p/551871#M14270</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:37:38Z</dc:date>
    </item>
  </channel>
</rss>

