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 4:6c8e950d8037, committed 2014-07-01
- Comitter:
- nullBoundary
- Date:
- Tue Jul 01 13:40:28 2014 +0000
- Parent:
- 3:01504ecd2025
- Child:
- 5:b20a6d299688
- Commit message:
- Added TARGET_KL46Z
Changed in this revision
| NVIC_set_all_priorities.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/NVIC_set_all_priorities.h Mon Oct 14 13:45:19 2013 +0000
+++ b/NVIC_set_all_priorities.h Tue Jul 01 13:40:28 2014 +0000
@@ -10,6 +10,9 @@
#elif defined TARGET_KL25Z
first_IRQ_number = SysTick_IRQn,
last_IRQ_number = PORTD_IRQn,
+#elif defined TARGET_KL46Z
+ first_IRQ_number = SysTick_IRQn,
+ last_IRQ_number = PORTC_PORTD_IRQn,
#elif defined LPC11CXX
first_IRQ_number = SysTick_IRQn,
last_IRQ_number = EINT0_IRQn,