<?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>8-bit Microcontrollers中的主题 Documentation on interrupt handling (MC1321x)</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Documentation-on-interrupt-handling-MC1321x/m-p/169155#M11164</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having difficulty handling interrupts in my MC13212 and I'd like a pointer to some document describing how to do it.&amp;nbsp; I tried to follow the help section of CodeWarrior, which seemed very helpful, but the codes does not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, it seems that to have a push button trigger a KBI event one needs to only enable the KBI functionality by setting KBISC and KBIPE appropriately and have the following to show that the interrupt happened:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;interrupt 22 void PB_interrupt(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //light led here that will stay lit to show that code executed&lt;/P&gt;&lt;P&gt;}&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying not to modify the prm file as I don't understand what it does.&amp;nbsp; Any pointer to documentation on that would also be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;drdr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Apr 2009 02:01:10 GMT</pubDate>
    <dc:creator>drdr</dc:creator>
    <dc:date>2009-04-03T02:01:10Z</dc:date>
    <item>
      <title>Documentation on interrupt handling (MC1321x)</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Documentation-on-interrupt-handling-MC1321x/m-p/169155#M11164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having difficulty handling interrupts in my MC13212 and I'd like a pointer to some document describing how to do it.&amp;nbsp; I tried to follow the help section of CodeWarrior, which seemed very helpful, but the codes does not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, it seems that to have a push button trigger a KBI event one needs to only enable the KBI functionality by setting KBISC and KBIPE appropriately and have the following to show that the interrupt happened:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;interrupt 22 void PB_interrupt(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //light led here that will stay lit to show that code executed&lt;/P&gt;&lt;P&gt;}&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying not to modify the prm file as I don't understand what it does.&amp;nbsp; Any pointer to documentation on that would also be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;drdr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 02:01:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Documentation-on-interrupt-handling-MC1321x/m-p/169155#M11164</guid>
      <dc:creator>drdr</dc:creator>
      <dc:date>2009-04-03T02:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Documentation on interrupt handling (MC1321x)</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Documentation-on-interrupt-handling-MC1321x/m-p/169156#M11165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Did you set up the vector addresses table so that there's a pointer to your &lt;EM&gt;PB_interrupt(void)&lt;/EM&gt; ?&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Apr 2009 13:09:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Documentation-on-interrupt-handling-MC1321x/m-p/169156#M11165</guid>
      <dc:creator>BV_BV</dc:creator>
      <dc:date>2009-04-04T13:09:50Z</dc:date>
    </item>
  </channel>
</rss>

