User Manual

28
Gesture Exit Threshold Register (0xA1)
The Gesture Proximity Exit Threshold Register value compares all non-masked gesture detection photodiodes (UDLR).
Gesture state machine exit is also governed by the value in the Gesture Exit Persistence register, GEPERS.
Field Bits Description
GEXTH 7:0 Gesture Exit Threshold. This register sets the threshold value used to determine a gesture end”
and subsequent exit of the gesture state machine. Setting GTHR_OUT to 0x00 will prevent
gesture exit until GMODE is set to 0.
Gesture Conguration One Register (0xA2)
The Gesture Conguration One Register contains settings that govern gesture detector masking, FIFO interrupt genera-
tion and gesture exit persistence lter.
Field Bits Description
GFIFOTH 7:6 Gesture FIFO Threshold. This value is compared with the FIFO Level (i.e. the number of UDLR
datasets) to generate an interrupt (if enabled).
FIELD VALUE THRESHOLD
0 Interrupt is generated after 1 dataset is added to FIFO
1 Interrupt is generated after 4 datasets are added to FIFO
2 Interrupt is generated after 8 datasets are added to FIFO
3 Interrupt is generated after 16 datasets are added to FIFO
GEXMSK 5:2 Gesture Exit Mask. Controls which of the gesture detector photodiodes (UDLR) will be included
to determine a gesture end” and subsequent exit of the gesture state machine. Unmasked
UDLR data will be compared with the value in GTHR_OUT. Field value bits correspond to UDLR
detectors.
FIELD VALUE EXIT MASK
0000 All UDLR detector data will be included in sum
0001 R detector data will not be included in sum
0010 L detector data will not be included in sum
0100 D detector data will not be included in sum
1000 U detector data will not be included in sum
0101
0110 L and D detector data will not be included in sum
1111 All UDLR detector data will not be included in sum
GEXPERS 1:0 Gesture Exit Persistence. When a number of consecutive gesture end” occurrences become
equal or greater to the GEPERS value, the Gesture state machine is exited.
FIELD VALUE PERSISTENCE
0 1st 'gesture end' occurrence results in gesture state machine exit.
1 2nd 'gesture end' occurrence results in gesture state machine exit.
2 4th 'gesture end' occurrence results in gesture state machine exit.
3 7th 'gesture end' occurrence results in gesture state machine exit.