ambient22 2.1.0.0
Ambient 22 Registers Settings

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

Macros

#define AMBIENT22_CONFIG_RN_AUTO_SCALE   0xC000u
 Ambient 22 configuration setting.
 
#define AMBIENT22_CONFIG_RN_MASK   0xF000u
 
#define AMBIENT22_CONFIG_CT_100_mS   0x0000u
 
#define AMBIENT22_CONFIG_CT_800_mS   0x0800u
 
#define AMBIENT22_CONFIG_CT_MASK   0x0800u
 
#define AMBIENT22_CONFIG_M_SHUTDOWN   0x0000u
 
#define AMBIENT22_CONFIG_M_SINGLE   0x0200u
 
#define AMBIENT22_CONFIG_M_CONTINUOUS   0x0400u
 
#define AMBIENT22_CONFIG_M_MASK   0x0600u
 
#define AMBIENT22_CONFIG_OVF_MASK   0x0100u
 
#define AMBIENT22_CONFIG_CRF_MASK   0x0080u
 
#define AMBIENT22_CONFIG_FH_MASK   0x0040u
 
#define AMBIENT22_CONFIG_FL_MASK   0x0020u
 
#define AMBIENT22_CONFIG_L_TRANSPARENT   0x0000u
 
#define AMBIENT22_CONFIG_L_LATCH   0x0010u
 
#define AMBIENT22_CONFIG_L_MASK   0x0010u
 
#define AMBIENT22_CONFIG_POL_LOW   0x0000u
 
#define AMBIENT22_CONFIG_POL_HIGH   0x0008u
 
#define AMBIENT22_CONFIG_POL_MASK   0x0008u
 
#define AMBIENT22_CONFIG_ME_MASK   0x0004u
 
#define AMBIENT22_CONFIG_FC_ONE   0x0000u
 
#define AMBIENT22_CONFIG_FC_TWO   0x0001u
 
#define AMBIENT22_CONFIG_FC_FOUR   0x0002u
 
#define AMBIENT22_CONFIG_FC_EIGHT   0x0003u
 
#define AMBIENT22_CONFIG_FC_MASK   0x0003u
 
#define AMBIENT22_RESULT_EXP   0xF000u
 Ambient 22 lux calculation setting.
 
#define AMBIENT22_RESULT_FRACT   0x0FFFu
 
#define AMBIENT22_RESULT_MIN   0x0000u
 
#define AMBIENT22_RESULT_MAX   0xBFFFu
 
#define AMBIENT22_RESULT_LUX_PER_LSB   0.02f
 
#define AMBIENT22_MANUFACTURER_ID   0x5449u
 Ambient 22 device ID setting.
 
#define AMBIENT22_DEVICE_ID   0x3001u
 
#define AMBIENT22_DEVICE_ADDRESS_0   0x44
 Ambient 22 device address setting.
 
#define AMBIENT22_DEVICE_ADDRESS_1   0x45
 

Detailed Description

Settings for registers of Ambient 22 Click driver.

Macro Definition Documentation

◆ AMBIENT22_CONFIG_CRF_MASK

#define AMBIENT22_CONFIG_CRF_MASK   0x0080u

◆ AMBIENT22_CONFIG_CT_100_mS

#define AMBIENT22_CONFIG_CT_100_mS   0x0000u

◆ AMBIENT22_CONFIG_CT_800_mS

#define AMBIENT22_CONFIG_CT_800_mS   0x0800u

◆ AMBIENT22_CONFIG_CT_MASK

#define AMBIENT22_CONFIG_CT_MASK   0x0800u

◆ AMBIENT22_CONFIG_FC_EIGHT

#define AMBIENT22_CONFIG_FC_EIGHT   0x0003u

◆ AMBIENT22_CONFIG_FC_FOUR

#define AMBIENT22_CONFIG_FC_FOUR   0x0002u

◆ AMBIENT22_CONFIG_FC_MASK

#define AMBIENT22_CONFIG_FC_MASK   0x0003u

