<?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>LPCXpresso IDE中的主题 LPC15 IPR Confusion</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC15-IPR-Confusion/m-p/572088#M20862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Sun Nov 30 12:59:32 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;UM10736 is describing 'Interrupt Priority Registers':&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;The IPR0 register controls the priority of four peripheral interrupts. Each interrupt can&lt;BR /&gt;have one of 8 priorities, where 0 is the highest priority.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So 4 interrupts in one 32 bit IPRx register&amp;nbsp; &lt;SPAN class="lia-unicode-emoji" title=":winking_face:"&gt;&lt;LI-EMOJI id="lia_winking-face" title=":winking_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Peripheral View in LPCXpresso is showing 'NVIC_IPR0'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now it is 8 bit, one interrupt&amp;nbsp; :quest: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And CMSIS?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No IPR&amp;nbsp; :(( &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;core_cm3.h:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;__IO uint8_t&amp;nbsp; IP[240]; &lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:04:16 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:04:16Z</dc:date>
    <item>
      <title>LPC15 IPR Confusion</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC15-IPR-Confusion/m-p/572088#M20862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Sun Nov 30 12:59:32 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;UM10736 is describing 'Interrupt Priority Registers':&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;The IPR0 register controls the priority of four peripheral interrupts. Each interrupt can&lt;BR /&gt;have one of 8 priorities, where 0 is the highest priority.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So 4 interrupts in one 32 bit IPRx register&amp;nbsp; &lt;SPAN class="lia-unicode-emoji" title=":winking_face:"&gt;&lt;LI-EMOJI id="lia_winking-face" title=":winking_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Peripheral View in LPCXpresso is showing 'NVIC_IPR0'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now it is 8 bit, one interrupt&amp;nbsp; :quest: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And CMSIS?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No IPR&amp;nbsp; :(( &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;core_cm3.h:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;__IO uint8_t&amp;nbsp; IP[240]; &lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:04:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC15-IPR-Confusion/m-p/572088#M20862</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPC15 IPR Confusion</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC15-IPR-Confusion/m-p/572089#M20863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Sun Nov 30 14:46:33 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Interrupt priority registers on Cortex-M3 can be treated as byte wide registers, or combined and treated as 4 interrupts inside a single word register. The LPCXpresso peripheral view displays them in byte form (which is also how CMSIS headers handle them).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also be aware, the NVIC peripheral displays were revamped a few releases ago, and some fixes related to the display of byte wide registers, such as the interrupt priority ones were also made in v7.50:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fforum%2Fproblem-lpcxpresso-display-nvic-registers" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/forum/problem-lpcxpresso-display-nvic-registers&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Support&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:04:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC15-IPR-Confusion/m-p/572089#M20863</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPC15 IPR Confusion</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC15-IPR-Confusion/m-p/572090#M20864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Sun Nov 30 15:15:07 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: lpcxpresso-support&lt;/STRONG&gt;&lt;BR /&gt;Interrupt priority registers on Cortex-M3 can be treated as byte wide registers, or combined and treated as 4 interrupts inside a single word register.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would be less confusing if byte / word registers wouldn't use the same name...&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:04:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC15-IPR-Confusion/m-p/572090#M20864</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: LPC15 IPR Confusion</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC15-IPR-Confusion/m-p/572091#M20865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Mon Dec 01 07:49:17 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd recommend to use CMSIS functions to talk to the NVIC, in this case NVIC_SetPriority( IRQn, priority ).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Beware that the priorities are specified differently from the hardware registers. In the registers the priority is in the most significant bits of each byte, while the routine expects them in the least significant bits.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:04:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC15-IPR-Confusion/m-p/572091#M20865</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: LPC15 IPR Confusion</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC15-IPR-Confusion/m-p/572092#M20866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Mon Dec 01 08:50:16 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: starblue&lt;/STRONG&gt;&lt;BR /&gt;I'd recommend to use CMSIS functions to talk to the NVIC, in this case NVIC_SetPriority( IRQn, priority ).&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; :quest: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using NVIC_SetPriority&amp;nbsp; ;-) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which is writing to IP[] registers...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately that's not changing Peripheral View register names / sizes...&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:04:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC15-IPR-Confusion/m-p/572092#M20866</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC15 IPR Confusion</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC15-IPR-Confusion/m-p/572093#M20867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Tue Dec 02 05:25:49 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Oh, sorry, somehow I didn't get that you were only discussing the peripheral view.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:04:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC15-IPR-Confusion/m-p/572093#M20867</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:04:19Z</dc:date>
    </item>
  </channel>
</rss>

