color12 2.1.0.0
Color 12 Registers Settings

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

Macros

#define COLOR12_SET_SW_RESET   0x80
 Color 12 software reset data.
 
#define COLOR12_RGB_GAIN_X1   0x00
 Color 12 gain setting for RGB/IR sensor.
 
#define COLOR12_RGB_GAIN_X2   0x01
 
#define COLOR12_RGB_GAIN_X4   0x02
 
#define COLOR12_RGB_GAIN_X8   0x03
 
#define COLOR12_RGB_GAIN_X16   0x04
 
#define COLOR12_RGB_GAIN_X32   0x05
 
#define COLOR12_MEAS_MODE_55MS   0x01
 Color 12 measurement mode for RGB/IR data.
 
#define COLOR12_MEAS_MODE_100MS   0x02
 
#define COLOR12_FLC_GAIN_X1   0x00
 Color 12 gain setting for flicker sensor.
 
#define COLOR12_FLC_GAIN_X2   0x01
 
#define COLOR12_FLC_GAIN_X4   0x02
 
#define COLOR12_FLC_GAIN_X8   0x03
 
#define COLOR12_FLC_GAIN_X16   0x04
 
#define COLOR12_FLC_GAIN_X32   0x05
 
#define COLOR12_FLC_MODE_1KHZ   0x00
 Color 12 measurement mode for flicker data.
 
#define COLOR12_FLC_MODE_2KHZ   0x01
 
#define COLOR12_INT_SEL_DISABLE   0x00
 Color 12 interrupt selector data.
 
#define COLOR12_INT_SEL_RDY_RGB_IR   0x01
 
#define COLOR12_INT_SEL_RDY_FLICKER   0x02
 
#define COLOR12_INT_SEL_RDY_FIFO   0x03
 
#define COLOR12_RGB_EN_DISABLE   0x00
 Color 12 RGB/IR measurement mode.
 
#define COLOR12_RGB_EN_ENABLE   0x01
 
#define COLOR12_FLC_EN_DISABLE   0x00
 Color 12 flicker measurement mode.
 
#define COLOR12_FLC_EN_ENABLE   0x01
 
#define COLOR12_MANUFACTURER_ID   0xE0
 Color 12 manufacturer ID data.
 
#define COLOR12_DEVICE_ADDRESS   0x38
 Color 12 device address setting.
 

Detailed Description

Settings for registers of Color 12 Click driver.

Macro Definition Documentation

◆ COLOR12_DEVICE_ADDRESS

#define COLOR12_DEVICE_ADDRESS   0x38

Color 12 device address setting.

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

◆ COLOR12_FLC_EN_DISABLE

#define COLOR12_FLC_EN_DISABLE   0x00

Color 12 flicker measurement mode.

Flicker measurement mode of Color 12 Click driver.

◆ COLOR12_FLC_EN_ENABLE

#define COLOR12_FLC_EN_ENABLE   0x01

◆ COLOR12_FLC_GAIN_X1

#define COLOR12_FLC_GAIN_X1   0x00

Color 12 gain setting for flicker sensor.

Gain setting for flicker of Color 12 Click driver.

◆ COLOR12_FLC_GAIN_X16

#define COLOR12_FLC_GAIN_X16   0x04

◆ COLOR12_FLC_GAIN_X2

#define COLOR12_FLC_GAIN_X2   0x01

◆ COLOR12_FLC_GAIN_X32

#define COLOR12_FLC_GAIN_X32   0x05

◆ COLOR12_FLC_GAIN_X4

#define COLOR12_FLC_GAIN_X4   0x02

◆ COLOR12_FLC_GAIN_X8

#define COLOR12_FLC_GAIN_X8   0x03

◆ COLOR12_FLC_MODE_1KHZ

#define COLOR12_FLC_MODE_1KHZ   0x00

Color 12 measurement mode for flicker data.

Measurement mode for flicker data of Color 12 Click driver.

◆ COLOR12_FLC_MODE_2KHZ

#define COLOR12_FLC_MODE_2KHZ   0x01

◆ COLOR12_INT_SEL_DISABLE

#define COLOR12_INT_SEL_DISABLE   0x00

Color 12 interrupt selector data.

Interrupt selector data of Color 12 Click driver.

◆ COLOR12_INT_SEL_RDY_FIFO

#define COLOR12_INT_SEL_RDY_FIFO   0x03

◆ COLOR12_INT_SEL_RDY_FLICKER

#define COLOR12_INT_SEL_RDY_FLICKER   0x02

◆ COLOR12_INT_SEL_RDY_RGB_IR

#define COLOR12_INT_SEL_RDY_RGB_IR   0x01

◆ COLOR12_MANUFACTURER_ID

#define COLOR12_MANUFACTURER_ID   0xE0

Color 12 manufacturer ID data.

Manufacturer ID data of Color 12 Click driver.

◆ COLOR12_MEAS_MODE_100MS

#define COLOR12_MEAS_MODE_100MS   0x02

◆ COLOR12_MEAS_MODE_55MS

#define COLOR12_MEAS_MODE_55MS   0x01

Color 12 measurement mode for RGB/IR data.

Measurement mode for RGB/IR data of Color 12 Click driver.

◆ COLOR12_RGB_EN_DISABLE

#define COLOR12_RGB_EN_DISABLE   0x00

Color 12 RGB/IR measurement mode.

RGB/IR measurement mode of Color 12 Click driver.

◆ COLOR12_RGB_EN_ENABLE

#define COLOR12_RGB_EN_ENABLE   0x01

◆ COLOR12_RGB_GAIN_X1

#define COLOR12_RGB_GAIN_X1   0x00

Color 12 gain setting for RGB/IR sensor.

Gain setting for RGB/IR of Color 12 Click driver.

◆ COLOR12_RGB_GAIN_X16

#define COLOR12_RGB_GAIN_X16   0x04

◆ COLOR12_RGB_GAIN_X2

#define COLOR12_RGB_GAIN_X2   0x01

◆ COLOR12_RGB_GAIN_X32

#define COLOR12_RGB_GAIN_X32   0x05

◆ COLOR12_RGB_GAIN_X4

#define COLOR12_RGB_GAIN_X4   0x02

◆ COLOR12_RGB_GAIN_X8

#define COLOR12_RGB_GAIN_X8   0x03

◆ COLOR12_SET_SW_RESET

#define COLOR12_SET_SW_RESET   0x80

Color 12 software reset data.

Software reset data of Color 12 Click driver.