color4 2.1.0.0
Color 4 Registers Settings

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

Macros

#define COLOR4_INTEGRATION_TIME_40MS   0x00
 Color 4 description setting.
 
#define COLOR4_INTEGRATION_TIME_80MS   0x10
 
#define COLOR4_INTEGRATION_TIME_160MS   0x20
 
#define COLOR4_INTEGRATION_TIME_320MS   0x30
 
#define COLOR4_INTEGRATION_TIME_640MS   0x40
 
#define COLOR4_INTEGRATION_TIME_1280MS   0x50
 
#define COLOR4_INTEGRATION_BIT_MASK   0x70
 
#define COLOR4_TRIG_DISABLE   0x00
 
#define COLOR4_TRIG_ENABLE   0x04
 
#define COLOR4_TRIG_BIT_MASK   0x04
 
#define COLOR4_AF_AUTO   0x00
 
#define COLOR4_AF_FORCE   0x02
 
#define COLOR4_AF_BIT_MASK   0x02
 
#define COLOR4_SD_ENABLE   0x00
 
#define COLOR4_SD_DISABLE   0x01
 
#define COLOR4_SD_BIT_MASK   0x01
 
#define COLOR4_DEVICE_ADDRESS   0x10
 Color 4 device address setting.
 

Detailed Description

Settings for registers of Color 4 Click driver.

Macro Definition Documentation

◆ COLOR4_AF_AUTO

#define COLOR4_AF_AUTO   0x00

◆ COLOR4_AF_BIT_MASK

#define COLOR4_AF_BIT_MASK   0x02

◆ COLOR4_AF_FORCE

#define COLOR4_AF_FORCE   0x02

◆ COLOR4_DEVICE_ADDRESS

#define COLOR4_DEVICE_ADDRESS   0x10

Color 4 device address setting.

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

◆ COLOR4_INTEGRATION_BIT_MASK

#define COLOR4_INTEGRATION_BIT_MASK   0x70

◆ COLOR4_INTEGRATION_TIME_1280MS

#define COLOR4_INTEGRATION_TIME_1280MS   0x50

◆ COLOR4_INTEGRATION_TIME_160MS

#define COLOR4_INTEGRATION_TIME_160MS   0x20

◆ COLOR4_INTEGRATION_TIME_320MS

#define COLOR4_INTEGRATION_TIME_320MS   0x30

◆ COLOR4_INTEGRATION_TIME_40MS

#define COLOR4_INTEGRATION_TIME_40MS   0x00

Color 4 description setting.

Specified setting for description of Color 4 Click driver.

◆ COLOR4_INTEGRATION_TIME_640MS

#define COLOR4_INTEGRATION_TIME_640MS   0x40

◆ COLOR4_INTEGRATION_TIME_80MS

#define COLOR4_INTEGRATION_TIME_80MS   0x10

◆ COLOR4_SD_BIT_MASK

#define COLOR4_SD_BIT_MASK   0x01

◆ COLOR4_SD_DISABLE

#define COLOR4_SD_DISABLE   0x01

◆ COLOR4_SD_ENABLE

#define COLOR4_SD_ENABLE   0x00

◆ COLOR4_TRIG_BIT_MASK

#define COLOR4_TRIG_BIT_MASK   0x04

◆ COLOR4_TRIG_DISABLE

#define COLOR4_TRIG_DISABLE   0x00

◆ COLOR4_TRIG_ENABLE

#define COLOR4_TRIG_ENABLE   0x04