proximity12 2.0.0.0
|
Settings for registers of Proximity 12 Click driver. More...
Settings for registers of Proximity 12 Click driver.
#define PROXIMITY12_AGC_DISABLE_ALL_MOD 0x00 |
Proximity 12 modulator gain setting.
Specified setting for modulator gain of Proximity 12 Click driver.
#define PROXIMITY12_AGC_ENABLE_ALL_MOD 0xFF |
#define PROXIMITY12_AGC_ENABLE_MOD_0 0x01 |
#define PROXIMITY12_AGC_ENABLE_MOD_1 0x02 |
#define PROXIMITY12_AGC_ENABLE_MOD_2 0x04 |
#define PROXIMITY12_AGC_ENABLE_MOD_3 0x08 |
#define PROXIMITY12_AGC_ENABLE_MOD_4 0x10 |
#define PROXIMITY12_AGC_ENABLE_MOD_5 0x20 |
#define PROXIMITY12_AGC_ENABLE_MOD_6 0x40 |
#define PROXIMITY12_AGC_ENABLE_MOD_7 0x80 |
#define PROXIMITY12_AUXID 0x03 |
Proximity 12 ID registers values.
Specified values of ID registers of Proximity 12 Click driver.
#define PROXIMITY12_ENABLE_ALS 0x10 |
#define PROXIMITY12_ENABLE_FLICKER 0x40 |
Proximity 12 ENABLE register setting.
Specified setting for ENABLE register of Proximity 12 Click driver.
#define PROXIMITY12_ENABLE_POWER 0x01 |
#define PROXIMITY12_ENABLE_PROX 0x08 |
#define PROXIMITY12_ID 0x40 |
#define PROXIMITY12_ISINK_CURRENT_0mA 0x00 |
#define PROXIMITY12_ISINK_CURRENT_1mA 0x01 |
#define PROXIMITY12_ISINK_CURRENT_2mA 0x02 |
#define PROXIMITY12_ISINK_CURRENT_3mA 0x03 |
#define PROXIMITY12_ISINK_CURRENT_4mA 0x04 |
#define PROXIMITY12_ISINK_CURRENT_5mA 0x05 |
#define PROXIMITY12_ISINK_CURRENT_6mA 0x06 |
#define PROXIMITY12_ISINK_CURRENT_7mA 0x07 |
#define PROXIMITY12_ISINK_SCALER_0p5 0x00 |
Proximity 12 LED sink setting.
Specified setting for LED sink of Proximity 12 Click driver.
#define PROXIMITY12_ISINK_SCALER_1 0x01 |
#define PROXIMITY12_ISINK_SCALER_1p5 0x02 |
#define PROXIMITY12_ISINK_SCALER_2 0x03 |
#define PROXIMITY12_MEAS_MODE0_ALS_SET_A_DIODE 0x00 |
#define PROXIMITY12_MEAS_MODE0_ALS_SET_B_DIODE 0x02 |
#define PROXIMITY12_MEAS_MODE0_CL_APF_VSYNC 0x40 |
Proximity 12 MEAS_MODE0 register setting.
Specified setting for MEAS_MODE0 register of Proximity 12 Click driver.
#define PROXIMITY12_MEAS_MODE0_EN_ALS_DIODE 0x01 |
#define PROXIMITY12_MEAS_MODE0_EN_PROX_DIODE 0x0C |
#define PROXIMITY12_MOD_GAIN_1024X 0x09 |
#define PROXIMITY12_MOD_GAIN_128X 0x06 |
#define PROXIMITY12_MOD_GAIN_16X 0x03 |
#define PROXIMITY12_MOD_GAIN_2048X 0x0A |
#define PROXIMITY12_MOD_GAIN_256X 0x07 |
#define PROXIMITY12_MOD_GAIN_2X 0x00 |
#define PROXIMITY12_MOD_GAIN_32X 0x04 |
#define PROXIMITY12_MOD_GAIN_4096X 0x0B |
#define PROXIMITY12_MOD_GAIN_4X 0x01 |
#define PROXIMITY12_MOD_GAIN_512X 0x08 |
#define PROXIMITY12_MOD_GAIN_64X 0x05 |
#define PROXIMITY12_MOD_GAIN_8X 0x02 |
#define PROXIMITY12_PROX_FILTER_1 0x00 |
#define PROXIMITY12_PROX_FILTER_2 0x01 |
#define PROXIMITY12_PROX_FILTER_3 0x02 |
#define PROXIMITY12_PROX_FILTER_4 0x03 |
#define PROXIMITY12_PROX_FILTER_5 0x04 |
#define PROXIMITY12_PROX_FILTER_6 0x05 |
#define PROXIMITY12_PROX_FILTER_7 0x06 |
#define PROXIMITY12_PROX_FILTER_8 0x07 |
#define PROXIMITY12_PROX_FILTER_ENABLE 0x08 |
Proximity 12 proximity filter setting.
Specified setting for proximity filter of Proximity 12 Click driver.
#define PROXIMITY12_PROX_GAIN_1X 0x00 |
Proximity 12 proximity gain setting.
Specified setting for proximity gain of Proximity 12 Click driver.
#define PROXIMITY12_PROX_GAIN_2X 0x01 |
#define PROXIMITY12_PROX_GAIN_4X 0x02 |
#define PROXIMITY12_PROX_GAIN_8X 0x03 |
#define PROXIMITY12_REVID 0x13 |
#define PROXIMITY12_SET_DEV_ADDR 0x39 |
Proximity 12 device address setting.
Specified setting for device slave address selection of Proximity 12 Click driver.