summaryrefslogtreecommitdiff
path: root/src/stm-demo/ao_pins.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-08-06 19:35:02 -0700
committerKeith Packard <keithp@keithp.com>2012-08-06 19:35:02 -0700
commitab379493dbe9923db8e458d2f4e0344df17d331c (patch)
treebf6c2dd6c6ae9bf7d0e70eee0030d9ebd8501cf0 /src/stm-demo/ao_pins.h
parentb0b52ca73bc836336ecc70247a9ed1dd633920d9 (diff)
Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Test quadrature driver
Diffstat (limited to 'src/stm-demo/ao_pins.h')
-rw-r--r--src/stm-demo/ao_pins.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stm-demo/ao_pins.h b/src/stm-demo/ao_pins.h
index 7e222122..17a76bd0 100644
--- a/src/stm-demo/ao_pins.h
+++ b/src/stm-demo/ao_pins.h
@@ -170,4 +170,8 @@ struct ao_adc {
#define HAS_I2C_2 0
#define I2C_2_PB10_PB11 0
+#define AO_QUADRATURE_PORT &stm_gpioc
+#define AO_QUADRATURE_A 0
+#define AO_QUADRATURE_B 1
+
#endif /* _AO_PINS_H_ */