A.C. Characteristics
Ta=25 C
Symbol
Parameter
Test Conditions
Min.
Typ.
Max.
Unit
V
DD
Conditions
t
WDTOSC
Watchdog Oscillator Period
5V
32
65
130
s
t
WDT1
Watchdog Time-out Period
5V
Without WDT prescaler
8
17
33
ms
t
RES
External Reset Low Pulse Width
1
s
HT82M35X
Rev. 1.00
3
May 30, 2007
Preliminary
Functional Description
PS/2 Mouse
PS/2 status byte
Byte 1
bit
7: Reserved
6: 0=Stream Mode, 1=Remote Mode
5: 0=Disabled, 1=Enabled
4: 0=Scaling 1:1, 1=Scaling 2:1
3: 1=Wrap Mode, 0=Stream or Remote
(different from IBM specs.)
2: 1=Left Button Pressed
1: 1=Middle Button Pressed
0: 1=Right Button Pressed
Byte 2
Bit 0~7 current resolution setting
(Bit 0=LSB)
Byte 3
Bit 0~7 current sampling rate (Bit 0=LSB)
Standard PS/2 data format
Variable rps, 0, 8, 1, bidirectional, synchronous
Bit No.
7
6
5
4
3
2
1
0
1st word
YV
XV
YS
XS
1
MB RO
LB
2nd word
X7
X6
X5
X4
X3
X2
X1
X0
3rd word
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
Data format for 3D PS/2
Variable rps, 0, 8, 1, bidirectional, synchronous
Bit No.
7
6
5
4
3
2
1
0
1st word
YV
XV
YS
XS
1
MB RO
LB
2nd word
X7
X6
X5
X4
X3
X2
X1
X0
3rd word
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
4th word
Z7
Z6
Z5
Z4
Z3
Z2
Z1
Z0
The x/y data report is 9-bit 2 s complement
The z data report is 8-bit 2 s complement
Data format for 5-button Wheel Mouse
Bit No.
7
6
5
4
3
2
1
0
1st word
0
0
YS
XS
1
MB RO
LB
2nd word
X7
X6
X5
X4
X3
X2
X1
X0
3rd word
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
4th word
0
0
RB1 RB0 Z3
Z2
Z1
Z0
X- movement towards the right is positive, moving to-
wards the left is negative
Y- upward movement is positive, moving down is nega-
tive
Z- rolling towards the user is positive, else negative
Button status: 1=pressed, 0=released
Mouse mode changes between Standard and 3D
PS/2 mode
Sending the commands in the following sequence will
set the mouse to 3D PS/2 mode.
Command
Response From Mouse
F3h
FAh
C8h
FAh
F3h
FAh
64h
FAh
F3h
FAh
50h
FAh
F2h
FAh, 03h
Mouse mode changes between Standard and Win2K
PS/2 mode.
Sending the commands in the following sequence will
set the mouse to Win2K PS/2 mode.
Command
Response From Mouse
F3h
FAh
C8h
FAh
F3h
FAh
C8h
FAh
F3h
FAh
50h
FAh
F2h
FAh, 04h
Any time the PC sends a reset FFh command to
the mouse, it will reset the mouse to Standard PS/2
mode.
After power-on reset is initiated, the mouse is set to
Standard PS/2 mode.