projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altos/fox: Add watchdog timer
[fw/altos]
/
src
/
fox1ihu
/
ao_pins.h
diff --git
a/src/fox1ihu/ao_pins.h
b/src/fox1ihu/ao_pins.h
index 09fd5e992347ff1e246bc54b339f0a7b5dab8386..e73ef63ad116b3bd39f6118e2b7205ea1a71adca 100644
(file)
--- a/
src/fox1ihu/ao_pins.h
+++ b/
src/fox1ihu/ao_pins.h
@@
-244,4
+244,10
@@
struct ao_adc {
#define AO_ADC_SQ13 AO_ADC_TEMP
#define AO_ADC_SQ13_NAME "temp"
+/* Watchdog timer */
+
+#define AO_WATCHDOG_INTERVAL AO_MS_TO_TICKS(40)
+#define AO_WATCHDOG_PORT (&stm_gpiod)
+#define AO_WATCHDOG_BIT 3
+
#endif /* _AO_PINS_H_ */