color17 2.1.0.0
Color 17 Registers Settings

Settings for registers of Color 17 Click driver. More...

Macros

#define COLOR17_DEVICE_ID   0x0821u
 Color 17 description device ID value.
 
#define COLOR17_CONFIG_0_QWAKE_DIS   0x00
 Color 17 description COLOR17_REG_CONFIG_0 register values.
 
#define COLOR17_CONFIG_0_QWAKE_EN   0x01
 
#define COLOR17_CONFIG_0_RANGE_2_2KLUX   0x00
 
#define COLOR17_CONFIG_0_RANGE_4_5KLUX   0x01
 
#define COLOR17_CONFIG_0_RANGE_9KLUX   0x02
 
#define COLOR17_CONFIG_0_RANGE_18KLUX   0x03
 
#define COLOR17_CONFIG_0_RANGE_36KLUX   0x04
 
#define COLOR17_CONFIG_0_RANGE_72KLUX   0x05
 
#define COLOR17_CONFIG_0_RANGE_144KLUX   0x06
 
#define COLOR17_CONFIG_0_RANGE_AUTO   0x0C
 
#define COLOR17_CONFIG_0_CONV_600US   0x00
 
#define COLOR17_CONFIG_0_CONV_1_MS   0x01
 
#define COLOR17_CONFIG_0_CONV_1_8MS   0x02
 
#define COLOR17_CONFIG_0_CONV_3_4MS   0x03
 
#define COLOR17_CONFIG_0_CONV_6_5MS   0x04
 
#define COLOR17_CONFIG_0_CONV_12_7MS   0x05
 
#define COLOR17_CONFIG_0_CONV_25MS   0x06
 
#define COLOR17_CONFIG_0_CONV_50MS   0x07
 
#define COLOR17_CONFIG_0_CONV_100MS   0x08
 
#define COLOR17_CONFIG_0_CONV_200MS   0x09
 
#define COLOR17_CONFIG_0_CONV_400MS   0x0A
 
#define COLOR17_CONFIG_0_CONV_800MS   0x0B
 
#define COLOR17_CONFIG_0_OP_MODE_PD   0x00
 
#define COLOR17_CONFIG_0_OP_MODE_F_ONESHOT   0x01
 
#define COLOR17_CONFIG_0_OP_MODE_ONESHOT   0x02
 
#define COLOR17_CONFIG_0_OP_MODE_CONTINUOUS   0x03
 
#define COLOR17_CONFIG_0_LATCH_DIS   0x00
 
#define COLOR17_CONFIG_0_LATCH_EN   0x01
 
#define COLOR17_CONFIG_0_INT_POL_LOW   0x00
 
#define COLOR17_CONFIG_0_INT_POL_HIGH   0x01
 
#define COLOR17_CONFIG_0_FAULT_COUNT_0   0x00
 
#define COLOR17_CONFIG_0_FAULT_COUNT_2   0x01
 
#define COLOR17_CONFIG_0_FAULT_COUNT_4   0x02
 
#define COLOR17_CONFIG_0_FAULT_COUNT_8   0x03
 
#define COLOR17_CONFIG_1_MUST_READ_WRITE   0x8000u
 Color 17 description COLOR17_REG_CONFIG_1 register values.
 
#define COLOR17_CONFIG_1_THRESHOLD_CH0   0x00
 
#define COLOR17_CONFIG_1_THRESHOLD_CH1   0x01
 
#define COLOR17_CONFIG_1_THRESHOLD_CH2   0x02
 
#define COLOR17_CONFIG_1_THRESHOLD_CH3   0x03
 
#define COLOR17_CONFIG_1_INT_DIR_INPUT   0x00
 
#define COLOR17_CONFIG_1_INT_DIR_OUTPUT   0x01
 
#define COLOR17_CONFIG_1_INT_CFG_SMBUS_ALR   0x00
 
#define COLOR17_CONFIG_1_INT_CFG_NEXT_CH   0x01
 
#define COLOR17_CONFIG_1_INT_CFG_ALL_CH   0x03
 
#define COLOR17_CONFIG_1_I2C_BURST_DISABLE   0x00
 
#define COLOR17_CONFIG_1_I2C_BURST_ENABLE   0x01
 
#define COLOR17_CONFIG_2_FLAG_DISABLE   0x00
 Color 17 description COLOR17_REG_CONFIG_2 register values.
 
#define COLOR17_CONFIG_2_FLAG_ENABLE   0x01
 
#define COLOR17_SEL_CHANNEL_0   0x00
 Color 17 description channel number values.
 
#define COLOR17_SEL_CHANNEL_1   0x01
 
#define COLOR17_SEL_CHANNEL_2   0x02
 
#define COLOR17_SEL_CHANNEL_3   0x03
 
#define COLOR17_DEVICE_ADDRESS_GND   0x44
 Color 17 device address setting.
 
#define COLOR17_DEVICE_ADDRESS_VCC   0x45
 

Detailed Description

Settings for registers of Color 17 Click driver.

Macro Definition Documentation

◆ COLOR17_CONFIG_0_CONV_100MS

#define COLOR17_CONFIG_0_CONV_100MS   0x08

◆ COLOR17_CONFIG_0_CONV_12_7MS

#define COLOR17_CONFIG_0_CONV_12_7MS   0x05

◆ COLOR17_CONFIG_0_CONV_1_8MS

#define COLOR17_CONFIG_0_CONV_1_8MS   0x02

◆ COLOR17_CONFIG_0_CONV_1_MS

#define COLOR17_CONFIG_0_CONV_1_MS   0x01

◆ COLOR17_CONFIG_0_CONV_200MS

#define COLOR17_CONFIG_0_CONV_200MS   0x09

◆ COLOR17_CONFIG_0_CONV_25MS

#define COLOR17_CONFIG_0_CONV_25MS   0x06

◆ COLOR17_CONFIG_0_CONV_3_4MS

#define COLOR17_CONFIG_0_CONV_3_4MS   0x03

◆ COLOR17_CONFIG_0_CONV_400MS

#define COLOR17_CONFIG_0_CONV_400MS   0x0A

◆ COLOR17_CONFIG_0_CONV_50MS

#define COLOR17_CONFIG_0_CONV_50MS   0x07

◆ COLOR17_CONFIG_0_CONV_600US

#define COLOR17_CONFIG_0_CONV_600US   0x00

◆ COLOR17_CONFIG_0_CONV_6_5MS

#define COLOR17_CONFIG_0_CONV_6_5MS   0x04

◆ COLOR17_CONFIG_0_CONV_800MS

#define COLOR17_CONFIG_0_CONV_800MS   0x0B

◆ COLOR17_CONFIG_0_FAULT_COUNT_0

#define COLOR17_CONFIG_0_FAULT_COUNT_0   0x00

◆ COLOR17_CONFIG_0_FAULT_COUNT_2

#define COLOR17_CONFIG_0_FAULT_COUNT_2   0x01

◆ COLOR17_CONFIG_0_FAULT_COUNT_4

#define COLOR17_CONFIG_0_FAULT_COUNT_4   0x02

◆ COLOR17_CONFIG_0_FAULT_COUNT_8

#define COLOR17_CONFIG_0_FAULT_COUNT_8   0x03

◆ COLOR17_CONFIG_0_INT_POL_HIGH

#define COLOR17_CONFIG_0_INT_POL_HIGH   0x01

◆ COLOR17_CONFIG_0_INT_POL_LOW

#define COLOR17_CONFIG_0_INT_POL_LOW   0x00

◆ COLOR17_CONFIG_0_LATCH_DIS

#define COLOR17_CONFIG_0_LATCH_DIS   0x00

◆ COLOR17_CONFIG_0_LATCH_EN

#define COLOR17_CONFIG_0_LATCH_EN   0x01

◆ COLOR17_CONFIG_0_OP_MODE_CONTINUOUS

#define COLOR17_CONFIG_0_OP_MODE_CONTINUOUS   0x03

◆ COLOR17_CONFIG_0_OP_MODE_F_ONESHOT

#define COLOR17_CONFIG_0_OP_MODE_F_ONESHOT   0x01

◆ COLOR17_CONFIG_0_OP_MODE_ONESHOT

#define COLOR17_CONFIG_0_OP_MODE_ONESHOT   0x02

◆ COLOR17_CONFIG_0_OP_MODE_PD

#define COLOR17_CONFIG_0_OP_MODE_PD   0x00

◆ COLOR17_CONFIG_0_QWAKE_DIS

#define COLOR17_CONFIG_0_QWAKE_DIS   0x00

Color 17 description COLOR17_REG_CONFIG_0 register values.

Specified COLOR17_REG_CONFIG_0 register values of Color 17 Click driver.

◆ COLOR17_CONFIG_0_QWAKE_EN

#define COLOR17_CONFIG_0_QWAKE_EN   0x01

◆ COLOR17_CONFIG_0_RANGE_144KLUX

#define COLOR17_CONFIG_0_RANGE_144KLUX   0x06

◆ COLOR17_CONFIG_0_RANGE_18KLUX

