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)
 
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)
 

Detailed Description

Author
© 2019 Guillaume Revaillot g.rev.nosp@m.aill.nosp@m.ot@gm.nosp@m.ail..nosp@m.com
Date
10 January 2019

LGPL License Terms libopencm3 License

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.

◆ 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.

◆ exti_get_falling_flag_status()

uint32_t exti_get_falling_flag_status ( uint32_t  exti)

Definition at line 46 of file exti_common_v2.c.

References EXTI_FPR1.

◆ 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_FPR1, and EXTI_RPR1.

◆ exti_get_rising_flag_status()

uint32_t exti_get_rising_flag_status ( uint32_t  exti)

Definition at line 36 of file exti_common_v2.c.

References EXTI_RPR1.

◆ exti_reset_falling_request()

void exti_reset_falling_request ( uint32_t  extis)

Definition at line 66 of file exti_common_v2.c.

References EXTI_FPR1.

◆ exti_reset_request()

void exti_reset_request ( uint32_t  extis)

Definition at line 84 of file exti_common_all.c.

References EXTI_FPR1, and EXTI_RPR1.

◆ exti_reset_rising_request()

void exti_reset_rising_request ( uint32_t  extis)

Definition at line 56 of file exti_common_v2.c.

References EXTI_RPR1.

◆ 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 
)