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:
- 3:01504ecd2025
- Parent:
- 2:676bbfffe9f6
- Child:
- 4:6c8e950d8037
--- a/NVIC_set_all_priorities.h Wed Oct 02 20:18:37 2013 +0000 +++ b/NVIC_set_all_priorities.h Mon Oct 14 13:45:19 2013 +0000 @@ -31,7 +31,7 @@ #elif defined LPC81X first_IRQ_number = SysTick_IRQn, last_IRQ_number = PININT7_IRQn, -#elif defined LPC176X +#elif defined TARGET_LPC176X first_IRQ_number = SysTick_IRQn, last_IRQ_number = CANActivity_IRQn, #elif defined LPC408X