ambient19 2.0.0.0
Ambient 19 Registers Settings

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

Macros

#define AMBIENT19_SYSM_CTRL_SWRST   0x80
 Ambient 19 system control register settings.
 
#define AMBIENT19_SYSM_EN_WAIT   0x40
 
#define AMBIENT19_SYSM_EN_PS   0x02
 
#define AMBIENT19_SYSM_EN_ALS   0x01
 
#define AMBIENT19_INT_CTRL_PS_INT_MODE   0x80
 Ambient 19 interrupt pin control register settings.
 
#define AMBIENT19_INT_CTRL_SINT_MODE   0x40
 
#define AMBIENT19_INT_CTRL_PS_SYNC   0x20
 
#define AMBIENT19_INT_CTRL_ALS_SYNC   0x10
 
#define AMBIENT19_INT_CTRL_EN_PINT   0x02
 
#define AMBIENT19_INT_CTRL_EN_AINT   0x01
 
#define AMBIENT19_INT_FLAG_INT_POR   0x80
 Ambient 19 interrupt flag register settings.
 
#define AMBIENT19_INT_FLAG_DATA_FLAG   0x40
 
#define AMBIENT19_INT_FLAG_OBJ   0x20
 
#define AMBIENT19_INT_FLAG_INT_PS   0x02
 
#define AMBIENT19_INT_FLAG_INT_ALS   0x01
 
#define AMBIENT19_WAIT_TIME_MAX   1280.0
 Ambient 19 wait time register settings.
 
#define AMBIENT19_WAIT_TIME_MIN   5.0
 
#define AMBIENT19_WAIT_TIME_STEP   5.0
 
#define AMBIENT19_WAIT_TIME_DEFAULT   100.0
 
#define AMBIENT19_ALS_GAIN_1X   0x00
 Ambient 19 als gain register settings.
 
#define AMBIENT19_ALS_GAIN_4X   0x01
 
#define AMBIENT19_ALS_GAIN_8X   0x02
 
#define AMBIENT19_ALS_GAIN_32X   0x03
 
#define AMBIENT19_ALS_GAIN_96X   0x04
 
#define AMBIENT19_ALS_TIME_MAX   674.888
 Ambient 19 als time register settings.
 
#define AMBIENT19_ALS_TIME_MIN   5.513
 
#define AMBIENT19_ALS_TIME_STEP   2.625
 
#define AMBIENT19_ALS_TIME_DEFAULT   400.0
 
#define AMBIENT19_LED_CTRL_IRDR_SEL_50mA   0x00
 Ambient 19 led control register settings.
 
#define AMBIENT19_LED_CTRL_IRDR_SEL_100mA   0x40
 
#define AMBIENT19_LED_CTRL_IRDR_SEL_150mA   0x80
 
#define AMBIENT19_LED_CTRL_IRDR_SEL_200mA   0xC0
 
#define AMBIENT19_LED_CTRL_IRDR_SEL_BIT_MASK   0xC0
 
#define AMBIENT19_LED_CTRL_ITW_PS_MAX   875.213
 
#define AMBIENT19_LED_CTRL_ITW_PS_MIN   13.675
 
#define AMBIENT19_LED_CTRL_ITW_PS_STEP   13.675
 
#define AMBIENT19_LED_CTRL_ITW_PS_BIT_MASK   0x3F
 
#define AMBIENT19_PS_GAIN_1X   0x00
 Ambient 19 ps gain register settings.
 
#define AMBIENT19_PS_GAIN_2X   0x01
 
#define AMBIENT19_PS_GAIN_4X   0x02
 
#define AMBIENT19_PS_GAIN_8X   0x03
 
#define AMBIENT19_PS_TIME_MAX_COUNT_4095   0x0F
 Ambient 19 ps time register settings.
 
#define AMBIENT19_PERSISTANCE_EVERY_ALS_CONV   0x00
 Ambient 19 persistance register settings.
 
#define AMBIENT19_INT_SOURCE_CH0_DATA   0x00
 Ambient 19 int source register settings.
 
#define AMBIENT19_INT_SOURCE_CH1_DATA   0x01
 
#define AMBIENT19_LUX_K1   0.52
 Ambient 19 lux calculation coefficients.
 
#define AMBIENT19_LUX_K2   0.94
 
#define AMBIENT19_LUX_K3   1.12
 
