GD32F403xx User Manual
129
7.4.
External interrupt and event (EXTI) block diagram
Figure 7-1. Block diagram of EXTI
EXTI Line0~18
Edge
detector
Polarity
Control
Software
Trigger
Interrupt Mask
Control
Event
Generate
Event Mask
Control
To NVIC
To Wakeup Unit
7.5.
External Interrupt and Event function overview
The EXTI contains up to 19 independent edge detectors and generates interrupts request or
event to the processer. The EXTI has three trigger types: rising edge, falling edge and both
edges. Each edge detector in the EXTI can be configured and masked independently.
The EXTI trigger source includes 16 external lines from GPIO pins and 3 lines from internal
modules (including LVD, RTC Alarm, USB Wakeup). All GPIO pins can be selected as an
EXTI trigger source by configuring AFIO_EXTISSx registers in GPIO module (please refer to
GPIO
and AFIO
section for detail).
EXTI can provide not only interrupts but also event signals to the processor. The Cortex-M4
processor fully implements the Wait For Interrupt (WFI), Wait For Event (WFE) and the Send
Event (SEV) instructions. The Wake-up Interrupt Controller (WIC) enables the processor and
NVIC to be put into a very low-power sleep mode leaving the WIC to identify and prioritize
interrupts and event. EXTI can be used to wake up processor and the whole system when
some expected event occurs, such as a special GPIO pin toggling or RTC alarm.
Содержание GD32F403 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F403xx Arm Cortex M4 32 bit MCU User Manual Revision 2 6 Jul 2022 ...
Страница 177: ...GD32F403xx UserManual 177 Peripheral Channel 0 Channel 1 Channel 2 Channel 3 Channel 4 SDIO SDIO ...
Страница 217: ...GD32F403xx UserManual 217 ensures that no conversion is in progress ...