irsense4 2.1.0.0
|
Settings for registers of IR Sense 4 Click driver. More...
Settings for registers of IR Sense 4 Click driver.
#define IRSENSE4_AVG_TRIM_T_1 0x30 |
#define IRSENSE4_AVG_TRIM_T_2 0x20 |
#define IRSENSE4_AVG_TRIM_T_4 0x10 |
#define IRSENSE4_AVG_TRIM_T_8 0x00 |
#define IRSENSE4_AVG_TRIM_T_BIT_MASK 0x30 |
#define IRSENSE4_AVG_TRIM_TMOS_1024 0x06 |
#define IRSENSE4_AVG_TRIM_TMOS_128 0x03 |
#define IRSENSE4_AVG_TRIM_TMOS_2 0x00 |
IR Sense 4 description of selection number of averages for ambient and object temperature.
Specified setting description of selection number of averages for ambient and object temperature of IR Sense 4 Click driver.
#define IRSENSE4_AVG_TRIM_TMOS_2048 0x07 |
#define IRSENSE4_AVG_TRIM_TMOS_256 0x04 |
#define IRSENSE4_AVG_TRIM_TMOS_32 0x02 |
#define IRSENSE4_AVG_TRIM_TMOS_512 0x05 |
#define IRSENSE4_AVG_TRIM_TMOS_8 0x01 |
#define IRSENSE4_AVG_TRIM_TMOS_BIT_MASK 0x07 |
#define IRSENSE4_CTRL0_DEFAULT 0x81 |
#define IRSENSE4_CTRL0_GAIN_1 0x00 |
IR Sense 4 description of temperature gain mode.
Specified setting description of temperature gain mode of IR Sense 4 Click driver.
#define IRSENSE4_CTRL0_GAIN_2 0x10 |
#define IRSENSE4_CTRL0_GAIN_3 0x20 |
#define IRSENSE4_CTRL0_GAIN_4 0x30 |
#define IRSENSE4_CTRL0_GAIN_5 0x40 |
#define IRSENSE4_CTRL0_GAIN_6 0x50 |
#define IRSENSE4_CTRL0_GAIN_7 0x60 |
#define IRSENSE4_CTRL0_GAIN_8 0x70 |
#define IRSENSE4_CTRL1_BDU_DIS 0x00 |
#define IRSENSE4_CTRL1_BDU_EN 0x01 |
#define IRSENSE4_CTRL1_ODR_0_25 0x01 |
#define IRSENSE4_CTRL1_ODR_0_5 0x02 |
#define IRSENSE4_CTRL1_ODR_1 0x03 |
#define IRSENSE4_CTRL1_ODR_15 0x07 |
#define IRSENSE4_CTRL1_ODR_2 0x04 |
#define IRSENSE4_CTRL1_ODR_30 0x08 |
#define IRSENSE4_CTRL1_ODR_4 0x05 |
#define IRSENSE4_CTRL1_ODR_8 0x06 |
#define IRSENSE4_CTRL1_ODR_BIT_MASK 0x0F |
#define IRSENSE4_CTRL1_ODR_POWER_DOWN 0x00 |
IR Sense 4 description of block data update for output and ODR configuration.
Specified setting description of block data update for output and ODR configuration of IR Sense 4 Click driver.
#define IRSENSE4_CTRL2_F_CFG_ACCESS_DIS 0x00 |
#define IRSENSE4_CTRL2_F_CFG_ACCESS_EN 0x10 |
#define IRSENSE4_CTRL2_ONE_SHOT_DIS 0x00 |
IR Sense 4 description of one shot mode.
Specified setting description of one shot mode of IR Sense 4 Click driver.
#define IRSENSE4_CTRL2_ONE_SHOT_EN 0x01 |
#define IRSENSE4_CTRL3_BIT_MASK 0x38 |
#define IRSENSE4_CTRL3_IEN_BIT_MASK 0x03 |
#define IRSENSE4_CTRL3_IEN_DRDY 0x01 |
#define IRSENSE4_CTRL3_IEN_HIGH_Z 0x00 |
IR Sense 4 description of interrupt configuration.
Specified setting description of interrupt configuration of IR Sense 4 Click driver.
#define IRSENSE4_CTRL3_IEN_INT_OR 0x02 |
#define IRSENSE4_CTRL3_INT_H_L_HIGH 0x00 |
#define IRSENSE4_CTRL3_INT_H_L_LOW 0x80 |
#define IRSENSE4_CTRL3_INT_LATCHED_LAT 0x04 |
#define IRSENSE4_CTRL3_INT_LATCHED_PLS 0x00 |
#define IRSENSE4_CTRL3_INT_MSK_MOT 0x10 |
#define IRSENSE4_CTRL3_INT_MSK_PRES 0x20 |
#define IRSENSE4_CTRL3_INT_MSK_T_SHOCK 0x08 |
#define IRSENSE4_CTRL3_PP_OD_OPEN_DRAIN 0x04 |
#define IRSENSE4_CTRL3_PP_OD_PUSH_PULL 0x00 |
#define IRSENSE4_DEVICE_ADDRESS 0x5A |
IR Sense 4 device address setting.
Specified setting for device slave address selection of IR Sense 4 Click driver.
#define IRSENSE4_DEVICE_ID 0xD3 |
IR Sense 4 description of device identification value.
Specified setting device identification – Who am I value of IR Sense 4 Click driver.
#define IRSENSE4_EMB_PAGE_RW_READ_DIS 0x00 |
IR Sense 4 description of embedded functions data values.
Specified setting description of embedded functions data values of IR Sense 4 Click driver.
#define IRSENSE4_EMB_PAGE_RW_READ_EN 0x20 |
#define IRSENSE4_EMB_PAGE_RW_WRITE_DIS 0x00 |
#define IRSENSE4_EMB_PAGE_RW_WRITE_EN 0x40 |
#define IRSENSE4_LPF1_M_BIT_MASK 0x07 |
#define IRSENSE4_LPF1_M_ODR_100 0x03 |
#define IRSENSE4_LPF1_M_ODR_20 0x01 |
#define IRSENSE4_LPF1_M_ODR_200 0x04 |
#define IRSENSE4_LPF1_M_ODR_400 0x05 |
#define IRSENSE4_LPF1_M_ODR_50 0x02 |
#define IRSENSE4_LPF1_M_ODR_800 0x06 |
#define IRSENSE4_LPF1_M_ODR_9 0x00 |
IR Sense 4 description of low-pass filter configuration for motion and presence detection.
Specified setting low-pass filter configuration for motion and presence detection of IR Sense 4 Click driver.
#define IRSENSE4_LPF1_P_M_ODR_100 0x18 |
#define IRSENSE4_LPF1_P_M_ODR_20 0x08 |
#define IRSENSE4_LPF1_P_M_ODR_200 0x20 |
#define IRSENSE4_LPF1_P_M_ODR_400 0x28 |
#define IRSENSE4_LPF1_P_M_ODR_50 0x10 |
#define IRSENSE4_LPF1_P_M_ODR_800 0x30 |
#define IRSENSE4_LPF1_P_M_ODR_9 0x00 |
#define IRSENSE4_LPF2_A_T_BIT_MASK 0x07 |
#define IRSENSE4_LPF2_A_T_ODR_100 0x03 |
#define IRSENSE4_LPF2_A_T_ODR_20 0x01 |
#define IRSENSE4_LPF2_A_T_ODR_200 0x04 |
#define IRSENSE4_LPF2_A_T_ODR_400 0x05 |
#define IRSENSE4_LPF2_A_T_ODR_50 0x02 |
#define IRSENSE4_LPF2_A_T_ODR_800 0x06 |
#define IRSENSE4_LPF2_A_T_ODR_9 0x00 |
IR Sense 4 description of low-pass filter configuration for ambient temperature and presence detection.
Specified setting low-pass filter configuration for ambient temperature and presence detection of IR Sense 4 Click driver.
#define IRSENSE4_LPF2_P_BIT_MASK 0x38 |
#define IRSENSE4_LPF2_P_ODR_100 0x18 |
#define IRSENSE4_LPF2_P_ODR_20 0x08 |
#define IRSENSE4_LPF2_P_ODR_200 0x20 |
#define IRSENSE4_LPF2_P_ODR_400 0x28 |
#define IRSENSE4_LPF2_P_ODR_50 0x10 |
#define IRSENSE4_LPF2_P_ODR_800 0x30 |
#define IRSENSE4_LPF2_P_ODR_9 0x00 |
#define IRSENSE4_SENS_DATA_CALC_DEV 16u |
IR Sense 4 description of sensitivity data of the component.
Specified setting description of sensitivity data of the component of IR Sense 4 Click driver.
#define IRSENSE4_SENS_DATA_MAX 6128u |
#define IRSENSE4_SENS_DATA_MIN 2048u |
#define IRSENSE4_SENS_TAMBIENT 100.0f |
#define IRSENSE4_SENS_TOBJ_COMP 2000.0f |
#define IRSENSE4_SENS_TOBJECT 2000.0f |
IR Sense 4 description of object, ambient and compensated temperature sensitivity values.
Specified setting description of object, ambient and compensated temperature sensitivity of IR Sense 4 Click driver.
#define IRSENSE4_SET_DATA_SAMPLE_EDGE SET_SPI_DATA_SAMPLE_EDGE |
Data sample selection.
This macro sets data samples for SPI modules.
#define IRSENSE4_SET_DATA_SAMPLE_MIDDLE SET_SPI_DATA_SAMPLE_MIDDLE |
#define IRSENSE4_SET_THS_MAX 0x7FFFu |
#define IRSENSE4_SET_THS_MOTION_DEFAULT 3000u |
#define IRSENSE4_SET_THS_PRESENCE_DEFAULT 5000u |
IR Sense 4 description of threshold default configuration.
Specified setting description of hreshold default configuration of IR Sense 4 Click driver.
#define IRSENSE4_SET_THS_T_SHOCK_DEFAULT 2000u |
#define IRSENSE4_STATUS_DETECT_FLAG 0x07 |
#define IRSENSE4_STATUS_DRDY 0x04 |
#define IRSENSE4_STATUS_MOT_FLAG 0x02 |
#define IRSENSE4_STATUS_NOT_DRDY 0x00 |
#define IRSENSE4_STATUS_PRES_FLAG 0x04 |
#define IRSENSE4_STATUS_TAMB_SHOCK_FLAG 0x01 |
IR Sense 4 description of status data ready value.
Specified setting description of status data ready value of IR Sense 4 Click driver.