32-Bit Arm
®
Cortex
®
-M3 MCU
HT32F12345
Functional 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, Comparator, USB and RTC wakeup functions. 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
1
16
EXTIn
16
0
16
High/Low level
16
detector
EXTInWPOL
EXTInWEN
CMP
CMP_WAKEUP
WDT
WDT_WAKEUP
RTC
RTC_WAKEUP
PWRCU
LVD_WAKEUP
WAKEUP
WUPF
USB
USB_WAKEUP
SLEEPING
(NVIC)
Figure 26. EXTI Wake-up Event Management
Rev. 1.10
EXTInWFL
16
16
16
16
16
172 of 590
EVWUPIEN
16
EXTI Wakeup Event Management
EVWUP interrupt
(NVIC)
HSI/HSE/PLL
wakeup (CKCU)
Set event signal to NVIC
To wake up MCU
November 28, 2018
Need help?
Do you have a question about the HT32F12345 and is the answer not in the manual?
Questions and answers