summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2017-03-26 21:45:42 +0100
committerTomasz Kramkowski <tk@the-tk.com>2017-03-26 21:45:42 +0100
commit03f33481c42954ec118d5dd92703b2b2208f4a3a (patch)
tree61ff51b02413e2a7441bf340f9afd8510af29890 /lib
parent6f2090ae7fca871512258623d2bbd5484716a706 (diff)
downloadfmk-03f33481c42954ec118d5dd92703b2b2208f4a3a.tar.gz
fmk-03f33481c42954ec118d5dd92703b2b2208f4a3a.tar.xz
fmk-03f33481c42954ec118d5dd92703b2b2208f4a3a.zip
uart support
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 */