<?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: LPC1343 interrupt not disabling</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1343-interrupt-not-disabling/m-p/525477#M8113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by caiomarcos on Wed Jul 17 11:44:17 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Just tried that, and no success.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:54:38 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:54:38Z</dc:date>
    <item>
      <title>LPC1343 interrupt not disabling</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1343-interrupt-not-disabling/m-p/525475#M8111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by caiomarcos on Mon Jul 15 20:44:24 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using pin 2.9 as an edge, low, interrupt input.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In one function I have to disable it, but that doesn't seem to be working. Even after using GPIOIntDisable( 2, 9); my code still calls the handler when the pin goes low.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The relevant parts:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
void PIOINT2_IRQHandler (void)
{
RF_interrupt_handler( );
GPIOIntClear( 2, 9 );//clear interrupt
}

int main(void)
{
GPIOInit( );
GPIOSetDir( 2, 9, 0 );
GPIOSetInterrupt( 2, 9, 0, 0, 0 ); 
GPIOIntEnable( 2, 9 );

...
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then somewhere else I call a function and in the beggining of it goes GPIOIntDisable( 2, 9); and in the end GPIOIntEnable( 2, 9);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Putting a break point in the RF_handler line stops the debugger when the interrupt is supposedly disabled. What am I missing?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:54:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1343-interrupt-not-disabling/m-p/525475#M8111</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1343 interrupt not disabling</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1343-interrupt-not-disabling/m-p/525476#M8112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by serge on Tue Jul 16 03:49:00 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Ever tried clearing the int just before disabling it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HTH&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:54:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1343-interrupt-not-disabling/m-p/525476#M8112</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1343 interrupt not disabling</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1343-interrupt-not-disabling/m-p/525477#M8113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by caiomarcos on Wed Jul 17 11:44:17 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Just tried that, and no success.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:54:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1343-interrupt-not-disabling/m-p/525477#M8113</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:54:38Z</dc:date>
    </item>
  </channel>
</rss>

