External interrupt/event controller (EXTI)
__IO uint32_t EXTI_TypeDef::FTSR2
EXTI Falling trigger selection register, Address offset: 0x2C
__IO uint32_t EXTI_TypeDef::SWIER2
EXTI Software interrupt event register, Address offset: 0x30
__IO uint32_t EXTI_TypeDef::PR2
EXTI Pending register, Address offset: 0x34
10.1.2 EXTI_InitTypeDef
EXTI_InitTypeDef is defined in the stm32f30x_exti.h
Data Fields
uint32_t EXTI_Line
EXTIMode_TypeDef EXTI_Mode
EXTITrigger_TypeDef EXTI_Trigger
FunctionalState EXTI_LineCmd
Field Documentation
uint32_t EXTI_InitTypeDef::EXTI_Line
Specifies the EXTI lines to be enabled or disabled. This parameter can be any
combination of EXTI_Lines
EXTIMode_TypeDef EXTI_InitTypeDef::EXTI_Mode
Specifies the mode for the EXTI lines. This parameter can be a value of
EXTIMode_TypeDef
EXTITrigger_TypeDef EXTI_InitTypeDef::EXTI_Trigger
Specifies the trigger signal active edge for the EXTI lines. This parameter can be
a value of EXTITrigger_TypeDef
FunctionalState EXTI_InitTypeDef::EXTI_LineCmd
Specifies the new state of the selected EXTI lines. This parameter can be set
either to ENABLE or DISABLE
10.2 EXTI Firmware driver API description
The following section lists the various functions of the EXTI library.
10.2.1 EXTI features
External interrupt/event lines are mapped as following:
1. All available GPIO pins are connected to the 16 external interrupt/event lines from
EXTI0 to EXTI15.
2. EXTI line 16 is connected to the PVD output
3. EXTI line 17 is connected to the RTC Alarm event
4. EXTI line 18 is connected to USB Device wakeup event
5. EXTI line 19 is connected to the RTC Tamper and TimeStamp events
6. EXTI line 20 is connected to the RTC wakeup event
7. EXTI line 21 is connected to the Comparator 1 wakeup event