ambient21 2.1.0.0
|
Settings for registers of Ambient 21 Click driver. More...
Settings for registers of Ambient 21 Click driver.
#define AMBIENT21_ADDR_SF_MASK 0x1F |
#define AMBIENT21_AGAIN_HIGH 0x02 |
#define AMBIENT21_AGAIN_LOW 0x00 |
Ambient 21 again and atime setting.
Specified setting for again and atime of Ambient 21 Click driver.
#define AMBIENT21_AGAIN_MAX 0x03 |
#define AMBIENT21_AGAIN_MID 0x01 |
#define AMBIENT21_ATIME_100MS 0x00 |
#define AMBIENT21_ATIME_200MS 0x01 |
#define AMBIENT21_ATIME_300MS 0x02 |
#define AMBIENT21_ATIME_400MS 0x03 |
#define AMBIENT21_ATIME_500MS 0x04 |
#define AMBIENT21_ATIME_600MS 0x05 |
#define AMBIENT21_CMD_NORMAL_OP 0xA0 |
Ambient 21 command register setting.
Specified setting for Command register of Ambient 21 Click driver.
#define AMBIENT21_CMD_SPEC_FUNC 0xE0 |
#define AMBIENT21_CONFIG_AGAIN_HIGH 0x20 |
#define AMBIENT21_CONFIG_AGAIN_LOW 0x00 |
#define AMBIENT21_CONFIG_AGAIN_MASK 0x30 |
#define AMBIENT21_CONFIG_AGAIN_MAX 0x30 |
#define AMBIENT21_CONFIG_AGAIN_MID 0x10 |
#define AMBIENT21_CONFIG_ATIME_100MS 0x00 |
#define AMBIENT21_CONFIG_ATIME_200MS 0x01 |
#define AMBIENT21_CONFIG_ATIME_300MS 0x02 |
#define AMBIENT21_CONFIG_ATIME_400MS 0x03 |
#define AMBIENT21_CONFIG_ATIME_500MS 0x04 |
#define AMBIENT21_CONFIG_ATIME_600MS 0x05 |
#define AMBIENT21_CONFIG_ATIME_MASK 0x07 |
#define AMBIENT21_CONFIG_SRESET 0x80 |
Ambient 21 config register setting.
Specified setting for config register of Ambient 21 Click driver.
#define AMBIENT21_DEVICE_ADDRESS 0x29 |
Ambient 21 device address setting.
Specified setting for device slave address selection of Ambient 21 Click driver.
#define AMBIENT21_DEVICE_ID 0x50 |
Ambient 21 ID values.
Specified ID values of Ambient 21 Click driver.
#define AMBIENT21_ENABLE_AEN 0x02 |
#define AMBIENT21_ENABLE_AIEN 0x10 |
#define AMBIENT21_ENABLE_NPIEN 0x80 |
Ambient 21 enable register setting.
Specified setting for enable register of Ambient 21 Click driver.
#define AMBIENT21_ENABLE_PON 0x01 |
#define AMBIENT21_ENABLE_SAI 0x40 |
#define AMBIENT21_GAIN_0 1.0f |
Ambient 21 lux calculation values.
Specified lux calculation values of Ambient 21 Click driver.
#define AMBIENT21_GAIN_1 25.0f |
#define AMBIENT21_GAIN_2 428.0f |
#define AMBIENT21_GAIN_3 9876.0f |
#define AMBIENT21_LUX_COEF 1.0f |
#define AMBIENT21_LUX_GDF 900.0f |
#define AMBIENT21_PERSIST_10 0x05 |
#define AMBIENT21_PERSIST_15 0x06 |
#define AMBIENT21_PERSIST_2 0x02 |
#define AMBIENT21_PERSIST_20 0x07 |
#define AMBIENT21_PERSIST_25 0x08 |
#define AMBIENT21_PERSIST_3 0x03 |
#define AMBIENT21_PERSIST_30 0x09 |
#define AMBIENT21_PERSIST_35 0x0A |
#define AMBIENT21_PERSIST_40 0x0B |
#define AMBIENT21_PERSIST_45 0x0C |
#define AMBIENT21_PERSIST_5 0x04 |
#define AMBIENT21_PERSIST_50 0x0D |
#define AMBIENT21_PERSIST_55 0x0E |
#define AMBIENT21_PERSIST_60 0x0F |
#define AMBIENT21_PERSIST_ANY 0x01 |
#define AMBIENT21_PERSIST_EVERY 0x00 |
Ambient 21 persist register setting.
Specified setting for persist register of Ambient 21 Click driver.
#define AMBIENT21_PERSIST_MASK 0x0F |
#define AMBIENT21_SF_CLEAR_ALS_INT 0x06 |
#define AMBIENT21_SF_CLEAR_ALS_NOPERS_INT 0x07 |
#define AMBIENT21_SF_CLEAR_NOPERS_INT 0x0A |
#define AMBIENT21_SF_INT_SET 0x04 |
#define AMBIENT21_STATUS_AINT 0x10 |
#define AMBIENT21_STATUS_AVALID 0x01 |
#define AMBIENT21_STATUS_NPINTR 0x20 |
Ambient 21 status register setting.
Specified setting for status register of Ambient 21 Click driver.
#define AMBIENT21_TIME_RES 100.0f |