GD32F10x User Manual
149
6.5.
External Interrupt and Event function overview
The EXTI contains up to 20 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 4 lines from internal
modules (including LVD, RTC Alarm, USB Wakeup, Ethernet 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-M3
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.
Table 6-3. EXTI source
EXTI Line
Number
Source
0
PA0/PB0/PC0/PD0/PE0/PF0/PG0
1
PA1/PB1/PC1/PD1/PE1/PF1/PG1
2
PA2/PB2/PC2/PD2/PE2/PF2/PG2
3
PA3/PB3/PC3/PD3/PE3/PF3/PG3
4
PA4/PB4/PC4/PD4/PE4/PF4/PG4
5
PA5/PB5/PC5/PD5/PE5/PF5/PG5
6
PA6/PB6/PC6/PD6/PE6/PF6/PG6
7
PA7/PB7/PC7/PD7/PE7/PF7/PG7
8
PA8/PB8/PC8/PD8/PE8/PF8/PG8
9
PA9/PB9/PC9/PD9/PE9/PF9/PG9
10
PA10/PB10/PC10/PD10/PE10/PF10/PG10
11
PA11/PB11/PC11/PD11/PE11/PF11/PG11
12
PA12/PB12/PC12/PD12/PE12/PF12/PG12
13
PA13/PB13/PC13/PD13/PE13/PF13/PG13
14
PA14/PB14/PC14/PD14/PE14/PF14/PG14
15
PA15/PB15/PC15/PD15/PE15/PF15/PG15
16
LVD
17
RTC Alarm
18
USB Wakeup
19
Ethernet Wakeup
Note:
The EXTI line19 is available only in the GD32F107xx device.
Содержание GD32F10 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F10x Arm Cortex M3 32 bit MCU User Manual Revision 2 6 Jun 2022 ...
Страница 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Страница 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Страница 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Страница 427: ...GD32F10x User Manual 427 value ...
Страница 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...