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:
- 7:8acd3bf521ff
- Parent:
- 6:c19fcbd73dbc
--- a/NVIC_set_all_priorities.h Thu Oct 08 16:45:50 2015 +0000 +++ b/NVIC_set_all_priorities.h Fri Oct 16 12:44:40 2015 +0000 @@ -238,6 +238,11 @@ last_IRQ_number = SPI6_IRQn, #endif /* STM32F427X */ +// --------- TARGET_STM32F446XX +#elif defined TARGET_NUCLEO_F446RE + first_IRQ_number = SysTick_IRQn, // WWDG_IRQn + last_IRQ_number = FMPI2C1_ER_IRQn, + // --------- TARGET_STM32L0 #elif defined TARGET_DISCO_L053C8 first_IRQ_number = SysTick_IRQn, // WWDG_IRQn