![GigaDevice Semiconductor GD32F20 Series User Manual Download Page 125](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32f20-series/gd32f20-series_user-manual_2225801125.webp)
GD32F20x User Manual
125
6.
Interrupt/event controller(EXTI)
6.1.
Overview
Cortex-M3 integrates the Nested Vectored Interrupt Controller (NVIC) for efficient exception
and interrupts processing. NVIC facilitates low-latency exception and interrupt handling and
controls power management. It’s tightly coupled to the processer core. You can read the
Technical Reference Manual of Cortex-M3 for more details about NVIC.
EXTI (interrupt/event controller) contains up to 20 independent edge detectors and generates
interrupt requests or events 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.
6.2.
Characteristics
Cortex-M3 system exception.
Up to 90 maskable peripheral interrupts.
4 bits interrupt priority configuration
—16 priority levels.
Efficient interrupt processing.
Support exception pre-emption and tail-chaining.
Wake up system from power saving mode.
Up to 20 independent edge detectors in EXTI.
Three trigger types: rising, falling and both edges.
Software interrupt or event trigger.
Trigger sources configurable.
6.3.
Interrupts function overview
The ARM Cortex-M3 processor and the Nested Vectored Interrupt Controller (NVIC) prioritize
and handle all exceptions in Handler Mode. The processor state is automatically stored to the
stack on an exception and automatically restored from the stack at the end of the Interrupt
Service Routine (ISR).
The vector is fetched in parallel to the state saving, enabling efficient interrupt entry. The
processor supports tail-chaining, which enables back-to-back interrupts to be performed
without the overhead of state saving and restoration. The following tables list all exception
types.
Summary of Contents for GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...