<?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>topic Interrupt on LPC812 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Interrupt-on-LPC812/m-p/669825#M26792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A few months ago, I used to set an interrupt on pin 0.13 with the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LPC_SYSCON-&amp;gt;PINTSEL[0] = (uint32_t) 0;&lt;BR /&gt; GPIOSetDir(0, 13, 0);&lt;BR /&gt; LPC_PIN_INT-&amp;gt;ISEL &amp;amp;= ~((1 &amp;lt;&amp;lt; 13) | (~0xff));&lt;BR /&gt; LPC_PIN_INT-&amp;gt;SIENF = 1;&lt;BR /&gt; NVIC_EnableIRQ(PININT0_IRQn);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and even though I have not changed any parts of the code since then, I find it impossible to enter the ISR even though a breakpoint is placed inside the routine.&lt;BR /&gt;&lt;BR /&gt;Could you please let me know whether I am missing something in this case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Aug 2017 10:17:18 GMT</pubDate>
    <dc:creator>theodorosveryki</dc:creator>
    <dc:date>2017-08-08T10:17:18Z</dc:date>
    <item>
      <title>Interrupt on LPC812</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Interrupt-on-LPC812/m-p/669825#M26792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A few months ago, I used to set an interrupt on pin 0.13 with the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LPC_SYSCON-&amp;gt;PINTSEL[0] = (uint32_t) 0;&lt;BR /&gt; GPIOSetDir(0, 13, 0);&lt;BR /&gt; LPC_PIN_INT-&amp;gt;ISEL &amp;amp;= ~((1 &amp;lt;&amp;lt; 13) | (~0xff));&lt;BR /&gt; LPC_PIN_INT-&amp;gt;SIENF = 1;&lt;BR /&gt; NVIC_EnableIRQ(PININT0_IRQn);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and even though I have not changed any parts of the code since then, I find it impossible to enter the ISR even though a breakpoint is placed inside the routine.&lt;BR /&gt;&lt;BR /&gt;Could you please let me know whether I am missing something in this case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 10:17:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Interrupt-on-LPC812/m-p/669825#M26792</guid>
      <dc:creator>theodorosveryki</dc:creator>
      <dc:date>2017-08-08T10:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupt on LPC812</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Interrupt-on-LPC812/m-p/669826#M26793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Theodoros Verykios,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have attached a project, which already contains the pio0_13 pin interrupt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I find your code:&lt;/P&gt;&lt;P&gt;&amp;nbsp; LPC_SYSCON-&amp;gt;PINTSEL[0] = (uint32_t) 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; It should be:&lt;/P&gt;&lt;P&gt;LPC_SYSCON-&amp;gt;PINTSEL[0] = (uint32_t) 13;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; More details, please check my attached code.&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 question, after you check it, please let me know!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 06:01:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Interrupt-on-LPC812/m-p/669826#M26793</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-08-09T06:01:37Z</dc:date>
    </item>
  </channel>
</rss>

