mbed library sources for GR-PEACH rev.B.

Fork of mbed-src by mbed official

Revision:
13:0645d8841f51
Child:
358:9d7ef901f004
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/cmsis_nvic.c	Mon Aug 05 14:12:34 2013 +0300
@@ -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];
+}
+