adns-4700 Avago Technologies, adns-4700 Datasheet - Page 25

no-image

adns-4700

Manufacturer Part Number
adns-4700
Description
Single Chip Usb Optical Mouse Sensor
Manufacturer
Avago Technologies
Datasheet
USB Data Packet Format
25
Get_HID_Input
Returns:
Default:
Addressed:
Confi gured:
Notes:
Bit
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Get_Idle
Returns:
Default:
Addressed:
Confi gured:
Notes:
Get_Vendor_Test
Returns:
Default:
Addressed:
Confi gured:
Notes:
7
0
X7
Y3
Y11
Z7
0
6
0
X6
Y2
Y10
Z6
0
A1 01 00 01 00 00 nn 00
nn = 06 (12 bit reporting)
bb xx yx yy zz 00
bb = button byte
xx = X motion byte
yx = XY motion byte
yy = Y motion byte
zz = Z motion byte
Stall
Stall
Accept
If the device is confi gured, it will always respond with a report for this command, even if no motion
or button changes have occurred. In this case, it would report 00 for motion and simply report the
current button state. If a report is pending on endpt1, the data there will be reported and the report
on endpt1 cleared.
The mouse will only create new button/motion packets when it is in the Confi gured state
5
0
X5
Y1
Y9
Z5
0
A1 02 00 00 00 00 01 00
rr
rr = rate in multiples of 4 mS
Accept
Accept
Accept
The third byte of the command is to select the Report ID. There is only one for the mouse – so, using
00 or 01 will work. See also Set_Idle.
C0 01 00 00 xx 00 01 00
ii = ignore
xx = address of register to read
rr (depends on register read)
Accept
Accept
Accept
Address range (xx) is datasheet register range
4
0
X4
Y0
Y8
Z4
0
3
0
X3
X11
Y7
Z3
0
2
B3(MB) B2(RB)
X2
X10
X6
Z2
0
1
X1
X9
X5
Z1
0
0
B1(LB)
X0
X8
X4
Z0
0

Related parts for adns-4700