PixArt Imaging Inc.
PAW3601DH
0x02
Bit
Field
Usage
7
Motion
6
5
Reserved[3:2]
Motion_Status
4
DYOVF
3
DXOVF
2
Reserved[1:0]
1
0
RES
CMOS Laser Mouse Sensor
Register 0x02 allows the user to determine if motion has occurred since the last time it was read. If
so, then the user should read registers 0x03 and 0x04 to get the accumulated motion. It also tells if the
motion buffers have overflowed since the last reading. The current resolution is also shown.
Reading this register freezes the
Delta_X
and
Delta_Y
register values. Read this register before
reading the
Delta_X
and
Delta_Y
registers. If
Delta_X
and
Delta_Y
are not read before the motion
register is read a second time, the data in
Delta_X
and
Delta_Y
will be lost.
Notes
Field Name
Motion
Reserved[3:2]
DYOVF
Description
Motion since last report or PD
0 = No motion (Default)
1 = Motion occurred, data ready for reading in
Delta_X
and
Delta_Y
registers
Reserved for future use
Motion Delta Y overflow,
ΔY
buffer has overflowed since last report
0 = No overflow (Default)
1 = Overflow has occurred
Motion Delta X overflow,
ΔX
buffer has overflowed since last report
0 = No overflow (Default)
1 = Overflow has occurred
Reserved for future use
Resolution in counts per inch
0 = 1600
1 = 800
Delta_X
DXOVF
Reserved[1:0]
RES
0x03
Bit
Field
Usage
0x04
Bit
Field
Usage
7
Y7
6
Y6
5
Y5
4
Y4
7
X7
6
X6
5
X5
4
X4
3
X3
2
X2
1
X1
0
X0
X movement is counts since last report. Absolute value is determined by resolution. Reading clears
the register. Report range –128 ~ +127.
Delta_Y
3
Y3
2
Y2
1
Y1
0
Y0
Y movement is counts since last report. Absolute value is determined by resolution. Reading clears
the register. Report range –128 ~ +127.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission
.
6
V2.2, Aug. 2007
PixArt Imaging Inc.
E-mail:
fae_service@pixart.com.tw