Go to the source code of this file.
|
#define | STM32_EXTI_LINE_NONE 0xFFFFFFFFU |
| Driver for External interrupt/event controller in STM32 MCUs.
|
|
◆ STM32_EXTI_LINE_NONE
#define STM32_EXTI_LINE_NONE 0xFFFFFFFFU |
Driver for External interrupt/event controller in STM32 MCUs.
Based on reference manuals: RM0008 Reference Manual: STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and STM32F107xx advanced ARM(r)-based 32-bit MCUs and RM0368 Reference manual STM32F401xB/C and STM32F401xD/E advanced ARM(r)-based 32-bit MCUs
Chapter 10.2: External interrupt/event controller (EXTI)
◆ stm32_exti_callback_t
typedef void(* stm32_exti_callback_t) (int line, void *user) |
◆ stm32_exti_trigger
EXTI trigger flags.
Enumerator |
---|
STM32_EXTI_TRIG_NONE | |
STM32_EXTI_TRIG_RISING | |
STM32_EXTI_TRIG_FALLING | |
STM32_EXTI_TRIG_BOTH | |
◆ stm32_exti_disable()
void stm32_exti_disable |
( |
int |
line | ) |
|
disable EXTI interrupt for specific line
- Parameters
-
◆ stm32_exti_enable()
void stm32_exti_enable |
( |
int |
line | ) |
|
enable EXTI interrupt for specific line
- Parameters
-
◆ stm32_exti_set_callback()
set EXTI interrupt callback
- Parameters
-
line | EXI# line |
cb | user callback |
data | user data |
◆ stm32_exti_trigger()
set EXTI interrupt line triggers
- Parameters
-
line | EXTI# line |
trg | OR'ed stm32_exti_trigger flags |
◆ stm32_exti_unset_callback()
void stm32_exti_unset_callback |
( |
int |
line | ) |
|
unset EXTI interrupt callback
- Parameters
-