mbed library sources, include can_api for nucleo-f091rc
Dependents: CanNucleoF0_example
Fork of mbed-src by
Diff: vendor/NXP/LPC2368/cmsis/cmsis_nvic.c
- Revision:
- 13:0645d8841f51
- Parent:
- 12:5fa2273de5db
- Child:
- 14:096882eb0961
--- a/vendor/NXP/LPC2368/cmsis/cmsis_nvic.c Wed Jul 24 11:11:21 2013 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,16 +0,0 @@ -/* 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]; -} -