English
Language : 

W90N745CD Datasheet, PDF (387/422 Pages) Winbond – 16/32-bit ARM microcontroller
W90N745CD/W90N745CDG
6.18.2 Register Description
PS2 Host Controller Command Register (PS2_CMD)
REGISTER
PS2CMD
ADDRESS
R/W
0xFFF8_9000 R/W
DESCRIPTION
Command register
RESET VALUE
0x0000_0000
31
30
29
28
27
RESERVED
23
22
21
20
19
RESERVED
15
14
13
12
11
RESERVED
7
6
5
4
3
PS2CMD
26
25
24
18
17
16
10
9
8
TRAP_SHIFT EnCMD
2
1
0
BITS
[31:10]
[9]
[8]
[7:0]
DESCRIPTIONS
RESERVED -
TRAP_SHIFT
Trap Shift Key Output to Scan Code Register
If the shift key scan code (0x12 0r 0x59) is received by host,
software can indicate host whether to update to scan code
register or not. No ASCII or SCAN codes will be reported for the
shift keys if this bit is set. In this condition, host will only report the
shift keys at the RX_shift_key bit of Status register and no
interrupt will occur for the shift keys. This is useful for those who
wish to use the ASCII data stream and don’t want to “manually”
filter out the shift key codes. This bit is clear by default.
EnCMD
Enable write PS2 Host Controller Commands
This bit enables the write function of Host controller comm
device. Set this bit will start the write process of PS2CMD cont
hardware will automatically clear this bit while write pro
finished.
PS2CMD
PS2 Host Controller Commands
This command filed is sent by the Host to the Keyboard. Th
common command would be the setting/resetting of the
Indicators (i.e. the Num lock, Caps Lock & Scroll Lock LEDs).
- 382 -