irgesture3 2.1.0.0
|
Settings for registers of IR Gesture 3 Click driver. More...
Settings for registers of IR Gesture 3 Click driver.
#define IRGESTURE3_DEVICE_ADDRESS 0x64 |
IR Gesture 3 device address setting.
Specified setting for device slave address selection of IR Gesture 3 Click driver.
#define IRGESTURE3_DEVICE_ID 0x16 |
IR Gesture 3 device ID value.
Specified device ID value of IR Gesture 3 Click driver.
#define IRGESTURE3_DEVICE_ID_MASK 0xFF |
#define IRGESTURE3_DISTANCE_THRESHOLD 0.07f |
#define IRGESTURE3_FSAMPLE_500_HZ 500u |
#define IRGESTURE3_FSAMPLE_MAX 2000u |
#define IRGESTURE3_GESTURE_CLICK 0 |
#define IRGESTURE3_GESTURE_SWIPE_DOWN 2 |
#define IRGESTURE3_GESTURE_SWIPE_LEFT 3 |
#define IRGESTURE3_GESTURE_SWIPE_RIGHT 4 |
#define IRGESTURE3_GESTURE_SWIPE_UP 1 |
#define IRGESTURE3_GPIO_DRV_GPIO0_DRV_MASK 0x0002u |
#define IRGESTURE3_GPIO_DRV_GPIO0_ENA_MASK 0x0004u |
#define IRGESTURE3_GPIO_DRV_GPIO0_POL_MASK 0x0001u |
#define IRGESTURE3_GPIO_DRV_GPIO1_DRV_MASK 0x0200u |
IR Gesture 3 GPIO_DRV register settings.
Specified settings for GPIO_DRV register of IR Gesture 3 Click driver.
#define IRGESTURE3_GPIO_DRV_GPIO1_POL_MASK 0x0100u |
#define IRGESTURE3_ILED1_COARSE_COARSE_6 0x0006u |
#define IRGESTURE3_ILED1_COARSE_COARSE_MASK 0x000Fu |
#define IRGESTURE3_ILED1_COARSE_COARSE_MAX 0x000Fu |
#define IRGESTURE3_ILED1_COARSE_COARSE_MIN 0x0000u |
#define IRGESTURE3_ILED1_COARSE_RESERVED 0x1000u |
IR Gesture 3 ILED1_COARSE register settings.
Specified settings for ILED1_COARSE register of IR Gesture 3 Click driver.
#define IRGESTURE3_ILED1_COARSE_SCALE_100_PCT 0x2000u |
#define IRGESTURE3_ILED1_COARSE_SCALE_10_PCT 0x0000u |
#define IRGESTURE3_ILED1_COARSE_SCALE_MASK 0x2000u |
#define IRGESTURE3_ILED1_COARSE_SLEW_3 0x0030u |
#define IRGESTURE3_ILED1_COARSE_SLEW_MASK 0x0070u |
#define IRGESTURE3_ILED1_COARSE_SLEW_MAX 0x0070u |
#define IRGESTURE3_ILED1_COARSE_SLEW_MIN 0x0000u |
#define IRGESTURE3_INT_MASK_FIFO_INT_MASK 0x0100u |
#define IRGESTURE3_INT_MASK_RESERVED 0x009Fu |
IR Gesture 3 INT_MASK register settings.
Specified settings for INT_MASK register of IR Gesture 3 Click driver.
#define IRGESTURE3_INT_MASK_SLOTA_INT_MASK 0x0020u |
#define IRGESTURE3_INT_MASK_SLOTB_INT_MASK 0x0040u |
#define IRGESTURE3_INT_OSC 32000u |
IR Gesture 3 FSAMPLE register settings.
Specified settings for FSAMPLE register of IR Gesture 3 Click driver.
#define IRGESTURE3_INT_SEQ_A_INTEG_ORDER_A_1001 0x0009u |
IR Gesture 3 INT_SEQ_A register settings.
Specified settings for INT_SEQ_A register of IR Gesture 3 Click driver.
#define IRGESTURE3_INT_SEQ_A_INTEG_ORDER_A_MASK 0x000Fu |
#define IRGESTURE3_LIGHT_THRESHOLD 1000 |
#define IRGESTURE3_MATH_ENA_INT_AS_BUF_MASK 0x0080u |
#define IRGESTURE3_MATH_FLT_MATH12_A_ADD_1_2 0x0000u |
#define IRGESTURE3_MATH_FLT_MATH12_A_ADD_1_SUB_2 0x0002u |
#define IRGESTURE3_MATH_FLT_MATH12_A_MASK 0x0006u |
#define IRGESTURE3_MATH_FLT_MATH12_A_SUB_1_2 0x0006u |
#define IRGESTURE3_MATH_FLT_MATH12_A_SUB_1_ADD_2 0x0004u |
#define IRGESTURE3_MATH_FLT_MATH12_B_ADD_1_2 0x0000u |
#define IRGESTURE3_MATH_FLT_MATH12_B_ADD_1_SUB_2 0x0020u |
#define IRGESTURE3_MATH_FLT_MATH12_B_MASK 0x0060u |
#define IRGESTURE3_MATH_FLT_MATH12_B_SUB_1_2 0x0060u |
#define IRGESTURE3_MATH_FLT_MATH12_B_SUB_1_ADD_2 0x0040u |
#define IRGESTURE3_MATH_FLT_MATH34_A_ADD_1_2 0x0000u |
#define IRGESTURE3_MATH_FLT_MATH34_A_ADD_1_SUB_2 0x0100u |
#define IRGESTURE3_MATH_FLT_MATH34_A_MASK 0x0300u |
#define IRGESTURE3_MATH_FLT_MATH34_A_SUB_1_2 0x0300u |
#define IRGESTURE3_MATH_FLT_MATH34_A_SUB_1_ADD_2 0x0200u |
#define IRGESTURE3_MATH_FLT_MATH34_B_ADD_1_2 0x0000u |
IR Gesture 3 MATH register settings.
Specified settings for MATH register of IR Gesture 3 Click driver.
#define IRGESTURE3_MATH_FLT_MATH34_B_ADD_1_SUB_2 0x0400u |
#define IRGESTURE3_MATH_FLT_MATH34_B_MASK 0x0C00u |
#define IRGESTURE3_MATH_FLT_MATH34_B_SUB_1_2 0x0C00u |
#define IRGESTURE3_MATH_FLT_MATH34_B_SUB_1_ADD_2 0x0800u |
#define IRGESTURE3_MAX_NUM_SAMPLES 500 |
#define IRGESTURE3_MIN_NUM_SAMPLES 5 |
IR Gesture 3 gesture calculation values.
Specified gesture calculation values of IR Gesture 3 Click driver.
#define IRGESTURE3_MODE_NORMAL 0x0002u |
#define IRGESTURE3_MODE_PROGRAM 0x0001u |
#define IRGESTURE3_MODE_STANDBY 0x0000u |
IR Gesture 3 MODE register settings.
Specified settings for MODE register of IR Gesture 3 Click driver.
#define IRGESTURE3_NUM_AVG_SLOTA_1 0x0000u |
#define IRGESTURE3_NUM_AVG_SLOTA_128 0x0070u |
#define IRGESTURE3_NUM_AVG_SLOTA_16 0x0040u |
#define IRGESTURE3_NUM_AVG_SLOTA_2 0x0010u |
#define IRGESTURE3_NUM_AVG_SLOTA_32 0x0050u |
#define IRGESTURE3_NUM_AVG_SLOTA_4 0x0020u |
#define IRGESTURE3_NUM_AVG_SLOTA_64 0x0060u |
#define IRGESTURE3_NUM_AVG_SLOTA_8 0x0030u |
#define IRGESTURE3_NUM_AVG_SLOTA_MASK 0x0070u |
#define IRGESTURE3_NUM_AVG_SLOTB_1 0x0000u |
IR Gesture 3 NUM_AVG register settings.
Specified settings for NUM_AVG register of IR Gesture 3 Click driver.
#define IRGESTURE3_NUM_AVG_SLOTB_128 0x0700u |
#define IRGESTURE3_NUM_AVG_SLOTB_16 0x0400u |
#define IRGESTURE3_NUM_AVG_SLOTB_2 0x0100u |
#define IRGESTURE3_NUM_AVG_SLOTB_32 0x0500u |
#define IRGESTURE3_NUM_AVG_SLOTB_4 0x0200u |
#define IRGESTURE3_NUM_AVG_SLOTB_64 0x0600u |
#define IRGESTURE3_NUM_AVG_SLOTB_8 0x0300u |
#define IRGESTURE3_NUM_AVG_SLOTB_MASK 0x0700u |
#define IRGESTURE3_PD_LED_SELECT_SLOTA_LED_1 0x0001u |
#define IRGESTURE3_PD_LED_SELECT_SLOTA_LED_2 0x0002u |
#define IRGESTURE3_PD_LED_SELECT_SLOTA_LED_3 0x0003u |
#define IRGESTURE3_PD_LED_SELECT_SLOTA_LED_FLOAT 0x0000u |
#define IRGESTURE3_PD_LED_SELECT_SLOTA_LED_SEL_MASK 0x0003u |
#define IRGESTURE3_PD_LED_SELECT_SLOTA_PD_1234_NC_NC_NC 0x0030u |
#define IRGESTURE3_PD_LED_SELECT_SLOTA_PD_1_2_3_4 0x0050u |
#define IRGESTURE3_PD_LED_SELECT_SLOTA_PD_34_12_NC_NC 0x0010u |
#define IRGESTURE3_PD_LED_SELECT_SLOTA_PD_34_56_NC_NC 0x0060u |
#define IRGESTURE3_PD_LED_SELECT_SLOTA_PD_5678_NC_NC_NC 0x0070u |
#define IRGESTURE3_PD_LED_SELECT_SLOTA_PD_5_6_7_8 0x0040u |
#define IRGESTURE3_PD_LED_SELECT_SLOTA_PD_78_56_NC_NC 0x0020u |
#define IRGESTURE3_PD_LED_SELECT_SLOTA_PD_NC_NC_NC_NC 0x0000u |
#define IRGESTURE3_PD_LED_SELECT_SLOTA_PD_SEL_MASK 0x00F0u |
#define IRGESTURE3_PD_LED_SELECT_SLOTB_LED_1 0x0004u |
#define IRGESTURE3_PD_LED_SELECT_SLOTB_LED_2 0x0008u |
#define IRGESTURE3_PD_LED_SELECT_SLOTB_LED_3 0x000Cu |
#define IRGESTURE3_PD_LED_SELECT_SLOTB_LED_FLOAT 0x0000u |
#define IRGESTURE3_PD_LED_SELECT_SLOTB_LED_SEL_MASK 0x000Cu |
#define IRGESTURE3_PD_LED_SELECT_SLOTB_PD_1234_NC_NC_NC 0x0300u |
#define IRGESTURE3_PD_LED_SELECT_SLOTB_PD_1_2_3_4 0x0500u |
#define IRGESTURE3_PD_LED_SELECT_SLOTB_PD_34_12_NC_NC 0x0100u |
#define IRGESTURE3_PD_LED_SELECT_SLOTB_PD_34_56_NC_NC 0x0600u |
#define IRGESTURE3_PD_LED_SELECT_SLOTB_PD_5678_NC_NC_NC 0x0700u |
#define IRGESTURE3_PD_LED_SELECT_SLOTB_PD_5_6_7_8 0x0400u |
#define IRGESTURE3_PD_LED_SELECT_SLOTB_PD_78_56_NC_NC 0x0200u |
#define IRGESTURE3_PD_LED_SELECT_SLOTB_PD_NC_NC_NC_NC 0x0000u |
IR Gesture 3 PD_LED_SELECT register settings.
Specified settings for PD_LED_SELECT register of IR Gesture 3 Click driver.
#define IRGESTURE3_PD_LED_SELECT_SLOTB_PD_SEL_MASK 0x0F00u |
#define IRGESTURE3_SAMPLE_CLK_CLK32K_ADJUST_MASK 0x003Fu |
#define IRGESTURE3_SAMPLE_CLK_CLK32K_BYP_MASK 0x0100u |
#define IRGESTURE3_SAMPLE_CLK_CLK32K_EN_MASK 0x0080u |
#define IRGESTURE3_SAMPLE_CLK_RESERVED 0x2600u |
IR Gesture 3 SAMPLE_CLK register settings.
Specified settings for SAMPLE_CLK register of IR Gesture 3 Click driver.
#define IRGESTURE3_SLOT_EN_FIFO_OVRN_PREVENT_MASK 0x1000u |
#define IRGESTURE3_SLOT_EN_RDOUT_MODE_MASK 0x2000u |
IR Gesture 3 SLOT_EN register settings.
Specified settings for SLOT_EN register of IR Gesture 3 Click driver.
#define IRGESTURE3_SLOT_EN_SLOTA_EN_MASK 0x0001u |
#define IRGESTURE3_SLOT_EN_SLOTA_FIFO_MODE_MASK 0x001Cu |
#define IRGESTURE3_SLOT_EN_SLOTB_EN_MASK 0x0020u |
#define IRGESTURE3_SLOT_EN_SLOTB_FIFO_MODE_MASK 0x01C0u |
#define IRGESTURE3_SLOTA_AFE_WINDOW_OFFSET_23_5_US 0x02F0u |
#define IRGESTURE3_SLOTA_AFE_WINDOW_OFFSET_MASK 0x07FFu |
#define IRGESTURE3_SLOTA_AFE_WINDOW_WIDTH_4_US 0x2000u |
IR Gesture 3 SLOTA_AFE_WINDOW register settings.
Specified settings for SLOTA_AFE_WINDOW register of IR Gesture 3 Click driver.
#define IRGESTURE3_SLOTA_AFE_WINDOW_WIDTH_MASK 0xF800u |
#define IRGESTURE3_SLOTA_NUMPULSES_PERIOD_15_US 0x000Eu |
#define IRGESTURE3_SLOTA_NUMPULSES_PERIOD_MASK 0x00FFu |
#define IRGESTURE3_SLOTA_NUMPULSES_PULSES_4 0x0400u |
IR Gesture 3 SLOTA_NUMPULSES register settings.
Specified settings for SLOTA_NUMPULSES register of IR Gesture 3 Click driver.
#define IRGESTURE3_SLOTA_NUMPULSES_PULSES_MASK 0xFF00u |
#define IRGESTURE3_STATUS_CLEAR 0xFFFFu |
#define IRGESTURE3_STATUS_FIFO_SAMPLES_MASK 0xFF00u |
IR Gesture 3 STATUS register settings.
Specified settings for STATUS register of IR Gesture 3 Click driver.
#define IRGESTURE3_STATUS_SLOTA_INT_MASK 0x0020u |
#define IRGESTURE3_STATUS_SLOTB_INT_MASK 0x0040u |
#define IRGESTURE3_SW_RESET 0x0001u |
IR Gesture 3 SW_RESET register settings.
Specified settings for SW_RESET register of IR Gesture 3 Click driver.
#define IRGESTURE3_TIMEOUT_MS 5000u |
IR Gesture 3 timeout value for data ready.
Specified timeout value for data ready of IR Gesture 3 Click driver.