<?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 Re: How to write interrupt function in codewarrior10.7 in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-write-interrupt-function-in-codewarrior10-7/m-p/713069#M6339</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;What chip do you work with?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Oct 2017 08:34:34 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2017-10-24T08:34:34Z</dc:date>
    <item>
      <title>How to write interrupt function in codewarrior10.7</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-write-interrupt-function-in-codewarrior10-7/m-p/713068#M6338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Such as title&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 02:23:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-write-interrupt-function-in-codewarrior10-7/m-p/713068#M6338</guid>
      <dc:creator>weilong</dc:creator>
      <dc:date>2017-10-24T02:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to write interrupt function in codewarrior10.7</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-write-interrupt-function-in-codewarrior10-7/m-p/713069#M6339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;What chip do you work with?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 08:34:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-write-interrupt-function-in-codewarrior10-7/m-p/713069#M6339</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2017-10-24T08:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to write interrupt function in codewarrior10.7</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-write-interrupt-function-in-codewarrior10-7/m-p/713070#M6340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;9s12zvca192&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="IMG_20171123_142758.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/34175i8ACD4A6BC00E58BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="IMG_20171123_142758.jpg" alt="IMG_20171123_142758.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;???? What's wrong with that?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="IMG_20171123_142652.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/34361i346D4D87DD494989/image-size/large?v=v2&amp;amp;px=999" role="button" title="IMG_20171123_142652.jpg" alt="IMG_20171123_142652.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 06:39:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-write-interrupt-function-in-codewarrior10-7/m-p/713070#M6340</guid>
      <dc:creator>weilong</dc:creator>
      <dc:date>2017-11-23T06:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to write interrupt function in codewarrior10.7</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-write-interrupt-function-in-codewarrior10-7/m-p/713071#M6341</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;There is not only one way to implement interrupt.&lt;/P&gt;&lt;P&gt;the most commonly used way is : interrupt &amp;lt;vector_number&amp;gt; &amp;lt;function_name&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Vector number can be found in datasheet vector locations table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;I would suggest you refer tn101.pdf for how to implement interrupt. It also works for S12Z.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Count from bottom of the table for the “vector number”. &lt;SPAN style="font-size: 11.5pt;"&gt;the power on reset vector is vector number 0 (located at address 0), vector number 1 is located just after the vector 0 (at address 0x2) and so on. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt;"&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;ie Reset = 0 (address is &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;$FFFE&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Low Voltage Reset&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt;"&gt; = 1,&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;External pin RESET = 2 , ...... &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the keyword ‘interrupt’:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&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>Thu, 23 Nov 2017 08:14:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-write-interrupt-function-in-codewarrior10-7/m-p/713071#M6341</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2017-11-23T08:14:19Z</dc:date>
    </item>
  </channel>
</rss>

