<?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>Kinetis Microcontrollers中的主题 Interrupt numbers (Vector vs IRQ)</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Interrupt-numbers-Vector-vs-IRQ/m-p/183783#M1876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hey,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am working with the&amp;nbsp;MK60N512VMD100.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I have a question about the Interrupt enumerations. In&amp;nbsp;the header,&amp;nbsp;MK60N512VMD100.h I notice that the PIT channels have iterrupt numbers 84, 85, 86 and 87.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*! Interrupt Number Definitions */&lt;BR /&gt;typedef enum {&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;INT_PIT0 = 84, /*!&amp;lt; PIT timer channel 0 interrupt */&lt;BR /&gt;INT_PIT1 = 85, /*!&amp;lt; PIT timer channel 1 interrupt */&lt;BR /&gt;INT_PIT2 = 86, /*!&amp;lt; PIT timer channel 2 interrupt */&lt;BR /&gt;INT_PIT3 = 87, /*!&amp;lt; PIT timer channel 3 interrupt */&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Which also correspond to the interrupt vector&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;static __declspec(vectortable) tVectorTable __vect_table = {&amp;nbsp;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;(tIsrFunc)&amp;amp;isrINT_PIT0, /* 84 (0x00000150) (prior: 0) */&lt;BR /&gt;(tIsrFunc)&amp;amp;isrINT_PIT1, /* 85 (0x00000154) (prior: 0) */&lt;BR /&gt;(tIsrFunc)&amp;amp;isrINT_PIT2, /* 86 (0x00000158) (prior: 0) */&lt;BR /&gt;(tIsrFunc)&amp;amp;isrINT_PIT3, /* 87 (0x0000015C) (prior: 0) */&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;However, the "numbers" used&amp;nbsp;to set the interrupt priorites are different. (Here I used the&amp;nbsp;help tool in Code Warrior (Device Init.)&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* Common initialization of the CPU registers */&lt;BR /&gt;/* NVICIP68: PRI68=0 */&lt;BR /&gt;NVICIP68 = (uint8_t)0x00U;&lt;BR /&gt;/* NVICIP69: PRI69=0 */&lt;BR /&gt;NVICIP69 = (uint8_t)0x00U;&lt;BR /&gt;/* NVICIP70: PRI70=0 */&lt;BR /&gt;NVICIP70 = (uint8_t)0x00U;&lt;BR /&gt;/* NVICIP71: PRI71=0 */&lt;BR /&gt;NVICIP71 = (uint8_t)0x00U;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It might be that I am missing something obvious here. But how does 68, 69, 70 and 71 correspond to&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;84, 85, 86 and 87. To me it seems like there is a 16 number offset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Grateful for any help,&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Nov 2011 19:26:27 GMT</pubDate>
    <dc:creator>nijo</dc:creator>
    <dc:date>2011-11-17T19:26:27Z</dc:date>
    <item>
      <title>Interrupt numbers (Vector vs IRQ)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Interrupt-numbers-Vector-vs-IRQ/m-p/183783#M1876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hey,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am working with the&amp;nbsp;MK60N512VMD100.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I have a question about the Interrupt enumerations. In&amp;nbsp;the header,&amp;nbsp;MK60N512VMD100.h I notice that the PIT channels have iterrupt numbers 84, 85, 86 and 87.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*! Interrupt Number Definitions */&lt;BR /&gt;typedef enum {&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;INT_PIT0 = 84, /*!&amp;lt; PIT timer channel 0 interrupt */&lt;BR /&gt;INT_PIT1 = 85, /*!&amp;lt; PIT timer channel 1 interrupt */&lt;BR /&gt;INT_PIT2 = 86, /*!&amp;lt; PIT timer channel 2 interrupt */&lt;BR /&gt;INT_PIT3 = 87, /*!&amp;lt; PIT timer channel 3 interrupt */&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Which also correspond to the interrupt vector&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;static __declspec(vectortable) tVectorTable __vect_table = {&amp;nbsp;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;(tIsrFunc)&amp;amp;isrINT_PIT0, /* 84 (0x00000150) (prior: 0) */&lt;BR /&gt;(tIsrFunc)&amp;amp;isrINT_PIT1, /* 85 (0x00000154) (prior: 0) */&lt;BR /&gt;(tIsrFunc)&amp;amp;isrINT_PIT2, /* 86 (0x00000158) (prior: 0) */&lt;BR /&gt;(tIsrFunc)&amp;amp;isrINT_PIT3, /* 87 (0x0000015C) (prior: 0) */&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;However, the "numbers" used&amp;nbsp;to set the interrupt priorites are different. (Here I used the&amp;nbsp;help tool in Code Warrior (Device Init.)&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* Common initialization of the CPU registers */&lt;BR /&gt;/* NVICIP68: PRI68=0 */&lt;BR /&gt;NVICIP68 = (uint8_t)0x00U;&lt;BR /&gt;/* NVICIP69: PRI69=0 */&lt;BR /&gt;NVICIP69 = (uint8_t)0x00U;&lt;BR /&gt;/* NVICIP70: PRI70=0 */&lt;BR /&gt;NVICIP70 = (uint8_t)0x00U;&lt;BR /&gt;/* NVICIP71: PRI71=0 */&lt;BR /&gt;NVICIP71 = (uint8_t)0x00U;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It might be that I am missing something obvious here. But how does 68, 69, 70 and 71 correspond to&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;84, 85, 86 and 87. To me it seems like there is a 16 number offset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Grateful for any help,&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 19:26:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Interrupt-numbers-Vector-vs-IRQ/m-p/183783#M1876</guid>
      <dc:creator>nijo</dc:creator>
      <dc:date>2011-11-17T19:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupt numbers</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Interrupt-numbers-Vector-vs-IRQ/m-p/183784#M1877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After checking the manual it seems there is an offset between the Vector and the IRQ that stems from the seperation between ARM core system handels and the non-core system handlers. This correspond exacly to my problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached for clearification.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 19:43:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Interrupt-numbers-Vector-vs-IRQ/m-p/183784#M1877</guid>
      <dc:creator>nijo</dc:creator>
      <dc:date>2011-11-17T19:43:46Z</dc:date>
    </item>
  </channel>
</rss>

