mbed library sources, include can_api for nucleo-f091rc

Dependents:   CanNucleoF0_example

Fork of mbed-src by mbed official

Revision:
10:3bc89ef62ce7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vendor/NXP/LPC2368/cmsis/cmsis_nvic.c	Fri Jun 14 17:49:17 2013 +0100
@@ -0,0 +1,16 @@
+/* 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];
+}
+