mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
targets/cmsis/TARGET_NXP/TARGET_LPC23XX/cmsis_nvic.c
- Committer:
- shaoziyang
- Date:
- 2014-09-13
- Revision:
- 323:9e901b0a5aa1
- Parent:
- 13:0645d8841f51
File content as of revision 323:9e901b0a5aa1:
/* mbed Microcontroller Library - cmsis_nvic for LPC2368 * Copyright (c) 2009 ARM Limited. All rights reserved. * * CMSIS-style functionality to support dynamic vectors */ #include "cmsis_nvic.h" void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector) { LPC_VIC->VectAddr[(int)IRQn] = vector; } uint32_t NVIC_GetVector(IRQn_Type IRQn) { return LPC_VIC->VectAddr[(int)IRQn]; }