summaryrefslogtreecommitdiff
path: root/src/stmf0/ao_exti.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-05-15 08:58:21 -0700
committerKeith Packard <keithp@keithp.com>2017-05-15 08:58:21 -0700
commitf132a22995235f3002e4a2bb8771c9b5738efb30 (patch)
tree3a7a154b25fd70e0f996af191c8e9204e74716a4 /src/stmf0/ao_exti.h
parent2536640b852feff41975d2da50befdda91ee6303 (diff)
altos/stmf: Fix up serial port flow control configuration bits
Compute whether any sw/hw flow control is in use. Compute whether hw flow control is in use as a separate value. These make the code a bit easier to follow. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stmf0/ao_exti.h')
-rw-r--r--src/stmf0/ao_exti.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stmf0/ao_exti.h b/src/stmf0/ao_exti.h
index 7452af8e..36c3f7ca 100644
--- a/src/stmf0/ao_exti.h
+++ b/src/stmf0/ao_exti.h
@@ -21,6 +21,7 @@
#define AO_EXTI_MODE_RISING 1
#define AO_EXTI_MODE_FALLING 2
+#define AO_EXTI_MODE_PULL_NONE 0
#define AO_EXTI_MODE_PULL_UP 4
#define AO_EXTI_MODE_PULL_DOWN 8
#define AO_EXTI_PRIORITY_LOW 16