<?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 Software interrupt trigger source in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Software-interrupt-trigger-source/m-p/134680#M772</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Dear All, &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have developed (C program) the software interrupt ISR routine, I mapped with Level 0 evrything is fine. I want to invoke this ISR in different places of my software under certain conditions. I am thinking that, &amp;nbsp;there should be a special way to invoke this interrupt. Instead of calling that function. Like IAR (Interrupt Assert register)&amp;nbsp;register is there for testing interrupts. In case of Keil IDE TRAP functions with trap number is used &amp;nbsp;to invoke software interrupt. Likewise what instruction that will invoke my ISR , wherever i want to execute. Or i can simply call that function wherever i want.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Moreover, #pragma interrupt preprocessor directive usage or functionality.&lt;/DIV&gt;&lt;DIV&gt;What is the difference of difining of the follwoing:&lt;BR /&gt;#pragma interrupt called&lt;BR /&gt;#pragma interrupt&lt;BR /&gt;static void unhandledInterrupt(void);&lt;/DIV&gt;&lt;DIV&gt;#define INT_VECTOR_ADDR_17&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mcu_lossOfClockInterrupt&lt;BR /&gt;void Mcu_lossOfClockInterrupt(void);&lt;/DIV&gt;&lt;DIV&gt;#define INT_VECTOR_ADDR_16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sTaskController_manageContext&lt;BR /&gt;void INT_VECTOR_ADDR_16 ( void );&lt;/DIV&gt;&lt;DIV&gt;#pragma interrupt off&lt;/DIV&gt;&lt;DIV&gt;#pragma interrupt saveall&lt;BR /&gt;&amp;nbsp;void sTaskController_manageContext(void)&lt;BR /&gt;{.............}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;/* I beleive this is an software generated interrupt, I want to invoke this interrupt under certain conditions in various places of my code*/&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Thanks in advance.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Oct 2006 18:37:36 GMT</pubDate>
    <dc:creator>Ram_</dc:creator>
    <dc:date>2006-10-30T18:37:36Z</dc:date>
    <item>
      <title>Software interrupt trigger source</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Software-interrupt-trigger-source/m-p/134680#M772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Dear All, &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have developed (C program) the software interrupt ISR routine, I mapped with Level 0 evrything is fine. I want to invoke this ISR in different places of my software under certain conditions. I am thinking that, &amp;nbsp;there should be a special way to invoke this interrupt. Instead of calling that function. Like IAR (Interrupt Assert register)&amp;nbsp;register is there for testing interrupts. In case of Keil IDE TRAP functions with trap number is used &amp;nbsp;to invoke software interrupt. Likewise what instruction that will invoke my ISR , wherever i want to execute. Or i can simply call that function wherever i want.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Moreover, #pragma interrupt preprocessor directive usage or functionality.&lt;/DIV&gt;&lt;DIV&gt;What is the difference of difining of the follwoing:&lt;BR /&gt;#pragma interrupt called&lt;BR /&gt;#pragma interrupt&lt;BR /&gt;static void unhandledInterrupt(void);&lt;/DIV&gt;&lt;DIV&gt;#define INT_VECTOR_ADDR_17&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mcu_lossOfClockInterrupt&lt;BR /&gt;void Mcu_lossOfClockInterrupt(void);&lt;/DIV&gt;&lt;DIV&gt;#define INT_VECTOR_ADDR_16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sTaskController_manageContext&lt;BR /&gt;void INT_VECTOR_ADDR_16 ( void );&lt;/DIV&gt;&lt;DIV&gt;#pragma interrupt off&lt;/DIV&gt;&lt;DIV&gt;#pragma interrupt saveall&lt;BR /&gt;&amp;nbsp;void sTaskController_manageContext(void)&lt;BR /&gt;{.............}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;/* I beleive this is an software generated interrupt, I want to invoke this interrupt under certain conditions in various places of my code*/&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Thanks in advance.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 18:37:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Software-interrupt-trigger-source/m-p/134680#M772</guid>
      <dc:creator>Ram_</dc:creator>
      <dc:date>2006-10-30T18:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Software interrupt trigger source</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Software-interrupt-trigger-source/m-p/134681#M773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Which CPU are you targeting?&lt;/DIV&gt;&lt;DIV&gt;Software interrupt implementation depends on the CPU. So I need to know your target to answer that question.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 22:45:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Software-interrupt-trigger-source/m-p/134681#M773</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-10-30T22:45:49Z</dc:date>
    </item>
  </channel>
</rss>