#define AMBIENT19_PRODUCT_NUM_LOW   0x14
 Ambient 19 product number values.
 
#define AMBIENT19_PRODUCT_NUM_HIGH   0x16
 
#define AMBIENT19_DEVICE_ADDRESS   0x38
 Ambient 19 device address setting.
 

Detailed Description

Settings for registers of Ambient 19 Click driver.

Macro Definition Documentation

◆ AMBIENT19_ALS_GAIN_1X

#define AMBIENT19_ALS_GAIN_1X   0x00

Ambient 19 als gain register settings.

Specified als gain register settings of Ambient 19 Click driver.

◆ AMBIENT19_ALS_GAIN_32X

#define AMBIENT19_ALS_GAIN_32X   0x03

◆ AMBIENT19_ALS_GAIN_4X

#define AMBIENT19_ALS_GAIN_4X   0x01

◆ AMBIENT19_ALS_GAIN_8X

#define AMBIENT19_ALS_GAIN_8X   0x02

◆ AMBIENT19_ALS_GAIN_96X

#define AMBIENT19_ALS_GAIN_96X   0x04

◆ AMBIENT19_ALS_TIME_DEFAULT

#define AMBIENT19_ALS_TIME_DEFAULT   400.0

◆ AMBIENT19_ALS_TIME_MAX

#define AMBIENT19_ALS_TIME_MAX   674.888

Ambient 19 als time register settings.

Specified als time register settings of Ambient 19 Click driver.

◆ AMBIENT19_ALS_TIME_MIN

#define AMBIENT19_ALS_TIME_MIN   5.513

◆ AMBIENT19_ALS_TIME_STEP

#define AMBIENT19_ALS_TIME_STEP   2.625

◆ AMBIENT19_DEVICE_ADDRESS

#define AMBIENT19_DEVICE_ADDRESS   0x38

Ambient 19 device address setting.

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

◆ AMBIENT19_INT_CTRL_ALS_SYNC

#define AMBIENT19_INT_CTRL_ALS_SYNC   0x10

◆ AMBIENT19_INT_CTRL_EN_AINT

#define AMBIENT19_INT_CTRL_EN_AINT   0x01

◆ AMBIENT19_INT_CTRL_EN_PINT

#define AMBIENT19_INT_CTRL_EN_PINT   0x02

◆ AMBIENT19_INT_CTRL_PS_INT_MODE

#define AMBIENT19_INT_CTRL_PS_INT_MODE   0x80

Ambient 19 interrupt pin control register settings.

Specified interrupt pin control register settings of Ambient 19 Click driver.

◆ AMBIENT19_INT_CTRL_PS_SYNC

#define AMBIENT19_INT_CTRL_PS_SYNC   0x20

◆ AMBIENT19_INT_CTRL_SINT_MODE

#define AMBIENT19_INT_CTRL_SINT_MODE   0x40

◆ AMBIENT19_INT_FLAG_DATA_FLAG

#define AMBIENT19_INT_FLAG_DATA_FLAG   0x40

◆ AMBIENT19_INT_FLAG_INT_ALS

#define AMBIENT19_INT_FLAG_INT_ALS   0x01

◆ AMBIENT19_INT_FLAG_INT_POR

#define AMBIENT19_INT_FLAG_INT_POR   0x80

Ambient 19 interrupt flag register settings.

Specified interrupt flag register settings of Ambient 19 Click driver.

◆ AMBIENT19_INT_FLAG_INT_PS

#define AMBIENT19_INT_FLAG_INT_PS   0x02

◆ AMBIENT19_INT_FLAG_OBJ

#define AMBIENT19_INT_FLAG_OBJ   0x20

◆ AMBIENT19_INT_SOURCE_CH0_DATA

#define AMBIENT19_INT_SOURCE_CH0_DATA   0x00

Ambient 19 int source register settings.

Specified int source register settings of Ambient 19 Click driver.

◆ AMBIENT19_INT_SOURCE_CH1_DATA

#define AMBIENT19_INT_SOURCE_CH1_DATA   0x01

◆ AMBIENT19_LED_CTRL_IRDR_SEL_100mA

#define AMBIENT19_LED_CTRL_IRDR_SEL_100mA   0x40

◆ AMBIENT19_LED_CTRL_IRDR_SEL_150mA

#define AMBIENT19_LED_CTRL_IRDR_SEL_150mA   0x80

