NuMicro® NUC029LEE/NUC029SEE
32-bit Arm
®
Cortex
®
-M0 Microcontroller
Aug, 2018
Page
188
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
GPIO Port [A/B/C/E/F] De-bounce Enable Register (GPIOx _DBEN)
Register
Offset
R/W Description
Reset Value
GPIOA_DBEN
0x014
R/W GPIO Port A De-bounce Enable
Register
0x0000_0000
GPIOB_DBEN
0x054
R/W GPIO Port B De-bounce Enable
Register
0x0000_0000
GPIOC_DBEN
0x094
R/W GPIO Port C De-bounce Enable
Register
0x0000_0000
GPIOE_DBEN
0x114
R/W GPIO Port E De-bounce Enable
Register
0x0000_0000
GPIOF_DBEN
0x154
R/W GPIO Port F De-bounce Enable
Register
0x0000_0000
31
30
29
28
27
26
25
24
Reserved
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
DBEN
7
6
5
4
3
2
1
0
DBEN
Bits
Description
[31:16]
Reserved
Reserved.
[n]
n = 0,1..15
DBEN[n]
Port [A/B/C/E/F] Input Signal De-Bounce Enable Bit
DBEN[n] is used to enable the de-bounce function for each corresponding bit. If the input
signal pulse width cannot be sampled by continuous two de-bounce sample cycle, the
input signal transition is seen as the signal bounce and will not trigger the interrupt. The
de-bounce clock source is controlled by DBNCECON[4], one de-bounce sample cycle
period is controlled by DBNCECON[3:0]
0 = Bit[n] de-bounce function Disabled.
1 = Bit[n] de-bounce function Enabled.
The de-bounce function is valid only for edge triggered interrupt. If the interrupt mode is
level triggered, the de-bounce enable bit is ignored.
Note1:
Max. n = 15 for GPIOA/GPIOB/GPIOC; n = 5 for GPIOE; Max. n = 1 for GPIOF.
Note2:
The PA.7, PB.12, PC.4, PC.5, PC.12, PC.13 pin is ignored.