Fork of frankvnk's CC3000 libarary. Added SparkFun's CC3000 wifi sheild to a Nucleo F401RE
Fork of NVIC_set_all_priorities by
NVIC_set_all_priorities.cpp
- Committer:
- SolderSplashLabs
- Date:
- 2013-10-02
- Revision:
- 2:676bbfffe9f6
- Parent:
- 1:c091f2dbc0e5
File content as of revision 2:676bbfffe9f6:
/************************************************************************************************** ***** ***** ***** Name: NVIC_set_all_priorities.cpp ***** ***** Date: 18/09/2013 ***** ***** Auth: Frank Vannieuwkerke ***** ***** Func: library for changing all IRQ priorities at once ***** ***** Supported targets : see enum declaration in .h file ***** ***** ***** **************************************************************************************************/ #include "NVIC_set_all_priorities.h" void NVIC_set_all_irq_priorities(int priority) { int irqnum; for(irqnum = first_IRQ_number ; irqnum < last_IRQ_number + 1 ; irqnum++) NVIC_SetPriority((IRQn_Type)irqnum, priority); }