PixArt Imaging Inc.
ADBS-A350 Optical Finger Navigation
EVENT
Access: Read/Write
Address: 0x02
Reset Value: Any
7
6
5
4
3
2
1
0
Bit
MOT
PIXRDY
PIXFIRST
OVFL
RESET_ST
BUT_CLICK SOFT_CLICK FPD
Field
Data Type: Bit field.
USAGE: Event detect register (0x02) allows user to determine if any event interrupts (FPD, Motion, Soft click or Button
click) has occurred since the last time it was read. If the MOT bit is set, then the user should read registers 0x03
and 0x04 to get the accumulated motion. Read this register before reading the Delta_Y and Delta_X registers.
Writing anything to this register clears the MOT and OVFL bits, Delta_Y and Delta_X registers. The written data
byte is not saved.
Internal buffers can accumulate more than eight bits of motion for X or Y. If any of the internal buffers overflow,
then absolute path data is lost and the OVFL bit is set. This bit is cleared once some motion has been read from
the Delta_X and Delta_Y registers, and if the buffers are not at full scale. Since more data is present in the buffers,
the cycle of reading the Event, Delta_X and Delta_Y registers should be repeated until the motion bit (MOT) is
cleared. If the Event register has not been read for long time, at 500 cpi it may take up to 16 read cycles to clear
the buffers, at 1000 cpi, up to 32 cycles. To clear an overflow, write anything to this register.
The PIXRDY bit will be set whenever a valid pixel data byte is ready and available in the Pixel_Dump register.
Check that this bit is set before reading from Pixel_Dump. To ensure that the Pixel_Grab pointer has been reset
to pixel 0,0 on the initial write to Pixel_Grab, check to see if PIXFIRST is set to high.
Field Name
Description
MOT
Motion since last report
0 = No motion
1 = Motion occurred, data ready for reading in Delta_X and Delta_Y registers
Bit reset when motion data in Delta_X and Delta_Y registers are cleared
PIXRDY
Pixel Dump data byte is available in Pixel_Dump register
0 = data not available
1 = data available
PIXFIRST
This bit is set when the Pixel_Grab register is written to or when the complete
pixel array has been read, initiating an increment to pixel 0,0.
0 = Pixel_Grab data not from pixel 0,0
1 = Pixel_Grab data is from pixel 0,0
OVF
Motion overflow, Y and/or X buffer has overflowed since last report
0 = no overflow
1 = Overflow has occurred
RESET_ST
Reset status bit. Any internal or external reset will set this bit. Write anything to
this register to clear it.
0 = No reset
1 = Reset occurred
BUT_CLICK
SOFT_CLICK
FPD
Button click report
0 = No Button click
1 = Button click occurred
Bit clear or reset by reading BUTTON_STATUS (0x12) register
Soft click report
0 = No Soft click
1 = Soft click occurred
Bit clear or reset by reading SC_STATUS (0x7F) register
Finger presence detect bit reports a change in finger state (finger on to finger
off and vice versa)
0 = No finger state change detected
1 = Finger state change detected
Bit clear or reset by reading FPD_STATUS (0x7A) register
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
29
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw