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:
- 6:c19fcbd73dbc
- Parent:
- 5:b20a6d299688
- Child:
- 7:8acd3bf521ff
--- a/NVIC_set_all_priorities.h Sun Jan 18 19:16:42 2015 +0000 +++ b/NVIC_set_all_priorities.h Thu Oct 08 16:45:50 2015 +0000 @@ -250,6 +250,11 @@ #elif defined TARGET_NUCLEO_L152RE first_IRQ_number = SysTick_IRQn, // WWDG_IRQn last_IRQ_number = COMP_ACQ_IRQn, + +// --------- TARGET_STM32F7 +#elif defined TARGET_DISCO_F746NG + first_IRQ_number = SysTick_IRQn, // WWDG_IRQn + last_IRQ_number = SPDIF_RX_IRQn, #endif };