ambient15 2.0.0.0
Ambient 15 Registers Settings

Settings for registers of Ambient 15 Click driver. More...

Macros

#define AMBIENT15_CMD_BIT   0x80
 Ambient 15 Command register setting.
 
#define AMBIENT15_TRANSACTION_REPEATED   0x00
 
#define AMBIENT15_TRANSACTION_AUTO_INC   0x20
 
#define AMBIENT15_TRANSACTION_SPEC_FUNC   0x60
 
#define AMBIENT15_SPEC_FUNC_INT_CLEAR   0x01
 
#define AMBIENT15_SPEC_FUNC_STOP_MAN_INT   0x02
 
#define AMBIENT15_SPEC_FUNC_START_MAN_INT   0x03
 
#define AMBIENT15_CONTROL_ADC_INTR   0x20
 Ambient 15 control register setting.
 
#define AMBIENT15_CONTROL_ADC_VALID   0x10
 
#define AMBIENT15_CONTROL_ADC_ENABLE   0x02
 
#define AMBIENT15_CONTROL_POWER_ON   0x01
 
#define AMBIENT15_ATIME_MAX   688.5
 Ambient 15 timing register setting.
 
#define AMBIENT15_ATIME_MIN   2.7
 
#define AMBIENT15_ATIME_STEP   2.7
 
#define AMBIENT15_DEFAULT_ATIME   200.0
 
#define AMBIENT15_ENABLE_INTERRUPT   0x10
 Ambient 15 interrupt register setting.
 
#define AMBIENT15_GAIN_1X   0x00
 Ambient 15 analog register setting.
 
#define AMBIENT15_GAIN_8X   0x01
 
#define AMBIENT15_GAIN_16X   0x02
 
#define AMBIENT15_GAIN_111X   0x03
 
#define AMBIENT15_ID_PARTNO   0x90
 Ambient 15 ID values.
 
#define AMBIENT15_ID2   0x80
 
#define AMBIENT15_CH0_COFF0   1000ul
 Ambient 15 lux calculation coefficients.
 
#define AMBIENT15_CH1_COFF0   2160ul
 
#define AMBIENT15_CH0_COFF1   950ul
 
#define AMBIENT15_CH1_COFF1   1110ul
 
#define AMBIENT15_SET_DEV_ADDR_GND   0x29
 Ambient 15 device address setting.
 
#define AMBIENT15_SET_DEV_ADDR_FLOAT   0x39
 
#define AMBIENT15_SET_DEV_ADDR_VCC   0x49
 

Detailed Description

Settings for registers of Ambient 15 Click driver.

Macro Definition Documentation

◆ AMBIENT15_ATIME_MAX

#define AMBIENT15_ATIME_MAX   688.5

Ambient 15 timing register setting.

Specified setting for timing register of Ambient 15 Click driver.

◆ AMBIENT15_ATIME_MIN

#define AMBIENT15_ATIME_MIN   2.7

◆ AMBIENT15_ATIME_STEP

#define AMBIENT15_ATIME_STEP   2.7

◆ AMBIENT15_CH0_COFF0

#define AMBIENT15_CH0_COFF0   1000ul

Ambient 15 lux calculation coefficients.

Specified lux calculation coefficients of Ambient 15 Click driver.

◆ AMBIENT15_CH0_COFF1

#define AMBIENT15_CH0_COFF1   950ul

◆ AMBIENT15_CH1_COFF0

#define AMBIENT15_CH1_COFF0   2160ul

◆ AMBIENT15_CH1_COFF1

#define AMBIENT15_CH1_COFF1   1110ul

◆ AMBIENT15_CMD_BIT

#define AMBIENT15_CMD_BIT   0x80

Ambient 15 Command register setting.

Specified setting for Command register of Ambient 15 Click driver.

◆ AMBIENT15_CONTROL_ADC_ENABLE

#define AMBIENT15_CONTROL_ADC_ENABLE   0x02

◆ AMBIENT15_CONTROL_ADC_INTR

#define AMBIENT15_CONTROL_ADC_INTR   0x20

Ambient 15 control register setting.

Specified setting for control register of Ambient 15 Click driver.

◆ AMBIENT15_CONTROL_ADC_VALID

#define AMBIENT15_CONTROL_ADC_VALID   0x10

◆ AMBIENT15_CONTROL_POWER_ON

#define AMBIENT15_CONTROL_POWER_ON   0x01

◆ AMBIENT15_DEFAULT_ATIME

#define AMBIENT15_DEFAULT_ATIME   200.0

◆ AMBIENT15_ENABLE_INTERRUPT

#define AMBIENT15_ENABLE_INTERRUPT   0x10

Ambient 15 interrupt register setting.

Specified setting for interrupt register of Ambient 15 Click driver.

◆ AMBIENT15_GAIN_111X

#define AMBIENT15_GAIN_111X   0x03

◆ AMBIENT15_GAIN_16X

#define AMBIENT15_GAIN_16X   0x02

◆ AMBIENT15_GAIN_1X

#define AMBIENT15_GAIN_1X   0x00

Ambient 15 analog register setting.

Specified setting for analog register of Ambient 15 Click driver.

◆ AMBIENT15_GAIN_8X

#define AMBIENT15_GAIN_8X   0x01

◆ AMBIENT15_ID2

#define AMBIENT15_ID2   0x80

◆ AMBIENT15_ID_PARTNO

#define AMBIENT15_ID_PARTNO   0x90

Ambient 15 ID values.

Specified ID values of Ambient 15 Click driver.

◆ AMBIENT15_SET_DEV_ADDR_FLOAT

#define AMBIENT15_SET_DEV_ADDR_FLOAT   0x39

◆ AMBIENT15_SET_DEV_ADDR_GND

#define AMBIENT15_SET_DEV_ADDR_GND   0x29

Ambient 15 device address setting.

Specified setting for device slave address selection of Ambient 15 Click driver.

◆ AMBIENT15_SET_DEV_ADDR_VCC

#define AMBIENT15_SET_DEV_ADDR_VCC   0x49

◆ AMBIENT15_SPEC_FUNC_INT_CLEAR

#define AMBIENT15_SPEC_FUNC_INT_CLEAR   0x01

◆ AMBIENT15_SPEC_FUNC_START_MAN_INT

#define AMBIENT15_SPEC_FUNC_START_MAN_INT   0x03

◆ AMBIENT15_SPEC_FUNC_STOP_MAN_INT

#define AMBIENT15_SPEC_FUNC_STOP_MAN_INT   0x02

◆ AMBIENT15_TRANSACTION_AUTO_INC

#define AMBIENT15_TRANSACTION_AUTO_INC   0x20

◆ AMBIENT15_TRANSACTION_REPEATED

#define AMBIENT15_TRANSACTION_REPEATED   0x00

◆ AMBIENT15_TRANSACTION_SPEC_FUNC

#define AMBIENT15_TRANSACTION_SPEC_FUNC   0x60