#define COLOR17_CONFIG_0_RANGE_18KLUX   0x03

◆ COLOR17_CONFIG_0_RANGE_2_2KLUX

#define COLOR17_CONFIG_0_RANGE_2_2KLUX   0x00

◆ COLOR17_CONFIG_0_RANGE_36KLUX

#define COLOR17_CONFIG_0_RANGE_36KLUX   0x04

◆ COLOR17_CONFIG_0_RANGE_4_5KLUX

#define COLOR17_CONFIG_0_RANGE_4_5KLUX   0x01

◆ COLOR17_CONFIG_0_RANGE_72KLUX

#define COLOR17_CONFIG_0_RANGE_72KLUX   0x05

◆ COLOR17_CONFIG_0_RANGE_9KLUX

#define COLOR17_CONFIG_0_RANGE_9KLUX   0x02

◆ COLOR17_CONFIG_0_RANGE_AUTO

#define COLOR17_CONFIG_0_RANGE_AUTO   0x0C

◆ COLOR17_CONFIG_1_I2C_BURST_DISABLE

#define COLOR17_CONFIG_1_I2C_BURST_DISABLE   0x00

◆ COLOR17_CONFIG_1_I2C_BURST_ENABLE

#define COLOR17_CONFIG_1_I2C_BURST_ENABLE   0x01

◆ COLOR17_CONFIG_1_INT_CFG_ALL_CH

#define COLOR17_CONFIG_1_INT_CFG_ALL_CH   0x03

◆ COLOR17_CONFIG_1_INT_CFG_NEXT_CH

#define COLOR17_CONFIG_1_INT_CFG_NEXT_CH   0x01

◆ COLOR17_CONFIG_1_INT_CFG_SMBUS_ALR

#define COLOR17_CONFIG_1_INT_CFG_SMBUS_ALR   0x00

◆ COLOR17_CONFIG_1_INT_DIR_INPUT

#define COLOR17_CONFIG_1_INT_DIR_INPUT   0x00

◆ COLOR17_CONFIG_1_INT_DIR_OUTPUT

#define COLOR17_CONFIG_1_INT_DIR_OUTPUT   0x01

◆ COLOR17_CONFIG_1_MUST_READ_WRITE

#define COLOR17_CONFIG_1_MUST_READ_WRITE   0x8000u

Color 17 description COLOR17_REG_CONFIG_1 register values.

Specified COLOR17_REG_CONFIG_1 register values of Color 17 Click driver.

◆ COLOR17_CONFIG_1_THRESHOLD_CH0

#define COLOR17_CONFIG_1_THRESHOLD_CH0   0x00

◆ COLOR17_CONFIG_1_THRESHOLD_CH1

#define COLOR17_CONFIG_1_THRESHOLD_CH1   0x01

◆ COLOR17_CONFIG_1_THRESHOLD_CH2

#define COLOR17_CONFIG_1_THRESHOLD_CH2   0x02

◆ COLOR17_CONFIG_1_THRESHOLD_CH3

#define COLOR17_CONFIG_1_THRESHOLD_CH3   0x03

◆ COLOR17_CONFIG_2_FLAG_DISABLE

#define COLOR17_CONFIG_2_FLAG_DISABLE   0x00

Color 17 description COLOR17_REG_CONFIG_2 register values.

Specified COLOR17_REG_CONFIG_2 register values of Color 17 Click driver.

◆ COLOR17_CONFIG_2_FLAG_ENABLE

#define COLOR17_CONFIG_2_FLAG_ENABLE   0x01

◆ COLOR17_DEVICE_ADDRESS_GND

#define COLOR17_DEVICE_ADDRESS_GND   0x44

Color 17 device address setting.

Specified setting for device slave address selection of Color 17 Click driver.

◆ COLOR17_DEVICE_ADDRESS_VCC

#define COLOR17_DEVICE_ADDRESS_VCC   0x45

◆ COLOR17_DEVICE_ID

#define COLOR17_DEVICE_ID   0x0821u

Color 17 description device ID value.

Specified device ID value of Color 17 Click driver.

◆ COLOR17_SEL_CHANNEL_0

#define COLOR17_SEL_CHANNEL_0   0x00

Color 17 description channel number values.

Specified channel number values of Color 17 Click driver.

◆ COLOR17_SEL_CHANNEL_1

#define COLOR17_SEL_CHANNEL_1   0x01

◆ COLOR17_SEL_CHANNEL_2

#define COLOR17_SEL_CHANNEL_2   0x02

◆ COLOR17_SEL_CHANNEL_3

#define COLOR17_SEL_CHANNEL_3   0x03