libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Macros | |
#define | EXTICR_SELECTION_FIELDSIZE SYSCFG_EXTICR_FIELDSIZE |
#define | EXTICR_SELECTION_REG(x) SYSCFG_EXTICR(x) |
Functions | |
void | exti_set_trigger (uint32_t extis, enum exti_trigger_type trig) |
void | exti_enable_request (uint32_t extis) |
void | exti_disable_request (uint32_t extis) |
void | exti_reset_request (uint32_t extis) |
uint32_t | exti_get_flag_status (uint32_t exti) |
void | exti_select_source (uint32_t exti, uint32_t gpioport) |
uint32_t | exti_get_rising_flag_status (uint32_t exti) |
uint32_t | exti_get_falling_flag_status (uint32_t exti) |
void | exti_reset_rising_request (uint32_t extis) |
void | exti_reset_falling_request (uint32_t extis) |
LGPL License Terms libopencm3 License
#define EXTICR_SELECTION_FIELDSIZE SYSCFG_EXTICR_FIELDSIZE |
Definition at line 40 of file exti_common_all.c.
#define EXTICR_SELECTION_REG | ( | x | ) | SYSCFG_EXTICR(x) |
Definition at line 41 of file exti_common_all.c.
void exti_disable_request | ( | uint32_t | extis | ) |
Definition at line 71 of file exti_common_all.c.
void exti_enable_request | ( | uint32_t | extis | ) |
Definition at line 62 of file exti_common_all.c.
uint32_t exti_get_falling_flag_status | ( | uint32_t | exti | ) |
Definition at line 46 of file exti_common_v2.c.
References EXTI_FPR1.
uint32_t exti_get_flag_status | ( | uint32_t | exti | ) |
Definition at line 97 of file exti_common_all.c.
uint32_t exti_get_rising_flag_status | ( | uint32_t | exti | ) |
Definition at line 36 of file exti_common_v2.c.
References EXTI_RPR1.
void exti_reset_falling_request | ( | uint32_t | extis | ) |
Definition at line 66 of file exti_common_v2.c.
References EXTI_FPR1.
void exti_reset_request | ( | uint32_t | extis | ) |
Definition at line 84 of file exti_common_all.c.
void exti_reset_rising_request | ( | uint32_t | extis | ) |
Definition at line 56 of file exti_common_v2.c.
References EXTI_RPR1.
void exti_select_source | ( | uint32_t | exti, |
uint32_t | gpioport | ||
) |
Definition at line 112 of file exti_common_all.c.
References EXTICR_SELECTION_FIELDSIZE, EXTICR_SELECTION_REG, GPIOA, GPIOB, GPIOC, GPIOD, GPIOE, GPIOF, GPIOG, GPIOH, GPIOI, GPIOJ, and GPIOK.
void exti_set_trigger | ( | uint32_t | extis, |
enum exti_trigger_type | trig | ||
) |
Definition at line 44 of file exti_common_all.c.
References EXTI_FTSR, EXTI_RTSR, EXTI_TRIGGER_BOTH, EXTI_TRIGGER_FALLING, and EXTI_TRIGGER_RISING.