DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

HT6523-16 查看數據表(PDF) - Holtek Semiconductor

零件编号
产品描述 (功能)
生产厂家
HT6523-16
Holtek
Holtek Semiconductor Holtek
HT6523-16 Datasheet PDF : 9 Pages
1 2 3 4 5 6 7 8 9
HT6523
The response must be within 20ms, unless the host
inhibits the mouse output or inhibits the data transmis-
sions from the system that require a response. If the
host initiates a command or data transmission and the
response is invalid or has a parity error, the host re-
transmits the command or data. If after two retries the
response is still invalid or has a parity error, the host
resets the mouse.
Data Format
The following data report format is valid for the stream
and remote modes and is 3 bytes long:
Byte Bit
Description
3 7 MSB of Y Data
6-1 Y Data
0 LSB of Y Data
2 7 MSB of X Data
6-1 X Data
0 LSB of X Data
1 7 Y Data Overflow 1=Overflow
6 X Data Overflow 1=Overflow
5 Y Data sign 1=Negative
4 X Data sign 1=Negative
3 Reserved always=1
2 Reserved for middle Button
1 Right Button Status 1=Pressed
0 Left Button Status 1=Pressed
Commands
· The following table lists all the valid commands:
Hex Code
Command
FF
Reset
FE
Resend
F6
Set default
F5
Disable
F4
Enable
F3
Set sampling rate
F2
Read device type
F0
Set remote mode
EE
Set wrap mode
EC
Reset wrap mode
EB
Read data
EA
Set stream mode
E9
Status request
E8
Set resolution
E7
Set scaling 2:1
E6
Reset scaling
· The following describe valid commands:
Hex Code Command
Description
FF
Reset
This command cause the mouse to enter a reset mode and do an internal self-test.
FE
Resend
The system can send this command when it detects an error in any transmission
from the mouse. The Resend command could be sent following a mouse transmis-
sion and before the system enables the interface allowing the next mouse output.
On receipt of Resend, the mouse retransmits the previous three bytes if the previ-
ous output was a 3-byte packet. The previous two bytes if the previous output was a
2-byte packet, and the previous one byte if the previous output was a 1-byte packet,
unless the previous output from the mouse was a Resent command. In this case,
the mouse will resend the previous output prior to the Resend command. If a Re-
send command is received by the mouse from the host immediately following a
3-byte data packet transmission from the mouse to the host while the mouse is in
stream mode. The mouse should resend the 3-byte data packet prior to clearing the
count accumulators.
F6
Set default
This command reinitializes all conditions to the power-on default state.
F5
Disable
This command is used in the stream mode to stop transmissions initiated from the
mouse. It responds to all other commands while disabled. If the mouse is in the
stream mode, it must be disabled before sending it any command that requires a
response.
F4
Enable
Begin transmission, if in stream mode
F3, XX
Set sampling
rate
In the stream mode, this command sets the sampling rate to the value indicated by
bytes hex XX shown in the following figure:
Second Byte hex XX (sample rate): hex 0A (10/sec), hex 14 (20/sec),
hex 28 (40/sec), hex 3C (60/sec), hex 50 (80/sec), hex 64 (100/sec),
hex C8 (200/sec)
F2
Read device type This command always receives a response of hex 00
Rev. 1.20
4
March 6, 2003

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]