summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/cm4.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/cm4.h b/lib/cm4.h
index 7c1c774..27c02da 100644
--- a/lib/cm4.h
+++ b/lib/cm4.h
@@ -7,4 +7,6 @@
#define SETENA(n) REG_32(0xE000E100 + 4 * (n))
#define ISR_SETENA(i) SETENA((i) / 32) = BV((i) % 32);
+#define INTPRI(n) REG_8(0xE000E400 + (n))
+
#endif /* LIB_CM4_H */