summaryrefslogtreecommitdiffstats
path: root/firmware/export/as3525.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/as3525.h')
-rw-r--r--firmware/export/as3525.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/export/as3525.h b/firmware/export/as3525.h
index f2f16c8d23..50b1fbe06b 100644
--- a/firmware/export/as3525.h
+++ b/firmware/export/as3525.h
@@ -303,6 +303,12 @@ interface */
#define TIMER_PRESCALE_16 0x04
#define TIMER_PRESCALE_256 0x08
+
+/* Watchdog registers */
+#define WDT_LOAD (*(volatile unsigned long*)(WDT_BASE))
+#define WDT_CONTROL (*(volatile unsigned long*)(WDT_BASE+8))
+
+
/* GPIO registers */
#define GPIOA_DIR (*(volatile unsigned char*)(GPIOA_BASE+0x400))