◆ AMBIENT22_CONFIG_FC_ONE

#define AMBIENT22_CONFIG_FC_ONE   0x0000u

◆ AMBIENT22_CONFIG_FC_TWO

#define AMBIENT22_CONFIG_FC_TWO   0x0001u

◆ AMBIENT22_CONFIG_FH_MASK

#define AMBIENT22_CONFIG_FH_MASK   0x0040u

◆ AMBIENT22_CONFIG_FL_MASK

#define AMBIENT22_CONFIG_FL_MASK   0x0020u

◆ AMBIENT22_CONFIG_L_LATCH

#define AMBIENT22_CONFIG_L_LATCH   0x0010u

◆ AMBIENT22_CONFIG_L_MASK

#define AMBIENT22_CONFIG_L_MASK   0x0010u

◆ AMBIENT22_CONFIG_L_TRANSPARENT

#define AMBIENT22_CONFIG_L_TRANSPARENT   0x0000u

◆ AMBIENT22_CONFIG_M_CONTINUOUS

#define AMBIENT22_CONFIG_M_CONTINUOUS   0x0400u

◆ AMBIENT22_CONFIG_M_MASK

#define AMBIENT22_CONFIG_M_MASK   0x0600u

◆ AMBIENT22_CONFIG_M_SHUTDOWN

#define AMBIENT22_CONFIG_M_SHUTDOWN   0x0000u

◆ AMBIENT22_CONFIG_M_SINGLE

#define AMBIENT22_CONFIG_M_SINGLE   0x0200u

◆ AMBIENT22_CONFIG_ME_MASK

#define AMBIENT22_CONFIG_ME_MASK   0x0004u

◆ AMBIENT22_CONFIG_OVF_MASK

#define AMBIENT22_CONFIG_OVF_MASK   0x0100u

◆ AMBIENT22_CONFIG_POL_HIGH

#define AMBIENT22_CONFIG_POL_HIGH   0x0008u

◆ AMBIENT22_CONFIG_POL_LOW

#define AMBIENT22_CONFIG_POL_LOW   0x0000u

◆ AMBIENT22_CONFIG_POL_MASK

#define AMBIENT22_CONFIG_POL_MASK   0x0008u

◆ AMBIENT22_CONFIG_RN_AUTO_SCALE

#define AMBIENT22_CONFIG_RN_AUTO_SCALE   0xC000u

Ambient 22 configuration setting.

Specified setting for configuration of Ambient 22 Click driver.

◆ AMBIENT22_CONFIG_RN_MASK

#define AMBIENT22_CONFIG_RN_MASK   0xF000u

◆ AMBIENT22_DEVICE_ADDRESS_0

#define AMBIENT22_DEVICE_ADDRESS_0   0x44

Ambient 22 device address setting.

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

◆ AMBIENT22_DEVICE_ADDRESS_1

#define AMBIENT22_DEVICE_ADDRESS_1   0x45

◆ AMBIENT22_DEVICE_ID

#define AMBIENT22_DEVICE_ID   0x3001u

◆ AMBIENT22_MANUFACTURER_ID

#define AMBIENT22_MANUFACTURER_ID   0x5449u

Ambient 22 device ID setting.

Specified setting for device ID of Ambient 22 Click driver.

◆ AMBIENT22_RESULT_EXP

#define AMBIENT22_RESULT_EXP   0xF000u

Ambient 22 lux calculation setting.

Specified setting for lux calculation of Ambient 22 Click driver.

◆ AMBIENT22_RESULT_FRACT

#define AMBIENT22_RESULT_FRACT   0x0FFFu

◆ AMBIENT22_RESULT_LUX_PER_LSB

#define AMBIENT22_RESULT_LUX_PER_LSB   0.02f

◆ AMBIENT22_RESULT_MAX

#define AMBIENT22_RESULT_MAX   0xBFFFu

◆ AMBIENT22_RESULT_MIN

#define AMBIENT22_RESULT_MIN   0x0000u