32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F52220/HT32F52230
Function Descriptions
Wakeup Event Management
In order to wakeup the system from the power saving mode, the EXTI controller provides a
function which can monitor external events and send them to the CPU core and the Clock Control
Unit, CKCU. These external events include EXTI events, Low Voltage Detection, WAKEUP input
pin. By configuring the wakeup event enable bit in the corresponding peripheral, the wakeup signal
will be sent to the CPU and the CKCU via the EXTI controller when the corresponding wakeup
event occurs. Additionally, the software can enable the event wakeup interrupt function by setting
the EVWUPIEN bit in the EXTIWAKUPCR register and the EXTI controller will then assert an
interrupt when the wakeup event occurs.
16
EXTIn
16
16
High/Low level
detector
EXTInWPOL
WDT
WDT_WAKEUP
PWRCU
LVD_WAKEUP
WAKEUP
WUPF
SLEEPING
(NVIC)
Figure 23. EXTI Wake-up Event Management
Rev. 1.10
1
EXTInWFL
16
0
16
16
16
EXTInWEN
141 of 366
EVWUPIEN
16
16
16
EXTI Wakeup Event Management
EVWUP interrupt
(NVIC)
HSI/HSE/PLL
wakeup (CKCU)
Set event signal to NVIC
To wake up MCU
November 09, 2018
Need help?
Do you have a question about the HT32F52220 and is the answer not in the manual?