RS_Keyboard controller
RM0082
814/844
Doc ID 018672 Rev 1
35.3.3.5 KBREG
It is an eight bit register and its content is the keyboard key-code value.KBREG bit
assignments are given in
. The Key-code values are given in
.
[01]
KBNEWDATA 1’h0
RW
This bit is set to ‘1’ when a new keyboard value is
available in KBREG.
Once data is read from KBREG, this bit should be
reset to '0'.
[00]
-
-
-
Reserved. Read undefined. Should be written 0.
Table 733. STATUSREG register bit assignments (continued)
Bit
Name
Reset
value
Type
Description
Table 734. KBREG register bit assignments
Bit
Name
Reset
value
Type
Description
[31:08]
Not used
[07:00]
KBPRDATA
8’hFF
RO
Key-code value
Table 735.
Key-code table (hex values)
COL(0)
COL(1)
COL(2)
COL(3)
COL(4)
COL(5)
COL(6)
COL(7)
COL(8)
ROW(0) 0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x08
ROW(1) 0x10
0x11
0x12
0x13
0x14
0x15
0x16
0x17
0x18
ROW(2) 0x20
0x21
0x22
0x23
0x24
0x25
0x26
0x27
0x28
ROW(3) 0x30
0x31
0x32
0x33
0x34
0x35
0x36
0x37
0x38
ROW(4) 0x40
0x41
0x42
0x43
0x44
0x45
0x46
0x47
0x48
ROW(5) 0x50
0x51
0x52
0x53
0x54
0x55
0x56
0x57
0x58
ROW(6) 0x60
0x61
0x62
0x63
0x64
0x65
0x66
0x67
0x68
ROW(7) 0x70
0x71
0x72
0x73
0x74
0x75
0x76
0x77
0x78
ROW(8) 0x80
0x81
0x82
0x83
0x84
0x85
0x86
0x87
0x88