libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Defined Constants and Types for the STM32L1xx External Interrupts More...
Modules | |
EXTI Registers | |
Macros | |
#define | EXTI0 (1 << 0) |
#define | EXTI1 (1 << 1) |
#define | EXTI2 (1 << 2) |
#define | EXTI3 (1 << 3) |
#define | EXTI4 (1 << 4) |
#define | EXTI5 (1 << 5) |
#define | EXTI6 (1 << 6) |
#define | EXTI7 (1 << 7) |
#define | EXTI8 (1 << 8) |
#define | EXTI9 (1 << 9) |
#define | EXTI10 (1 << 10) |
#define | EXTI11 (1 << 11) |
#define | EXTI12 (1 << 12) |
#define | EXTI13 (1 << 13) |
#define | EXTI14 (1 << 14) |
#define | EXTI15 (1 << 15) |
#define | EXTI16 (1 << 16) |
#define | EXTI17 (1 << 17) |
#define | EXTI18 (1 << 18) |
#define | EXTI19 (1 << 19) |
#define | EXTI20 (1 << 20) |
#define | EXTI21 (1 << 21) |
#define | EXTI22 (1 << 22) |
#define | EXTI23 (1 << 23) |
#define | EXTI24 (1 << 24) |
#define | EXTI25 (1 << 25) |
#define | EXTI26 (1 << 26) |
#define | EXTI27 (1 << 27) |
#define | EXTI28 (1 << 28) |
#define | EXTI29 (1 << 29) |
#define | EXTI30 (1 << 30) |
#define | EXTI31 (1 << 31) |
#define | EXTI32 (1 << 0) |
#define | EXTI33 (1 << 1) |
#define | EXTI34 (1 << 2) |
#define | EXTI35 (1 << 3) |
#define | EXTI36 (1 << 4) |
#define | EXTI37 (1 << 5) |
Enumerations | |
enum | exti_trigger_type { EXTI_TRIGGER_RISING , EXTI_TRIGGER_FALLING , EXTI_TRIGGER_BOTH } |
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) |
void | exti_select_source (uint32_t exti, uint32_t gpioport) |
uint32_t | exti_get_flag_status (uint32_t exti) |
Defined Constants and Types for the STM32L1xx External Interrupts
LGPL License Terms libopencm3 License
#define EXTI0 (1 << 0) |
Definition at line 33 of file exti_common_all.h.
#define EXTI1 (1 << 1) |
Definition at line 34 of file exti_common_all.h.
#define EXTI10 (1 << 10) |
Definition at line 43 of file exti_common_all.h.
#define EXTI11 (1 << 11) |
Definition at line 44 of file exti_common_all.h.
#define EXTI12 (1 << 12) |
Definition at line 45 of file exti_common_all.h.
#define EXTI13 (1 << 13) |
Definition at line 46 of file exti_common_all.h.
#define EXTI14 (1 << 14) |
Definition at line 47 of file exti_common_all.h.
#define EXTI15 (1 << 15) |
Definition at line 48 of file exti_common_all.h.
#define EXTI16 (1 << 16) |
Definition at line 49 of file exti_common_all.h.
#define EXTI17 (1 << 17) |
Definition at line 50 of file exti_common_all.h.
#define EXTI18 (1 << 18) |
Definition at line 51 of file exti_common_all.h.
#define EXTI19 (1 << 19) |
Definition at line 52 of file exti_common_all.h.
#define EXTI2 (1 << 2) |
Definition at line 35 of file exti_common_all.h.
#define EXTI20 (1 << 20) |
Definition at line 53 of file exti_common_all.h.
#define EXTI21 (1 << 21) |
Definition at line 54 of file exti_common_all.h.
#define EXTI22 (1 << 22) |
Definition at line 55 of file exti_common_all.h.
#define EXTI23 (1 << 23) |
Definition at line 56 of file exti_common_all.h.
#define EXTI24 (1 << 24) |
Definition at line 57 of file exti_common_all.h.
#define EXTI25 (1 << 25) |
Definition at line 58 of file exti_common_all.h.
#define EXTI26 (1 << 26) |
Definition at line 59 of file exti_common_all.h.
#define EXTI27 (1 << 27) |
Definition at line 60 of file exti_common_all.h.
#define EXTI28 (1 << 28) |
Definition at line 61 of file exti_common_all.h.
#define EXTI29 (1 << 29) |
Definition at line 62 of file exti_common_all.h.
#define EXTI3 (1 << 3) |
Definition at line 36 of file exti_common_all.h.
#define EXTI30 (1 << 30) |
Definition at line 63 of file exti_common_all.h.
#define EXTI31 (1 << 31) |
Definition at line 64 of file exti_common_all.h.
#define EXTI32 (1 << 0) |
Definition at line 66 of file exti_common_all.h.
#define EXTI33 (1 << 1) |
Definition at line 67 of file exti_common_all.h.
#define EXTI34 (1 << 2) |
Definition at line 68 of file exti_common_all.h.
#define EXTI35 (1 << 3) |
Definition at line 69 of file exti_common_all.h.
#define EXTI36 (1 << 4) |
Definition at line 70 of file exti_common_all.h.
#define EXTI37 (1 << 5) |
Definition at line 71 of file exti_common_all.h.
#define EXTI4 (1 << 4) |
Definition at line 37 of file exti_common_all.h.
#define EXTI5 (1 << 5) |
Definition at line 38 of file exti_common_all.h.
#define EXTI6 (1 << 6) |
Definition at line 39 of file exti_common_all.h.
#define EXTI7 (1 << 7) |
Definition at line 40 of file exti_common_all.h.
#define EXTI8 (1 << 8) |
Definition at line 41 of file exti_common_all.h.
#define EXTI9 (1 << 9) |
Definition at line 42 of file exti_common_all.h.
enum exti_trigger_type |
Enumerator | |
---|---|
EXTI_TRIGGER_RISING | |
EXTI_TRIGGER_FALLING | |
EXTI_TRIGGER_BOTH |
Definition at line 74 of file exti_common_all.h.
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.