ambient17 2.0.0.0
Ambient 17 Registers Settings

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

Macros

#define AMBIENT17_CMD_BIT   0x80
 Ambient 17 command register setting.
 
#define AMBIENT17_TYPE_REPEATED   0x00
 
#define AMBIENT17_TYPE_AUTO_INC   0x20
 
#define AMBIENT17_TYPE_SPEC_FUNC   0x60
 
#define AMBIENT17_SPEC_FUNC_INT_CLEAR   0x06
 
#define AMBIENT17_ENABLE_SLEEP_AFTER_INT   0x40
 Ambient 17 enable register setting.
 
#define AMBIENT17_ENABLE_ALS_INT   0x10
 
#define AMBIENT17_ENABLE_WAIT   0x08
 
#define AMBIENT17_ENABLE_ALS   0x02
 
#define AMBIENT17_ENABLE_OSC   0x01
 
#define AMBIENT17_STATUS_AINT   0x10
 Ambient 17 status register setting.
 
#define AMBIENT17_STATUS_AVALID   0x01
 
#define AMBIENT17_ATIME_MAX   699.88
 Ambient 17 atime register setting.
 
#define AMBIENT17_ATIME_MIN   2.73
 
#define AMBIENT17_ATIME_STEP   2.73
 
#define AMBIENT17_DEFAULT_ATIME   200.0
 
#define AMBIENT17_WTIME_MAX   699.88
 Ambient 17 wtime register setting.
 
#define AMBIENT17_WTIME_MIN   2.73
 
#define AMBIENT17_WTIME_STEP   2.73
 
#define AMBIENT17_DEFAULT_WTIME   200.0
 
#define AMBIENT17_AGAIN_1X   0x00
 Ambient 17 control register setting.
 
#define AMBIENT17_AGAIN_8X   0x01
 
#define AMBIENT17_AGAIN_16X   0x02
 
#define AMBIENT17_AGAIN_120X   0x03
 
#define AMBIENT17_CH0_COFF0   1.0
 Ambient 17 lux calculation coefficients.
 
#define AMBIENT17_CH1_COFF0   1.87
 
#define AMBIENT17_CH0_COFF1   0.63
 
#define AMBIENT17_CH1_COFF1   1.0
 
#define AMBIENT17_GA_VALUE   1.0
 
#define AMBIENT17_GA_MULTIPLIER   60.0
 
#define AMBIENT17_DEVICE_ID   0x34
 Ambient 17 ID values.
 
#define AMBIENT17_DEVICE_ADDRESS   0x39
 Ambient 17 device address setting.
 

Detailed Description

Settings for registers of Ambient 17 Click driver.

Macro Definition Documentation

◆ AMBIENT17_AGAIN_120X

#define AMBIENT17_AGAIN_120X   0x03

◆ AMBIENT17_AGAIN_16X

#define AMBIENT17_AGAIN_16X   0x02

◆ AMBIENT17_AGAIN_1X

#define AMBIENT17_AGAIN_1X   0x00

Ambient 17 control register setting.

Specified setting for control register of Ambient 17 Click driver.

◆ AMBIENT17_AGAIN_8X

#define AMBIENT17_AGAIN_8X   0x01

◆ AMBIENT17_ATIME_MAX

#define AMBIENT17_ATIME_MAX   699.88

Ambient 17 atime register setting.

Specified setting for atime register of Ambient 17 Click driver.

◆ AMBIENT17_ATIME_MIN

#define AMBIENT17_ATIME_MIN   2.73

◆ AMBIENT17_ATIME_STEP

#define AMBIENT17_ATIME_STEP   2.73

◆ AMBIENT17_CH0_COFF0

#define AMBIENT17_CH0_COFF0   1.0

Ambient 17 lux calculation coefficients.

Specified lux calculation coefficients of Ambient 17 Click driver.

◆ AMBIENT17_CH0_COFF1

#define AMBIENT17_CH0_COFF1   0.63

◆ AMBIENT17_CH1_COFF0

#define AMBIENT17_CH1_COFF0   1.87

◆ AMBIENT17_CH1_COFF1

#define AMBIENT17_CH1_COFF1   1.0

◆ AMBIENT17_CMD_BIT

#define AMBIENT17_CMD_BIT   0x80

Ambient 17 command register setting.

Specified setting for Command register of Ambient 17 Click driver.

◆ AMBIENT17_DEFAULT_ATIME

#define AMBIENT17_DEFAULT_ATIME   200.0

◆ AMBIENT17_DEFAULT_WTIME

#define AMBIENT17_DEFAULT_WTIME   200.0

◆ AMBIENT17_DEVICE_ADDRESS

#define AMBIENT17_DEVICE_ADDRESS   0x39

Ambient 17 device address setting.

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

◆ AMBIENT17_DEVICE_ID

#define AMBIENT17_DEVICE_ID   0x34

Ambient 17 ID values.

Specified ID values of Ambient 17 Click driver.

◆ AMBIENT17_ENABLE_ALS

#define AMBIENT17_ENABLE_ALS   0x02

◆ AMBIENT17_ENABLE_ALS_INT

#define AMBIENT17_ENABLE_ALS_INT   0x10

◆ AMBIENT17_ENABLE_OSC

#define AMBIENT17_ENABLE_OSC   0x01

◆ AMBIENT17_ENABLE_SLEEP_AFTER_INT

#define AMBIENT17_ENABLE_SLEEP_AFTER_INT   0x40

Ambient 17 enable register setting.

Specified setting for enable register of Ambient 17 Click driver.

◆ AMBIENT17_ENABLE_WAIT

#define AMBIENT17_ENABLE_WAIT   0x08

◆ AMBIENT17_GA_MULTIPLIER

#define AMBIENT17_GA_MULTIPLIER   60.0

◆ AMBIENT17_GA_VALUE

#define AMBIENT17_GA_VALUE   1.0

◆ AMBIENT17_SPEC_FUNC_INT_CLEAR

#define AMBIENT17_SPEC_FUNC_INT_CLEAR   0x06

◆ AMBIENT17_STATUS_AINT

#define AMBIENT17_STATUS_AINT   0x10

Ambient 17 status register setting.

Specified setting for status register of Ambient 17 Click driver.

◆ AMBIENT17_STATUS_AVALID

#define AMBIENT17_STATUS_AVALID   0x01

◆ AMBIENT17_TYPE_AUTO_INC

#define AMBIENT17_TYPE_AUTO_INC   0x20

◆ AMBIENT17_TYPE_REPEATED

#define AMBIENT17_TYPE_REPEATED   0x00

◆ AMBIENT17_TYPE_SPEC_FUNC

#define AMBIENT17_TYPE_SPEC_FUNC   0x60

◆ AMBIENT17_WTIME_MAX

#define AMBIENT17_WTIME_MAX   699.88

Ambient 17 wtime register setting.

Specified setting for wtime register of Ambient 17 Click driver.

◆ AMBIENT17_WTIME_MIN

#define AMBIENT17_WTIME_MIN   2.73

◆ AMBIENT17_WTIME_STEP

#define AMBIENT17_WTIME_STEP   2.73