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); ..... }
Revision 7:8acd3bf521ff, committed 2015-10-16
- Comitter:
- frankvnk
- Date:
- Fri Oct 16 12:44:40 2015 +0000
- Parent:
- 6:c19fcbd73dbc
- Commit message:
- TARGET_NUCLEO_F446RE added
Changed in this revision
NVIC_set_all_priorities.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r c19fcbd73dbc -r 8acd3bf521ff NVIC_set_all_priorities.h --- 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