◆ AMBIENT19_LED_CTRL_IRDR_SEL_200mA

#define AMBIENT19_LED_CTRL_IRDR_SEL_200mA   0xC0

◆ AMBIENT19_LED_CTRL_IRDR_SEL_50mA

#define AMBIENT19_LED_CTRL_IRDR_SEL_50mA   0x00

Ambient 19 led control register settings.

Specified led control register settings of Ambient 19 Click driver.

◆ AMBIENT19_LED_CTRL_IRDR_SEL_BIT_MASK

#define AMBIENT19_LED_CTRL_IRDR_SEL_BIT_MASK   0xC0

◆ AMBIENT19_LED_CTRL_ITW_PS_BIT_MASK

#define AMBIENT19_LED_CTRL_ITW_PS_BIT_MASK   0x3F

◆ AMBIENT19_LED_CTRL_ITW_PS_MAX

#define AMBIENT19_LED_CTRL_ITW_PS_MAX   875.213

◆ AMBIENT19_LED_CTRL_ITW_PS_MIN

#define AMBIENT19_LED_CTRL_ITW_PS_MIN   13.675

◆ AMBIENT19_LED_CTRL_ITW_PS_STEP

#define AMBIENT19_LED_CTRL_ITW_PS_STEP   13.675

◆ AMBIENT19_LUX_K1

#define AMBIENT19_LUX_K1   0.52

Ambient 19 lux calculation coefficients.

Specified lux calculation coefficients of Ambient 19 Click driver.

◆ AMBIENT19_LUX_K2

#define AMBIENT19_LUX_K2   0.94

◆ AMBIENT19_LUX_K3

#define AMBIENT19_LUX_K3   1.12

◆ AMBIENT19_PERSISTANCE_EVERY_ALS_CONV

#define AMBIENT19_PERSISTANCE_EVERY_ALS_CONV   0x00

Ambient 19 persistance register settings.

Specified persistance register settings of Ambient 19 Click driver.

◆ AMBIENT19_PRODUCT_NUM_HIGH

#define AMBIENT19_PRODUCT_NUM_HIGH   0x16

◆ AMBIENT19_PRODUCT_NUM_LOW

#define AMBIENT19_PRODUCT_NUM_LOW   0x14

Ambient 19 product number values.

Specified product number values of Ambient 19 Click driver.

◆ AMBIENT19_PS_GAIN_1X

#define AMBIENT19_PS_GAIN_1X   0x00

Ambient 19 ps gain register settings.

Specified ps gain register settings of Ambient 19 Click driver.

◆ AMBIENT19_PS_GAIN_2X

#define AMBIENT19_PS_GAIN_2X   0x01

◆ AMBIENT19_PS_GAIN_4X

#define AMBIENT19_PS_GAIN_4X   0x02

◆ AMBIENT19_PS_GAIN_8X

#define AMBIENT19_PS_GAIN_8X   0x03

◆ AMBIENT19_PS_TIME_MAX_COUNT_4095

#define AMBIENT19_PS_TIME_MAX_COUNT_4095   0x0F

Ambient 19 ps time register settings.

Specified ps time register settings of Ambient 19 Click driver.

◆ AMBIENT19_SYSM_CTRL_SWRST

#define AMBIENT19_SYSM_CTRL_SWRST   0x80

Ambient 19 system control register settings.

Specified system control register settings of Ambient 19 Click driver.

◆ AMBIENT19_SYSM_EN_ALS

#define AMBIENT19_SYSM_EN_ALS   0x01

◆ AMBIENT19_SYSM_EN_PS

#define AMBIENT19_SYSM_EN_PS   0x02

◆ AMBIENT19_SYSM_EN_WAIT

#define AMBIENT19_SYSM_EN_WAIT   0x40

◆ AMBIENT19_WAIT_TIME_DEFAULT

#define AMBIENT19_WAIT_TIME_DEFAULT   100.0

◆ AMBIENT19_WAIT_TIME_MAX

#define AMBIENT19_WAIT_TIME_MAX   1280.0

Ambient 19 wait time register settings.

Specified wait time register settings of Ambient 19 Click driver.

◆ AMBIENT19_WAIT_TIME_MIN

#define AMBIENT19_WAIT_TIME_MIN   5.0

◆ AMBIENT19_WAIT_TIME_STEP

#define AMBIENT19_WAIT_TIME_STEP   5.0