summaryrefslogtreecommitdiff
path: root/src/stm/ao_exti.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-05-19 20:04:29 -0700
committerKeith Packard <keithp@keithp.com>2013-05-19 20:04:29 -0700
commit35a05041d3ca3e69a146bd3bf8038c0f1cbc1b42 (patch)
tree8877862f68b7139b605711cabbcf37151325e583 /src/stm/ao_exti.h
parent098fd43a740ee2a782f82b6b71965b60cdba2d62 (diff)
altos: Add EXTI_PIN_NOCONFIGURE to exti interface, use for MS5607
This asks the EXTI code to not mess with the pin configuration so that the MS5607 driver can get interrupts on the MISO pin while still using it for SPI. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/ao_exti.h')
-rw-r--r--src/stm/ao_exti.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stm/ao_exti.h b/src/stm/ao_exti.h
index 35b56b57..ebea224d 100644
--- a/src/stm/ao_exti.h
+++ b/src/stm/ao_exti.h
@@ -25,6 +25,7 @@
#define AO_EXTI_PRIORITY_LOW 16
#define AO_EXTI_PRIORITY_MED 0
#define AO_EXTI_PRIORITY_HIGH 32
+#define AO_EXTI_PIN_NOCONFIGURE 64
void
ao_exti_setup(struct stm_gpio *gpio, uint8_t pin, uint8_t mode, void (*callback)());