PixArt Imaging Inc.
PAW3102DB
0x16
Bit
Field
Usage
7
Motion
6
5
Reserved[2:1]
Motion_Status
4
DYOVF
3
DXOVF
2
Reserved[0]
1
RES[1:0]
0
CMOS Optical Mouse Sensor
Register 0x16 allows the user to determine if motion has occurred since the last time it was read. If
so, then the user should read registers 0x17 and 0x18 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[2:1]
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 = 1000 (Default)
1 = 1200
2 = 1600
3 = 800
Delta_X
6
X6
5
X5
4
X4
3
X3
2
X2
1
X1
0
X0
DXOVF
Reserved[0]
RES[1:0]
0x17
Bit
Field
Usage
0x18
Bit
Field
Usage
7
Y7
6
Y6
5
Y5
4
Y4
7
X7
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
.
7
V1.2, April. 2008
PixArt Imaging Inc.
E-mail:
fae_service@pixart.com.tw