20
Gesture Mode Controls
Bank Register Name Addr Bits
Default
Value R/W Description
0 R_LightThd 0x83 7:0 0x20 R/W If pixel > R_LightThd, it is taken as part of the object
Example :
Pixel array : [10 10 40 40 40 10],
R_LightThd = 32
≥ Object array: [0 0 40 40 40 0]
0 R_GestureStartTh 0x84 7:0 0x20 R/W Low byte of gesture start threshold,
if object size > R_GestureStartTh, state machine goes to
“Has Object” state
0 R_GestureStartTh 0x85 1:0 0x00 R/W High byte of gesture start threshold,
if object size > R_GestureStartTh, state machine goes to
“Has Object” state
0 R_GestureEndTh 0x86 7:0 0x10 R/W Low byte of gesture end threshold,
if object size < R_GestureEndTh, state machine goes out
of “Has Object” state
0 R_GestureEndTh 0x87 1:0 0x00 R/W High byte of gesture end threshold,
if object size < R_GestureEndTh, state machine goes out
of “Has Object” state
0 R_ObjectMinZ 0x88 4:0 0x05 R/W Z direction minimum threshold
0 R_ObjectMaxZ 0x89 5:0 0x18 R/W Z direction maximum threshold
0 R_ProcessResolution 0x8C 5:4 0x03 R/W Resolution of the gesture detection object
0 R_TimeDelayNum 0x8D 7:0 0x00 R/W Detection gap between this gesture and the next gesture
0 R_Disable45Degree 0x8E 0 0x00 R/W 45 degree gesture detection
1: Disable 45 degree gesture detection
0 R_45DegreeRatio 0x8E 7:4 0xF0 R/W Ratio to de ne 45 degree
0 R_XtoYGain 0x8F 0 0x01 R/W X and Y direction gain enable
0 R_XYGainRatio 0x8F 7:4 0x08 R/W X and Y direction gain ratio
0 R_NoMotionCountThd 0x90 6:0 0x0C R/W “No Motion Counter Threshold” to quit “Has Motion” state
0 R_NoObjectCountThd 0x91 6:0 0x06 R/W “No Object Counter Threshold” to quit “Has Object” state
0 R_NormalizedImageWidth 0x92 4:0 0x1E R/W Image normalized factor
0 R_XDirectionThd 0x93 4:0 0x0D R/W Gesture detection horizontal threshold
0 R_YDirectionThd 0x94 4:0 0x0A R/W Gesture detection vertical threshold
0 R_ZDirectionThd 0x95 4:0 0x0C R/W Gesture detection z direction threshold
0 R_ZDirectionXYThd 0x96 4:0 0x0A R/W Gesture detection x and y threshold to detect forward or
backward
0 R_ZDirectionAngleThd 0x97 3:0 0x04 R/W Gesture detection angle threshold to detect forward or
backward
0 R_RotateAngleThd 0x98 5:0 0x0A R/W Gesture detection angle threshold to detect rotation
0 R_RotateContiEnH 0x99 0 0x01 R/W Continuous rotation gesture detection enable
0 R_RotateContiThd 0x99 5:1 0x00 R/W Continuous rotation gesture detection angle threshold
0 R_RotateXYThd 0x9A 4:0 0x0A R/W Gesture detection x and y threshold to detect rotation
0 R_RotateZThd 0x9B 4:0 0x0A R/W Gesture detection z threshold to detect rotation
0 R_FilterWeight 0x9C 1:0 0x03 R/W IIR lter weight between frame position distance
0 R_FilterDistThd 0x9C 6:2 0x0A R/W IIR lter frame position distance threshold
0 R_StartDistThd 0x9D 3:0 0x03 R/W Object position di erence between frames threshold to
enter the process state
0 R_EndDistThd 0x9D 6:4 0x03 R/W Object position di erence between frames threshold to
quit the process state
0 R_RotateEnH 0x9F 4 0x01 R/W Rotate gesture detection enable
0 R_ZDirectionEnH 0x9F 5 0x01 R/W Backward and forward gesture detection enable
0 R_YDirectionEnH 0x9F 6 0x01 R/W Up and down gesture detection enable
0 R_XDirectionEnH 0x9F 7 0x01 R/W Left and right gesture detection enable
0 R_FilterImage 0xA5 0 0x01 R/W Refer to R_FilterAverage_Mode