lightmixsens 2.0.0.0
Light mix sens Registers Settings

Settings for registers of Light mix sens Click driver. More...

Macros

#define LIGHTMIXSENS_ATIME_WTIME_CONST   2.8
 Light mix sens description setting.
 
#define LIGHTMIXSENS_PTIME_CONST   88
 
#define LIGHTMIXSENS_WTIME_INCR_FACTOR   12
 
#define LIGHTMIXSENS_ENABLE_WAIT   0x08
 
#define LIGHTMIXSENS_ENABLE_PROX   0x04
 
#define LIGHTMIXSENS_ENABLE_ALS   0x02
 
#define LIGHTMIXSENS_ENABLE_OSC   0x01
 
#define LIGHTMIXSENS_DISABLE_ALL   0x00
 
#define LIGHTMIXSENS_PCFG1_GAIN_1x   0x00
 
#define LIGHTMIXSENS_PCFG1_GAIN_2x   0x40
 
#define LIGHTMIXSENS_PCFG1_GAIN_4x   0x80
 
#define LIGHTMIXSENS_PCFG1_GAIN_8x   0xC0
 
#define LIGHTMIXSENS_PCFG1_DRIVE_6mA   0x00
 
#define LIGHTMIXSENS_PCFG1_DRIVE_12mA   0x01
 
#define LIGHTMIXSENS_PCFG1_DRIVE_18mA   0x02
 
#define LIGHTMIXSENS_PCFG1_DRIVE_192mA   0x1F
 
#define LIGHTMIXSENS_CFG0_WLONG   0x04
 
#define LIGHTMIXSENS_CFG1_IR_TO_GREEN   0x08
 
#define LIGHTMIXSENS_CFG1_AGAIN_1x   0x00
 
#define LIGHTMIXSENS_CFG1_AGAIN_4x   0x01
 
#define LIGHTMIXSENS_CFG1_AGAIN_16x   0x02
 
#define LIGHTMIXSENS_CFG1_AGAIN_64x   0x03
 
#define LIGHTMIXSENS_CFG2_AGAINMAX   0x10
 
#define LIGHTMIXSENS_CFG2_AGAINL   0x04
 
#define LIGHTMIXSENS_CFG3_INT_READ_CLEAR   0x80
 
#define LIGHTMIXSENS_CFG3_SAI   0x10
 
#define LIGHTMIXSENS_FLAG_ASAT   0x80
 Light mix sens flag bits.
 
#define LIGHTMIXSENS_FLAG_PSAT   0x40
 
#define LIGHTMIXSENS_FLAG_PINT   0x20
 
#define LIGHTMIXSENS_FLAG_AINT   0x10
 
#define LIGHTMIXSENS_FLAG_CINT   0x08
 
#define LIGHTMIXSENS_FLAG_PSAT_REFL   0x02
 
#define LIGHTMIXSENS_FLAG_PSAT_AMB   0x01
 
#define LIGHTMIXSENS_CALIB_ELECTRICAL   0x20
 Light mix sens calibration settings.
 
#define LIGHTMIXSENS_CALIB_OFFSET_START   0x01
 
#define LIGHTMIXSENS_CALIBCFG_PROX_TARGET_0   0x00
 
#define LIGHTMIXSENS_CALIBCFG_PROX_TARGET_1   0x20
 
#define LIGHTMIXSENS_CALIBCFG_PROX_TARGET_3   0x40
 
#define LIGHTMIXSENS_CALIBCFG_PROX_TARGET_7   0x60
 
#define LIGHTMIXSENS_CALIBCFG_PROX_TARGET_15   0x80
 
#define LIGHTMIXSENS_CALIBCFG_PROX_TARGET_31   0xA0
 
#define LIGHTMIXSENS_CALIBCFG_PROX_TARGET_63   0xC0
 
#define LIGHTMIXSENS_CALIBCFG_PROX_TARGET_127   0xE0
 
#define LIGHTMIXSENS_CALIBCFG_AUTO_OFFSET_ADJ   0x08
 
#define LIGHTMIXSENS_CALIBCFG_PROX_AVG_DIS   0x00
 
#define LIGHTMIXSENS_CALIBCFG_PROX_AVG_2   0x01
 
#define LIGHTMIXSENS_CALIBCFG_PROX_AVG_4   0x02
 
#define LIGHTMIXSENS_CALIBCFG_PROX_AVG_8   0x03
 
#define LIGHTMIXSENS_CALIBCFG_PROX_AVG_16   0x04
 
#define LIGHTMIXSENS_CALIBCFG_PROX_AVG_32   0x05
 
#define LIGHTMIXSENS_CALIBCFG_PROX_AVG_64   0x06
 
