Tool to change all interrupt priorities at once. Check the header file for supported mbed targets.
Dependents: CC3000_Hostdriver KL25Z_FFT_Demo cc3000_hello_world_demo cc3000_simple_socket_demo ... more
Example
#include "NVIC_set_all_priorities.h" int main() { NVIC_set_all_irq_priorities(3); ..... }
Diff: NVIC_set_all_priorities.h
- Revision:
- 2:676bbfffe9f6
- Parent:
- 0:d3f63dfa84b7
- Child:
- 3:01504ecd2025
--- a/NVIC_set_all_priorities.h Wed Oct 02 16:59:40 2013 +0000 +++ b/NVIC_set_all_priorities.h Wed Oct 02 20:18:37 2013 +0000 @@ -19,7 +19,7 @@ #elif defined LPC11XX first_IRQ_number = SysTick_IRQn, last_IRQ_number = EINT0_IRQn, -#elif defined LPC13XX +#elif defined TARGET_LPC13XX first_IRQ_number = SysTick_IRQn, last_IRQ_number = Reserved5_IRQn, #elif defined LPC23XX