Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: MSP432 interrupt priority issue after CMSIS

$
0
0
Sorry about that, the gist of the post was.... "The hardware priority mechanism only looks at the upper N bits of the priority level (where N is 3 for the MSP432 family), so any prioritization must be performed in those bits. The remaining bits can be used to sub-prioritize the interrupt sources, and may be used by the hardware priority mechanism on a future part". Therefore, these are some valid priority assignments: Interrupt_setPriority(interrupt_number_1, 0x00); // highest priority Interrupt_setPriority(interrupt_number_2, 0x20); Interrupt_setPriority(interrupt_number_3, 0x40); Interrupt_setPriority(interrupt_number_4, 0x60); Interrupt_setPriority(interrupt_number_5, 0x80); Interrupt_setPriority(interrupt_number_6, 0xA0); Interrupt_setPriority(interrupt_number_7, 0xC0); Interrupt_setPriority(interrupt_number_8, 0xE0); // lowest priority

Viewing all articles
Browse latest Browse all 62309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>