External interrupt support.
EXTI register map type.
Public Members
- __io uint32 IMR
Interrupt mask register.
- __io uint32 EMR
Event mask register.
- __io uint32 RTSR
Rising trigger selection register.
- __io uint32 FTSR
Falling trigger selection register.
- __io uint32 SWIER
Software interrupt event register.
- __io uint32 PR
Pending register.
External interrupt trigger mode.
Values:
Trigger on the rising edge.
Trigger on the falling edge.
Trigger on both the rising and falling edges.
Register a handler to run upon external interrupt.
This function assumes that the interrupt request corresponding to the given external interrupt is masked.
Parameters: |
|
---|---|
See: | exti_num exti_cfg voidFuncPtr exti_trigger_mode |
Unregister an external interrupt handler.
Parameters: |
|
---|---|
See: | exti_num |
None at this time.