Rainbow Electronics W90N745CDG User Manual
Page 377
W90N745CD/W90N745CDG
Publication Release Date: September 22, 2006
-
373
-
Revision
A2
6.17.2 Register Description
Keypad Controller Configuration Register (KPI_CONF)
REGISTER ADDRESS R/W
DESCRIPTION
RESET
VALUE
KPICONF
0xFFF8_8000
R/O
key pad configuration register
0x0000_0000
31
30
29
28
27
26
25
24
RESERVED
23
22
21
20
19
18
17
16
RESERVED
ENCODE ODEN KPSEL ENKP
KSIZE
15
14
13
12
11
10
9
8
DBTC
7
6
5
4
3
2
1
0
PRESCALE
BITS
DESCRIPTION
[31:22] RESERVED
-
[21] ENCODE
Enable Encode Function
If an auxiliary 8 to 3 encoder is used to minimize keypad interface
pin counts, user can connect encoder data to KPI_COL[2:0] and
indicator flag (low active) to KPI_COL[3].
1 = enable encoder function
0 = default. (8 column inputs)
[20] ODEN
Open Drain Enable
If there are more than one key are pressed in the same column, then
“short-circuit” will appear between active scan and inactive scan row.
Software can set this bit HIGH to enable scan output KPI_ROW[3:0]
pins work as “open-drain” to avoid the “short-circuit”.
1 = Open drain
0 = push-pull driver
[19] KPSEL
Key pad select
Software should set this bit to “0” to select MAC PHY interface for
connecting keypad matrix.
0 = pin #53~55, #57~60, #62~65 #19 and #20 are used as keypad
interface