User Manual
32
Gesture Conguration Three Register (0xAA)
The Gesture Conguration Three Register contains settings that govern which gesture photodiode pair: UP-DOWN and/
or RIGHT-LEFT will be enabled (have valid data in FIFO) while the gesture state machine is collecting directional data.
Normal mode enables all four gesture photodiodes and places data into FIFO as expected. Disabling a photodiode pair,
essentially allows the enabled pair to collect data twice as fast. Data stored in the FIFO for a disabled pair is not valid.
This feature is useful to improve reliability and accuracy of gesture detection when only one-dimensional gestures are
expected.
Field Bits Description
RESERVED 7:2 Reserved. Write as 0.
GDIMS 1:0 Gesture Dimension Select. Selects which gesture photodiode pairs are enabled to gather
results during gesture.
FIELD VALUE GESTURE DIRECTION
0 Both pairs are active. UP-DOWN and LEFT-RIGHT FIFO data is valid.
1 Only the UP-DOWN pair is active. Ignore LEFT-RIGHT data in FIFO.
2 Only the LEFT-RIGHT pair is active. Ignore UP-DOWN data in FIFO.
3 Both pairs are active. UP-DOWN and LEFT-RIGHT FIFO data is valid.
Gesture Conguration Four Register (0xAB)
The Gesture Conguration Four Register contains settings that govern Gesture interrupts and interrupt clearing/reset
as well as operation mode control and status.
Field Bits Description
RESERVED 7:2 Reserved. Write as 0.
GIEN 1 Gesture interrupt enable. Gesture Interrupt Enable. When asserted, all gesture related
interrupts are unmasked.
GMODE 0 Gesture Mode. Reading this bit reports if the gesture state machine is actively running, 1
= Gesture, 0= ALS, Proximity, Color. Writing a 1 to this bit causes immediate entry in to the
gesture state machine (as if GPENTH had been exceeded). Writing a 0 to this bit causes exit of
gesture when current analog conversion has nished (as if GEXTH had been exceeded).
Gesture FIFO Level Register (0xAE)
The GFLVL Register indicates the number of datasets that are currently available in the FIFO for read. Reading a complete
FIFO dataset (from address 0xFC to 0xFF) constitutes the reduction of the GPENTH register by one.
Field Bits Description
GFLVL 7:0 Gesture FIFO Level. This register indicates how many four byte data points - UDLR are ready for
read over I2C. One four-byte dataset is equivalent to a single count in GFLVL.