summaryrefslogtreecommitdiff
path: root/firmware/export/pp6100.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/pp6100.h')
-rw-r--r--firmware/export/pp6100.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/firmware/export/pp6100.h b/firmware/export/pp6100.h
index 0894affdd2..33f00b305c 100644
--- a/firmware/export/pp6100.h
+++ b/firmware/export/pp6100.h
@@ -28,4 +28,15 @@
#undef DRAM_START
#define DRAM_START 0x10f00000
+#define GPIOM_ENABLE (*(volatile unsigned long *)(0x6000d180))
+#define GPIOM_OUTPUT_EN (*(volatile unsigned long *)(0x6000d190))
+#define GPIOM_OUTPUT_VAL (*(volatile unsigned long *)(0x6000d1a0))
+#define GPIOM_INPUT_VAL (*(volatile unsigned long *)(0x6000d1b0))
+#define GPIOM_INT_STAT (*(volatile unsigned long *)(0x6000d1c0))
+#define GPIOM_INT_EN (*(volatile unsigned long *)(0x6000d1d0))
+#define GPIOM_INT_LEV (*(volatile unsigned long *)(0x6000d1e0))
+#define GPIOM_INT_CLR (*(volatile unsigned long *)(0x6000d1f0))
+
+#define GPIOM 12
+
#endif