HT6523 Holtek Semiconductor Inc., HT6523 Datasheet - Page 5

no-image

HT6523

Manufacturer Part Number
HT6523
Description
Ps/2 Mouse Controller
Manufacturer
Holtek Semiconductor Inc.
Datasheet
Rev. 1.20
F0
EE
EC
EB
EA
E9
E8, XX
E7
E6
Hex Code
Set remote mode
Set wrap mode
Reset wrap mode This command resets the wrap mode
Read data
Set stream mode
Status request
Set resolution
Set scaling 2:1
Reset scaling
Command
This command sets the remote mode. Data values are reported only in response to
a Read Data command.
This command sets the wrap mode. This mode remains until hex FF or hex EC is
received.
This command requests that all data defined in the data packet format be transmit-
ted. This command is executed in either remote or stream mode. The data is trans-
mitted even if there has been no movement since the last report or the switch status
is unchanged. Following a Read Data command, the accumulators are cleared af-
ter a data transmission.
This command sets the stream mode
When this command is issued by the system, the mouse responds with a 3-byte
status report as follows:
The mouse provides four resolutions selected by the second byte of this command
as follows:
Scaling is used to provide a course/fine tracking response. At the end of a sample
interval in the stream mode, the current X and Y data values are converted to new
values. The sign bits are not involved in this conversion. 2:1 scaling is only per-
formed in stream mode. In response to a Read Data command, the mouse will
transmit the current value before conversion.
This command restores 1:1 scaling
3
2
1
Second Byte
Byte
hex XX
hex 00
hex 01
hex 02
hex 03
0~7
0~7
7
6
5
4
3
2
1
0
N (³6)
Input
0
1
2
3
4
5
Bit
200 DPI
5
1
2
4
8
Current sampling rate
Current resolution setting
always = 0
0 = Stream mode, 1 = Remote mode
0 = Disabled, 1 = Enabled
0 = Scaling 1:1, 1 = Scaling 2:1
always = 0
1 = Left button pressed
Reserved for middle button
1 = Right button pressed
Resolution (Counts per mm)
Description
320 DPI
12
1
3
6
Description
Output
2.0 ´ N
0
1
1
3
6
9
400 DPI
16
2
4
8
March 6, 2003
HT6523

Related parts for HT6523