![Nuvoton NuMicro NUC029 Series Скачать руководство пользователя страница 179](http://html1.mh-extra.com/html/nuvoton/numicro-nuc029-series/numicro-nuc029-series_technical-reference-manual_1720306179.webp)
NuMicro® NUC029LEE/NUC029SEE
32-bit Arm
®
Cortex
®
-M0 Microcontroller
Aug, 2018
Page
179
of
497
Rev 1.00
N
U
MICRO
®
N
UC02
9L
E
E
/N
UC029
S
E
E
T
E
CHN
ICA
L R
E
F
E
R
E
NC
E
M
A
NU
A
L
6.6.4.5 GPIO Interrupt and Wake-up Function
Each GPIO pin can be set as chip interrupt source by setting correlative GPIOx_IEN bit and
GPIOx_IMD. There are four types of interrupt condition can be selected: low level trigger, high
level trigger, falling edge trigger and rising edge trigger. For edge trigger condition, user can
enable input signal de-bounce function to prevent unexpected interrupt happened which caused
by noise. The de-bounce clock source and sampling cycle can be set through DEBOUNCE
register.
The GPIO can also be the chip wake-up source when chip enters Idle mode or Power-down
mode. The setting of wake-up trigger condition is the same as GPIO interrupt trigger, but there is
one thing need to be noticed if using GPIO as chip wake-up source
To ensure the I/O status before enter into Power-down mode
When using toggle GPIO to wake-up system, user must make sure the I/O status before entering
Idle mode or Power-down mode according to the relative wake-up settings.
For example, if configuring the wake-up event occurred by I/O rising edge/high level trigger, user
must make sure the I/O status of specified pin is at low level before entering to Idle/Power-down
mode; and if configure I/O falling edge/low level trigger to trigger a wake-up event, user must
make sure the I/O status of specified pin is at high level before entering to Power-down mode.