light3 2.1.0.0
|
Settings for registers of Light 3 Click driver. More...
Settings for registers of Light 3 Click driver.
#define LIGHT3_CONV_TIME_100_MS 0x0200u |
#define LIGHT3_CONV_TIME_12_7_MS 0x0140u |
#define LIGHT3_CONV_TIME_1_8_MS 0x0080u |
#define LIGHT3_CONV_TIME_1_MS 0x0040u |
#define LIGHT3_CONV_TIME_200_MS 0x0240u |
#define LIGHT3_CONV_TIME_25_MS 0x0180u |
#define LIGHT3_CONV_TIME_3_4_MS 0x00C0u |
#define LIGHT3_CONV_TIME_400_MS 0x0280u |
#define LIGHT3_CONV_TIME_50_MS 0x01C0u |
#define LIGHT3_CONV_TIME_600_US 0x0000u |
#define LIGHT3_CONV_TIME_6_5_MS 0x0100u |
#define LIGHT3_CONV_TIME_800_MS 0x02C0u |
#define LIGHT3_DEVICE_ADDRESS_0 0x44 |
Light 3 device address setting.
Specified setting for device slave address selection of Light 3 Click driver.
#define LIGHT3_DEVICE_ADDRESS_1 0x45 |
#define LIGHT3_FAULT_COUNT_1 0x0000u |
#define LIGHT3_FAULT_COUNT_2 0x0001u |
#define LIGHT3_FAULT_COUNT_4 0x0002u |
#define LIGHT3_FAULT_COUNT_8 0x0003u |
#define LIGHT3_I2C_BURST_ENABLED 0x0001u |
#define LIGHT3_INT_CFG_SMBUS_ALERT 0x0000u |
#define LIGHT3_INT_CONFIG_REG_DEF_VALUE 0x8000u |
Light 3 INT_CONFIG register description setting.
Specified setting for INT_CONFIG register description of Light 3 Click driver.
#define LIGHT3_INT_DIR_INPUT 0x0000u |
#define LIGHT3_INT_DIR_OUTPUT 0x0010u |
#define LIGHT3_INT_EVERY_2_CONV 0x0008u |
#define LIGHT3_INT_EVERY_4_CONV 0x000Cu |
#define LIGHT3_INT_EVERY_CONV 0x0004u |
#define LIGHT3_INT_POL_ACTIVE_HIGH 0x0004u |
#define LIGHT3_INT_POL_ACTIVE_LOW 0x0000u |
#define LIGHT3_LATCH 0x0008u |
#define LIGHT3_LUX_CONV_FACTOR 0.000535f |
Light 3 conversion factor setting.
Specified conversion factor used to convert data into LUX of Light 3 Click driver.
#define LIGHT3_MODE_AUTO_RANGE_ONE_SHOT 0x0010u |
#define LIGHT3_MODE_CONTINUOUS 0x0030u |
#define LIGHT3_MODE_ONE_SHOT 0x0020u |
#define LIGHT3_MODE_POWER_DOWN 0x0000u |
#define LIGHT3_PIN_STATE_HIGH 0x01 |
#define LIGHT3_PIN_STATE_LOW 0x00 |
Light 3 pin states setting.
Specified pin states of Light 3 Click driver.
#define LIGHT3_QWAKE_EN 0x8000u |
Light 3 description setting.
Specified setting for description of Light 3 Click driver.
#define LIGHT3_RANGE_143_KLUX 0x2000u |
#define LIGHT3_RANGE_17_9_KLUX 0x1400u |
#define LIGHT3_RANGE_1_1_KLUX 0x0400u |
#define LIGHT3_RANGE_2_2_KLUX 0x0800u |
#define LIGHT3_RANGE_35_9_KLUX 0x1800u |
#define LIGHT3_RANGE_4_4_KLUX 0x0C00u |
#define LIGHT3_RANGE_561_LUX 0x0000u |
#define LIGHT3_RANGE_71_8_KLUX 0x1C00u |
#define LIGHT3_RANGE_8_9_KLUX 0x1000u |
#define LIGHT3_RANGE_AUTO_RANGE 0x3000u |
#define LIGHT3_SW_RESET_ADDRESS 0x00 |
Light 3 software reset setting.
Specified software reset settings of Light 3 Click driver.
#define LIGHT3_SW_RESET_COMMAND 0x06 |
#define LIGHT3_TRESHOLD_CH0_SEL 0x0000u |
#define LIGHT3_TRESHOLD_CH1_SEL 0x0020u |