diff options
| author | Keith Packard <keithp@keithp.com> | 2012-08-06 19:33:44 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2012-08-06 19:33:44 -0700 |
| commit | 6171892fa32e8a662a494ec6ba28a82fddc68589 (patch) | |
| tree | 273dbb25febfa0ea8fff5c0909dd044c50102d52 /src/stm/ao_exti.h | |
| parent | de701d5a234cd21930cf92c9cabebb0e230da9b5 (diff) | |
altos: Add ao_gpio_get and ao_exti_set_mode
Needed to support general GPIO interrupts
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/ao_exti.h')
| -rw-r--r-- | src/stm/ao_exti.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stm/ao_exti.h b/src/stm/ao_exti.h index b579ad9f..35b56b57 100644 --- a/src/stm/ao_exti.h +++ b/src/stm/ao_exti.h @@ -30,6 +30,9 @@ void ao_exti_setup(struct stm_gpio *gpio, uint8_t pin, uint8_t mode, void (*callback)()); void +ao_exti_set_mode(struct stm_gpio *gpio, uint8_t pin, uint8_t mode); + +void ao_exti_set_callback(struct stm_gpio *gpio, uint8_t pin, void (*callback)()); void |
