English
Language : 

W83L951DG Datasheet, PDF (47/112 Pages) Winbond – Mobile Keyboard and Embedded Controller
W83L951DG/W83L951FG
6.3 Personal System 2 Block
The Winbond Keyboard controller has three independent PS/2 serial ports implemented in hardware,
which are directly controlled by the on chip 8051. Each of the three PS/2 serial channels uses a
synchronous serial protocol to communicate with the auxiliary device. Each PS/2 channel has two
signal lines: Clock and Data. Both signal lines are bi-directional and employ open drain. The
PS2DATA, PS2CON and PS2STS is defined individually for each PS/2 channel. PS2HSEN is only
one register for controlling all PS/2 device handshake action.
Table 6-8 Personal System 2(PS2) Register Define
KEYBOARD & MOUSE & AUXILIARY PS2 BLOCK(9)
INTADDR NAME
7
6
5
4
32
1
0
A1
KPS2DATA KPS2 Data register [7:0]
A2
KPS2CON NFEN
Inhibit
STOP
PARITY Reserved KPS2T/R
A3
KPS2STS KPS2BUSY START_DEC TTIMEOUT XMIT_BUSY FE PE RTIMEOUT RDAT_RDY
A4
MPS2DATA MPS2 Data register [7:0]
A5
MPS2CON NFEN
Inhibit
STOP
PARITY Reserved MPS2T/R
A6
MPS2STS MPS2BUSY START_DEC TTIMEOUT XMIT_BUSY FE PE RTIMEOUT RDAT_RDY
A7
PS2HSEN Reserved
HSEN
A9
APS2DATA APS2 Data register [7:0]
AA
APS2CON NFEN
Inhibit
STOP
PARITY Reserved APS2T/R
AB
APS2STS APS2BUSY START_DEC TTIMEOUT XMIT_BUSY FE PE RTIMEOUT RDAT_RDY
Gray: Only with System Reset to initial.
6.3.1 Register Description
6.3.1.1 PS/2 Handshake Enable Register (PS2HSEN) (Default Value:: 0000_0000)
Bit 7~1: Reserved (always return ‘LOW’)
Bit 0: Handshake Mode Enable (HSEN)
0: The handshake mode of PS2 disables.
1: The handshake mode of PS2 enables.
When the handshake mode of PS2 is enabling, the TR bit (BIT 0) of PSCON is automatically set high
when the START_DEC bit (bit 6) of PS2STS of the other channel is set.
Note:
The priority of three PS2 interface is KPS2 > MPS2 > APS2.
Whether the handshake mode of PS2 is enabling or no, the TR bit (BIT 0) of PSCON is
automatically set high when the RDATA_RDY bit (bit 0) of PS2STS of this channel is set.
- 43 -
Publication Release Date: August 2006
Revision 1.0