#define LIGHTMIXSENS_CALIBCFG_PROX_AVG_128   0x07
 
#define LIGHTMIXSENS_CALIBSTAT_FINISHED   0x01
 
#define LIGHTMIXSENS_DUMMY_DATA   0x00
 
#define LIGHTMIXSENS_SET_DEV_ADDR   0x39
 Light mix sens device address setting.
 

Detailed Description

Settings for registers of Light mix sens Click driver.

Macro Definition Documentation

◆ LIGHTMIXSENS_ATIME_WTIME_CONST

#define LIGHTMIXSENS_ATIME_WTIME_CONST   2.8

Light mix sens description setting.

Specified setting for description of Light mix sens Click driver.

◆ LIGHTMIXSENS_CALIB_ELECTRICAL

#define LIGHTMIXSENS_CALIB_ELECTRICAL   0x20

Light mix sens calibration settings.

Specified calibration settings of Light mix sens Click driver.

◆ LIGHTMIXSENS_CALIB_OFFSET_START

#define LIGHTMIXSENS_CALIB_OFFSET_START   0x01

◆ LIGHTMIXSENS_CALIBCFG_AUTO_OFFSET_ADJ

#define LIGHTMIXSENS_CALIBCFG_AUTO_OFFSET_ADJ   0x08

◆ LIGHTMIXSENS_CALIBCFG_PROX_AVG_128

#define LIGHTMIXSENS_CALIBCFG_PROX_AVG_128   0x07

◆ LIGHTMIXSENS_CALIBCFG_PROX_AVG_16

#define LIGHTMIXSENS_CALIBCFG_PROX_AVG_16   0x04

◆ LIGHTMIXSENS_CALIBCFG_PROX_AVG_2

#define LIGHTMIXSENS_CALIBCFG_PROX_AVG_2   0x01

◆ LIGHTMIXSENS_CALIBCFG_PROX_AVG_32

#define LIGHTMIXSENS_CALIBCFG_PROX_AVG_32   0x05

◆ LIGHTMIXSENS_CALIBCFG_PROX_AVG_4

#define LIGHTMIXSENS_CALIBCFG_PROX_AVG_4   0x02

◆ LIGHTMIXSENS_CALIBCFG_PROX_AVG_64

#define LIGHTMIXSENS_CALIBCFG_PROX_AVG_64   0x06

◆ LIGHTMIXSENS_CALIBCFG_PROX_AVG_8

#define LIGHTMIXSENS_CALIBCFG_PROX_AVG_8   0x03

◆ LIGHTMIXSENS_CALIBCFG_PROX_AVG_DIS

#define LIGHTMIXSENS_CALIBCFG_PROX_AVG_DIS   0x00

◆ LIGHTMIXSENS_CALIBCFG_PROX_TARGET_0

#define LIGHTMIXSENS_CALIBCFG_PROX_TARGET_0   0x00

◆ LIGHTMIXSENS_CALIBCFG_PROX_TARGET_1

#define LIGHTMIXSENS_CALIBCFG_PROX_TARGET_1   0x20

◆ LIGHTMIXSENS_CALIBCFG_PROX_TARGET_127

#define LIGHTMIXSENS_CALIBCFG_PROX_TARGET_127   0xE0

◆ LIGHTMIXSENS_CALIBCFG_PROX_TARGET_15

#define LIGHTMIXSENS_CALIBCFG_PROX_TARGET_15   0x80

◆ LIGHTMIXSENS_CALIBCFG_PROX_TARGET_3

#define LIGHTMIXSENS_CALIBCFG_PROX_TARGET_3   0x40

◆ LIGHTMIXSENS_CALIBCFG_PROX_TARGET_31

#define LIGHTMIXSENS_CALIBCFG_PROX_TARGET_31   0xA0

◆ LIGHTMIXSENS_CALIBCFG_PROX_TARGET_63

#define LIGHTMIXSENS_CALIBCFG_PROX_TARGET_63   0xC0

◆ LIGHTMIXSENS_CALIBCFG_PROX_TARGET_7

#define LIGHTMIXSENS_CALIBCFG_PROX_TARGET_7   0x60

◆ LIGHTMIXSENS_CALIBSTAT_FINISHED

#define LIGHTMIXSENS_CALIBSTAT_FINISHED   0x01

◆ LIGHTMIXSENS_CFG0_WLONG

#define LIGHTMIXSENS_CFG0_WLONG   0x04

◆ LIGHTMIXSENS_CFG1_AGAIN_16x

#define LIGHTMIXSENS_CFG1_AGAIN_16x   0x02

◆ LIGHTMIXSENS_CFG1_AGAIN_1x

#define LIGHTMIXSENS_CFG1_AGAIN_1x   0x00

