summaryrefslogtreecommitdiffstats
path: root/watch-library/hw/driver_init.h
diff options
context:
space:
mode:
authorJoey Castillo <jose.castillo@gmail.com>2021-09-14 15:12:30 -0400
committerJoey Castillo <jose.castillo@gmail.com>2021-09-14 15:12:30 -0400
commitcb98f29e5778974ebd91b99f9757c63726b62e51 (patch)
tree8e74eca01b2f7012697725acf400bba29e0d378e /watch-library/hw/driver_init.h
parente4c1700806d348811b8932004cfa268a40a00636 (diff)
downloadSensor-Watch-cb98f29e5778974ebd91b99f9757c63726b62e51.tar.gz
Sensor-Watch-cb98f29e5778974ebd91b99f9757c63726b62e51.tar.bz2
Sensor-Watch-cb98f29e5778974ebd91b99f9757c63726b62e51.zip
more work on alternate board pinouts
Diffstat (limited to 'watch-library/hw/driver_init.h')
-rw-r--r--watch-library/hw/driver_init.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/watch-library/hw/driver_init.h b/watch-library/hw/driver_init.h
index 6780e20d..019a0b56 100644
--- a/watch-library/hw/driver_init.h
+++ b/watch-library/hw/driver_init.h
@@ -8,6 +8,16 @@
#ifndef DRIVER_INIT_INCLUDED
#define DRIVER_INIT_INCLUDED
+#define GPIO_PIN_FUNCTION_A 0
+#define GPIO_PIN_FUNCTION_B 1
+#define GPIO_PIN_FUNCTION_C 2
+#define GPIO_PIN_FUNCTION_D 3
+#define GPIO_PIN_FUNCTION_E 4
+#define GPIO_PIN_FUNCTION_F 5
+#define GPIO_PIN_FUNCTION_G 6
+#define GPIO_PIN_FUNCTION_H 7
+#define GPIO_PIN_FUNCTION_I 8
+
#include "pins.h"
#ifdef __cplusplus