|
PebbleOS
|
#include <board/board.h>Typedefs | |
| typedef void(* | ExtiHandlerCallback) (void) |
| Interrupt handler, called in ISR context. | |
Enumerations | |
| enum | ExtiTrigger { ExtiTrigger_Rising , ExtiTrigger_Falling , ExtiTrigger_RisingFalling } |
| Edge that triggers the interrupt. More... | |
Functions | |
| void | exti_enable (ExtiConfig config) |
| Enable the interrupt of a configured pin. | |
| void | exti_disable (ExtiConfig config) |
| Disable the interrupt of a pin. | |
| void | exti_configure_pin (ExtiConfig cfg, ExtiTrigger trigger, ExtiHandlerCallback cb) |
| Configure a pin as an interrupt source and register its handler. | |