PixArt Imaging Inc.
Track-on-Glass Laser Sensor
MOTION
Address: 0x02
Reset Value: 0x00
Access: R
Bit
Field
7
6
5
4
3
2
1
0
MOT FAULT LP_Valid Reserved Reserved OP_Mode1 OP_Mode0 FRAME_Pix_First
Data Type: Bit field
USAGE:
MOTION register 0x02 allows the user to determine if motion has occurred since the last time it was read. If
the MOT bit is set, Delta_X_L, Delta_X_H, Delta_Y_L and Delta_Y_H registers should be read in sequence
to get the accumulated motion. (Note: Read register Delta_X_L before the subsequently read Delta_X_H,
Delta_Y_L and Delta_Y_H registers in order to freeze Delta_X_H, Delta_Y_L and Delta_Y_H register values).
Writing anything to MOTION register 0x02 clears the entire register, Delta_X_L, Delta_X_H, Delta_Y_L and
Delta_Y_H registers. The written data byte is not saved.
This register also indicates if a laser fault was detected.
Field Name
Description
MOT
Motion since last report or Shutdown
0 = No motion
1 = Motion occurred, data ready for reading in Delta_X_L, Delta_X_H,
Delta_Y_L and Delta_Y_H registers
FAULT
Indicates that the XY_LASER is shorted to GND.
0 = no fault detected
1 = fault detected
LP_Valid
Laser power settings
0 = LASER_CTRL0 and LASER_CTRL1 registers and/or LP_CFG0 and LP_CFG1
registers do not have complementary values
1 = laser power is valid
OP_Mode[1:0]
Operating mode of the sensor
00 = Run mode
01 = Rest 1
10 = Rest 2
11 = Rest 3
FRAME_Pix_First
This bit is set to indicate first pixel in frame capture.
0 = Frame capture data not from pixel 0,0
1 = Frame capture data is from pixel 0,0
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
22