Changeset 374 for asp3_tinet_ecnl_arm/trunk/asp3_dcre/mbed/targets/TARGET_RENESAS/TARGET_RZA1XX/common/cmsis_nvic.c
- Timestamp:
- Apr 5, 2019, 9:26:53 PM (5 years ago)
- Location:
- asp3_tinet_ecnl_arm/trunk/asp3_dcre/mbed/targets/TARGET_RENESAS/TARGET_RZA1XX
- Files:
-
- 2 added
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
asp3_tinet_ecnl_arm/trunk/asp3_dcre/mbed/targets/TARGET_RENESAS/TARGET_RZA1XX/common/cmsis_nvic.c
r373 r374 29 29 ******************************************************************************* 30 30 */ 31 #include "MBRZA1H.h" 31 #include "cmsis.h" 32 #include "irq_ctrl.h" 32 33 33 extern IRQHandler IRQTable[Renesas_RZ_A1_IRQ_MAX+1]; 34 35 void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector) { 34 void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector) 35 { 36 36 InterruptHandlerRegister(IRQn, (IRQHandler)vector); 37 37 } 38 38 39 uint32_t NVIC_GetVector(IRQn_Type IRQn) { 40 uint32_t vectors = (uint32_t)IRQTable[IRQn]; 39 uint32_t NVIC_GetVector(IRQn_Type IRQn) 40 { 41 uint32_t vectors = (uint32_t)IRQ_GetHandler(IRQn); 41 42 return vectors; 42 43 }
Note:
See TracChangeset
for help on using the changeset viewer.