illuminance 2.0.0.0
Illuminance Registers Settings

Settings for registers of Illuminance Click driver. More...

Macros

#define ILLUMINANCE_CMD_BIT   0x80
 Illuminance Command register setting.
 
#define ILLUMINANCE_TRANSACTION_REPEATED   0x00
 
#define ILLUMINANCE_TRANSACTION_AUTO_INC   0x20
 
#define ILLUMINANCE_TRANSACTION_SPEC_FUNC   0x60
 
#define ILLUMINANCE_SPEC_FUNC_INT_CLEAR   0x01
 
#define ILLUMINANCE_SPEC_FUNC_STOP_MAN_INT   0x02
 
#define ILLUMINANCE_SPEC_FUNC_START_MAN_INT   0x03
 
#define ILLUMINANCE_CONTROL_ADC_INTR   0x20
 Illuminance control register setting.
 
#define ILLUMINANCE_CONTROL_ADC_VALID   0x10
 
#define ILLUMINANCE_CONTROL_ADC_ENABLE   0x02
 
#define ILLUMINANCE_CONTROL_POWER_ON   0x01
 
#define ILLUMINANCE_ATIME_MAX   688.5
 Illuminance timing register setting.
 
#define ILLUMINANCE_ATIME_MIN   2.7
 
#define ILLUMINANCE_ATIME_STEP   2.7
 
#define ILLUMINANCE_DEFAULT_ATIME   200.0
 
#define ILLUMINANCE_ENABLE_INTERRUPT   0x10
 Illuminance interrupt register setting.
 
#define ILLUMINANCE_GAIN_1X   0x00
 Illuminance analog register setting.
 
#define ILLUMINANCE_GAIN_8X   0x01
 
#define ILLUMINANCE_GAIN_16X   0x02
 
#define ILLUMINANCE_GAIN_111X   0x03
 
#define ILLUMINANCE_ID_PARTNO   0x90
 Illuminance ID values.
 
#define ILLUMINANCE_ID2   0x30
 
#define ILLUMINANCE_SET_DEV_ADDR_GND   0x29
 Illuminance device address setting.
 
#define ILLUMINANCE_SET_DEV_ADDR_FLOAT   0x39
 
#define ILLUMINANCE_SET_DEV_ADDR_VCC   0x49
 

Detailed Description

Settings for registers of Illuminance Click driver.

Macro Definition Documentation

◆ ILLUMINANCE_ATIME_MAX

#define ILLUMINANCE_ATIME_MAX   688.5

Illuminance timing register setting.

Specified setting for timing register of Illuminance Click driver.

◆ ILLUMINANCE_ATIME_MIN

#define ILLUMINANCE_ATIME_MIN   2.7

◆ ILLUMINANCE_ATIME_STEP

#define ILLUMINANCE_ATIME_STEP   2.7

◆ ILLUMINANCE_CMD_BIT

#define ILLUMINANCE_CMD_BIT   0x80

Illuminance Command register setting.

Specified setting for Command register of Illuminance Click driver.

◆ ILLUMINANCE_CONTROL_ADC_ENABLE

#define ILLUMINANCE_CONTROL_ADC_ENABLE   0x02

◆ ILLUMINANCE_CONTROL_ADC_INTR

#define ILLUMINANCE_CONTROL_ADC_INTR   0x20

Illuminance control register setting.

Specified setting for control register of Illuminance Click driver.

◆ ILLUMINANCE_CONTROL_ADC_VALID

#define ILLUMINANCE_CONTROL_ADC_VALID   0x10

◆ ILLUMINANCE_CONTROL_POWER_ON

#define ILLUMINANCE_CONTROL_POWER_ON   0x01

◆ ILLUMINANCE_DEFAULT_ATIME

#define ILLUMINANCE_DEFAULT_ATIME   200.0

◆ ILLUMINANCE_ENABLE_INTERRUPT

#define ILLUMINANCE_ENABLE_INTERRUPT   0x10

Illuminance interrupt register setting.

Specified setting for interrupt register of Illuminance Click driver.

◆ ILLUMINANCE_GAIN_111X

#define ILLUMINANCE_GAIN_111X   0x03

◆ ILLUMINANCE_GAIN_16X

#define ILLUMINANCE_GAIN_16X   0x02

◆ ILLUMINANCE_GAIN_1X

#define ILLUMINANCE_GAIN_1X   0x00

Illuminance analog register setting.

Specified setting for analog register of Illuminance Click driver.

◆ ILLUMINANCE_GAIN_8X

#define ILLUMINANCE_GAIN_8X   0x01

◆ ILLUMINANCE_ID2

#define ILLUMINANCE_ID2   0x30

◆ ILLUMINANCE_ID_PARTNO

#define ILLUMINANCE_ID_PARTNO   0x90

Illuminance ID values.

Specified ID values of Illuminance Click driver.

◆ ILLUMINANCE_SET_DEV_ADDR_FLOAT

#define ILLUMINANCE_SET_DEV_ADDR_FLOAT   0x39

◆ ILLUMINANCE_SET_DEV_ADDR_GND

#define ILLUMINANCE_SET_DEV_ADDR_GND   0x29

Illuminance device address setting.

Specified setting for device slave address selection of Illuminance Click driver.

◆ ILLUMINANCE_SET_DEV_ADDR_VCC

#define ILLUMINANCE_SET_DEV_ADDR_VCC   0x49

◆ ILLUMINANCE_SPEC_FUNC_INT_CLEAR

#define ILLUMINANCE_SPEC_FUNC_INT_CLEAR   0x01

◆ ILLUMINANCE_SPEC_FUNC_START_MAN_INT

#define ILLUMINANCE_SPEC_FUNC_START_MAN_INT   0x03

◆ ILLUMINANCE_SPEC_FUNC_STOP_MAN_INT

#define ILLUMINANCE_SPEC_FUNC_STOP_MAN_INT   0x02

◆ ILLUMINANCE_TRANSACTION_AUTO_INC

#define ILLUMINANCE_TRANSACTION_AUTO_INC   0x20

◆ ILLUMINANCE_TRANSACTION_REPEATED

#define ILLUMINANCE_TRANSACTION_REPEATED   0x00

◆ ILLUMINANCE_TRANSACTION_SPEC_FUNC

#define ILLUMINANCE_TRANSACTION_SPEC_FUNC   0x60