◆ LIGHTMIXSENS_CFG1_AGAIN_4x

#define LIGHTMIXSENS_CFG1_AGAIN_4x   0x01

◆ LIGHTMIXSENS_CFG1_AGAIN_64x

#define LIGHTMIXSENS_CFG1_AGAIN_64x   0x03

◆ LIGHTMIXSENS_CFG1_IR_TO_GREEN

#define LIGHTMIXSENS_CFG1_IR_TO_GREEN   0x08

◆ LIGHTMIXSENS_CFG2_AGAINL

#define LIGHTMIXSENS_CFG2_AGAINL   0x04

◆ LIGHTMIXSENS_CFG2_AGAINMAX

#define LIGHTMIXSENS_CFG2_AGAINMAX   0x10

◆ LIGHTMIXSENS_CFG3_INT_READ_CLEAR

#define LIGHTMIXSENS_CFG3_INT_READ_CLEAR   0x80

◆ LIGHTMIXSENS_CFG3_SAI

#define LIGHTMIXSENS_CFG3_SAI   0x10

◆ LIGHTMIXSENS_DISABLE_ALL

#define LIGHTMIXSENS_DISABLE_ALL   0x00

◆ LIGHTMIXSENS_DUMMY_DATA

#define LIGHTMIXSENS_DUMMY_DATA   0x00

◆ LIGHTMIXSENS_ENABLE_ALS

#define LIGHTMIXSENS_ENABLE_ALS   0x02

◆ LIGHTMIXSENS_ENABLE_OSC

#define LIGHTMIXSENS_ENABLE_OSC   0x01

◆ LIGHTMIXSENS_ENABLE_PROX

#define LIGHTMIXSENS_ENABLE_PROX   0x04

◆ LIGHTMIXSENS_ENABLE_WAIT

#define LIGHTMIXSENS_ENABLE_WAIT   0x08

◆ LIGHTMIXSENS_FLAG_AINT

#define LIGHTMIXSENS_FLAG_AINT   0x10

◆ LIGHTMIXSENS_FLAG_ASAT

#define LIGHTMIXSENS_FLAG_ASAT   0x80

Light mix sens flag bits.

Specified flag bits values of Light mix sens Click driver.

◆ LIGHTMIXSENS_FLAG_CINT

#define LIGHTMIXSENS_FLAG_CINT   0x08

◆ LIGHTMIXSENS_FLAG_PINT

#define LIGHTMIXSENS_FLAG_PINT   0x20

◆ LIGHTMIXSENS_FLAG_PSAT

#define LIGHTMIXSENS_FLAG_PSAT   0x40

◆ LIGHTMIXSENS_FLAG_PSAT_AMB

#define LIGHTMIXSENS_FLAG_PSAT_AMB   0x01

◆ LIGHTMIXSENS_FLAG_PSAT_REFL

#define LIGHTMIXSENS_FLAG_PSAT_REFL   0x02

◆ LIGHTMIXSENS_PCFG1_DRIVE_12mA

#define LIGHTMIXSENS_PCFG1_DRIVE_12mA   0x01

◆ LIGHTMIXSENS_PCFG1_DRIVE_18mA

#define LIGHTMIXSENS_PCFG1_DRIVE_18mA   0x02

◆ LIGHTMIXSENS_PCFG1_DRIVE_192mA

#define LIGHTMIXSENS_PCFG1_DRIVE_192mA   0x1F

◆ LIGHTMIXSENS_PCFG1_DRIVE_6mA

#define LIGHTMIXSENS_PCFG1_DRIVE_6mA   0x00

◆ LIGHTMIXSENS_PCFG1_GAIN_1x

#define LIGHTMIXSENS_PCFG1_GAIN_1x   0x00

◆ LIGHTMIXSENS_PCFG1_GAIN_2x

#define LIGHTMIXSENS_PCFG1_GAIN_2x   0x40

◆ LIGHTMIXSENS_PCFG1_GAIN_4x

#define LIGHTMIXSENS_PCFG1_GAIN_4x   0x80

◆ LIGHTMIXSENS_PCFG1_GAIN_8x

#define LIGHTMIXSENS_PCFG1_GAIN_8x   0xC0

◆ LIGHTMIXSENS_PTIME_CONST

#define LIGHTMIXSENS_PTIME_CONST   88

◆ LIGHTMIXSENS_SET_DEV_ADDR

#define LIGHTMIXSENS_SET_DEV_ADDR   0x39

Light mix sens device address setting.

Specified setting for device slave address selection of Light mix sens Click driver.

◆ LIGHTMIXSENS_WTIME_INCR_FACTOR

#define LIGHTMIXSENS_WTIME_INCR_FACTOR   12