Rainbow Electronics W90N740 User Manual
Page 198

W90N740
- 194 -
Debounce Control Register (DEBNCE_CTRL)
Register Address
R/W
Description
Reset
Value
DEBNCE_CTRL
0xFFF8.3010 R/W De-bounce Control 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
RESERVED
7
6
5
4
3
2
1
0
RESERVED
DBCLKSEL
DBE3 DBE2 DBE1 DBE0
DBCLKSEL [6:4]: De-bounce Clock Rate Selector
These three bits are used to select the clock rate for de-bouncer circuit. The relationship between the
system clock HCLK and the de-bounce clock TCLK_BUN is as follows:
TCLK_BUN = HCLK / 2
DBCLKSEL
DBE3 [3]: De-bouncer Circuit Enable for GPIO20
0 = De-bounce function is disabled
1 = De-bounce function is enabled
DBE2 [2]: De-bouncer Circuit Enable for GPIO19
0 = De-bounce function is disabled
1 = De-bounce function is enabled
DBE1 [1]: De-bouncer Circuit Enable for GPIO18
0 = De-bounce function is disabled
1 = De-bounce function is enabled
DBE0 [0]: De-bouncer Circuit Enable for GPIO17
0 = De-bounce function is disabled
1 = De-bounce function is enabled