English
Language : 

W90P710CD Datasheet, PDF (509/552 Pages) Winbond – 32-BIT ARM7TDMI-BASED MCU
W90P710CD/W90P710CDG
Continued
BITS
[17]
[16]
[15]
[14:11]
[10:8]
[7]
[6:3]
[2:0]
2KEY
1KEY
RESERVED
KEY1R
KEY1C
RESERVED
KEY0R
KEY0C
DESCRIPTION
Double-key press
This bit indicates that 2 keys have been detected. Software can read
{KEY1R, KEY1C} and {KEY0R, KEY0C} to know which two keys are
pressed.
Single-key press
This bit indicates that 1 key has been detected. Software can read
{KEY0R, KEY0C} to know which key is pressed.
-
KEY1 row address
This value indicates key1 row address. The keypad controller scan
keypad matrix from row 0, column0 Æ1 Æ2 …. Æ 7 and then row1
column 0 Æ 1 Æ 2 Æ7 so the lowest key address will be stored in
{KEY0R, KEY0C}. This register stores the 2nd address, if more than one
key is pressed.
KEY1 column address
This value indicates key1 column address..
-
KEY1 row address
This value indicates key0 row address. This value indicates key0 row
address. This value indicates key1 row address. The keypad controller
scan keypad matrix from row 0, column0 Æ1 Æ2 …. Æ 7 and then
row1 col 0 Æ 1 Æ 2 Æ …Æ 7 still to row16 (or 8, or 4) column 0 Æ 1 Æ
2 ….. Æ 7 so the lowest key address will be stored in {KEY0R,
KEY0C}.
KEY1 column address
This value indicates key0 row address.
- 510 -