PixArt Imaging Inc.
Low Power LED Integrated Slim Mouse Sensor
Pixel_Sum
Address: 0x09
Reset Value: Undefined
Access: Read
Bit
Field
7
6
5
4
3
2
1
0
AP7
AP6
AP5
AP4
AP3
AP2
AP1
AP0
Data Type:
USAGE:
High 8 bits of an unsigned 17-bit integer
This register is used to find the average pixel value. It reports the seven bits of a 16-bit counter, which
sums all pixels in the current frame. It may be described as the full sum divided by 512. To find the
average pixel value, use the following formula:
Average Pixel = Register Value * 128/121 = Register Value * 1.06
The maximum register value is 240. The minimum is 0. The pixel sum value can change on every
frame.
Minimum_Pixel
Address: 0x0a
Access: Read
Reset Value: Undefined
Bit
Field
7
6
5
4
3
2
1
0
MP7
MP6
MP5
MP4
MP3
MP2
MP1
MP0
Data Type:
USAGE:
Eight-bit number
Minimum Pixel value in current frame. Minimum value = 0, maximum value = 254. The minimum pixel
value can vary with every frame.
Pixel_Grab
Address: 0x0b
Access: Read/Write
Reset Value: Undefined
Bit
7
6
5
4
3
2
1
0
Field
PD7
PD6
PD5
PD4
PD3
PD2
PD1
PD0
Data Type:
USAGE:
Eight-bit word
For test purposes, the sensor will read out the contents of the pixel array, one pixel per frame. To start
a pixel grab, write anything to this register to reset the pointer to pixel 0,0. Then read the PIXRDY bit
in the Motion register. When the PIXRDY bit is set, there is valid data in this register to read out. After
the data in this register is read, the pointer will automatically increment to the next pixel. Reading may
continue indefinitely; once a complete frame’s worth of pixels has been read, PIXFIRST will be set to
high to indicate the start of the first pixel and the address pointer will start at the beginning location
again.
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
20