Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: cc3000_ping_demo_try_2
Fork of mbed by
Diff: nvic_api.h
- Revision:
- 11:1c1ebd0324fa
diff -r fcb9359f0959 -r 1c1ebd0324fa nvic_api.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/nvic_api.h Fri Aug 28 12:10:11 2009 +0000
@@ -0,0 +1,28 @@
+/* mbed Microcontroller Library - nvic_api
+ * Copyright (c) 2006-2009 ARM Limited. All rights reserved.
+ * sford
+ */
+
+// GENERIC (M3 only? maybe also ARM7 abstraction)
+
+#ifndef MBED_NVIC_API_H
+#define MBED_NVIC_API_H
+
+#include "PinNames.h"
+#include "PeripheralNames.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef enum IRQn IRQn;
+
+void nvic_init();
+uint32_t nvic_read(IRQn irq);
+void NVIC_Vector(IRQn irq, uint32_t vector);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
