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) |
#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_flag_status | ( | uint32_t | exti | ) |
Definition at line 97 of file exti_common_all.c.
References EXTI_PR.
void exti_reset_request | ( | uint32_t | extis | ) |
Definition at line 84 of file exti_common_all.c.
References EXTI_PR.
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, and GPIOH.
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.