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