libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
EXTI peripheral API
Collaboration diagram for EXTI peripheral API:

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)
 

Detailed Description

Macro Definition Documentation

◆ EXTICR_SELECTION_FIELDSIZE

#define EXTICR_SELECTION_FIELDSIZE   SYSCFG_EXTICR_FIELDSIZE

Definition at line 40 of file exti_common_all.c.

◆ EXTICR_SELECTION_REG

#define EXTICR_SELECTION_REG (   x)    SYSCFG_EXTICR(x)

Definition at line 41 of file exti_common_all.c.

Function Documentation

◆ exti_disable_request()

void exti_disable_request ( uint32_t  extis)

Definition at line 71 of file exti_common_all.c.

References EXTI_EMR, and EXTI_IMR.

Referenced by rtc_disable_wakeup_timer_interrupt().

Here is the caller graph for this function:

◆ exti_enable_request()

void exti_enable_request ( uint32_t  extis)

Definition at line 62 of file exti_common_all.c.

References EXTI_EMR, and EXTI_IMR.

Referenced by rtc_enable_wakeup_timer_interrupt().

Here is the caller graph for this function:

◆ exti_get_flag_status()

uint32_t exti_get_flag_status ( uint32_t  exti)

Definition at line 97 of file exti_common_all.c.

References EXTI_PR.

◆ exti_reset_request()

void exti_reset_request ( uint32_t  extis)

Definition at line 84 of file exti_common_all.c.

References EXTI_PR.

◆ exti_select_source()

void exti_select_source ( uint32_t  exti,
uint32_t  gpioport 
)

◆ exti_set_trigger()

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.

Referenced by rtc_enable_wakeup_timer_interrupt().

Here is the caller graph for this function: