NuMicro® NUC029LEE/NUC029SEE
32-bit Arm
®
Cortex
®
-M0 Microcontroller
Aug, 2018
Page
192
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
Interrupt De-bounce Cycle Control Register (DBNCECON)
Register
Offset
R/W Description
Reset Value
DBNCECON
0x180
R/W External Interrupt De-bounce Control Register
0x0000_0020
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
Reserved
7
6
5
4
3
2
1
0
Reserved
ICLK_ON
DBCLKSRC
DBCLKSEL
Bits
Description
[5]
ICLK_ON
Interrupt Clock On Mode
0 = Edge detection circuit is active only if I/O pin corresponding GPIOx_IEN bit is set to
1.
1 = All I/O pins edge detection circuit is always active after reset.
It is recommended to disable this bit to save system power if no special application
concern.
[4]
DBCLKSRC
De-Bounce Counter Clock Source Selection
0 = De-bounce counter clock source is the HCLK.
1 = De-bounce counter clock source is the internal 10 kHz low speed oscillator.
[3:0]
DBCLKSEL
De-Bounce Sampling Cycle Selection
DBCLKSEL
Description
0
Sample interrupt input once per 1 clocks
1
Sample interrupt input once per 2 clocks
2
Sample interrupt input once per 4 clocks
3
Sample interrupt input once per 8 clocks
4
Sample interrupt input once per 16 clocks
5
Sample interrupt input once per 32 clocks
6
Sample interrupt input once per 64 clocks
7
Sample interrupt input once per 128 clocks
8
Sample interrupt input once per 256 clocks
9
Sample interrupt input once per 2*256 clocks
10
Sample interrupt input once per 4*256clocks
11
Sample interrupt input once per 8*256 clocks