proximity12 2.0.0.0
Proximity 12 Registers Settings

Settings for registers of Proximity 12 Click driver. More...

Macros

#define PROXIMITY12_ENABLE_FLICKER   0x40
 Proximity 12 ENABLE register setting.
 
#define PROXIMITY12_ENABLE_ALS   0x10
 
#define PROXIMITY12_ENABLE_PROX   0x08
 
#define PROXIMITY12_ENABLE_POWER   0x01
 
#define PROXIMITY12_MEAS_MODE0_CL_APF_VSYNC   0x40
 Proximity 12 MEAS_MODE0 register setting.
 
#define PROXIMITY12_MEAS_MODE0_EN_PROX_DIODE   0x0C
 
#define PROXIMITY12_MEAS_MODE0_ALS_SET_A_DIODE   0x00
 
#define PROXIMITY12_MEAS_MODE0_ALS_SET_B_DIODE   0x02
 
#define PROXIMITY12_MEAS_MODE0_EN_ALS_DIODE   0x01
 
#define PROXIMITY12_AGC_DISABLE_ALL_MOD   0x00
 Proximity 12 modulator gain setting.
 
#define PROXIMITY12_AGC_ENABLE_ALL_MOD   0xFF
 
#define PROXIMITY12_AGC_ENABLE_MOD_7   0x80
 
#define PROXIMITY12_AGC_ENABLE_MOD_6   0x40
 
#define PROXIMITY12_AGC_ENABLE_MOD_5   0x20
 
#define PROXIMITY12_AGC_ENABLE_MOD_4   0x10
 
#define PROXIMITY12_AGC_ENABLE_MOD_3   0x08
 
#define PROXIMITY12_AGC_ENABLE_MOD_2   0x04
 
#define PROXIMITY12_AGC_ENABLE_MOD_1   0x02
 
#define PROXIMITY12_AGC_ENABLE_MOD_0   0x01
 
#define PROXIMITY12_MOD_GAIN_2X   0x00
 
#define PROXIMITY12_MOD_GAIN_4X   0x01
 
#define PROXIMITY12_MOD_GAIN_8X   0x02
 
#define PROXIMITY12_MOD_GAIN_16X   0x03
 
#define PROXIMITY12_MOD_GAIN_32X   0x04
 
#define PROXIMITY12_MOD_GAIN_64X   0x05
 
#define PROXIMITY12_MOD_GAIN_128X   0x06
 
#define PROXIMITY12_MOD_GAIN_256X   0x07
 
#define PROXIMITY12_MOD_GAIN_512X   0x08
 
#define PROXIMITY12_MOD_GAIN_1024X   0x09
 
#define PROXIMITY12_MOD_GAIN_2048X   0x0A
 
#define PROXIMITY12_MOD_GAIN_4096X   0x0B
 
#define PROXIMITY12_PROX_FILTER_ENABLE   0x08
 Proximity 12 proximity filter setting.
 
#define PROXIMITY12_PROX_FILTER_1   0x00
 
#define PROXIMITY12_PROX_FILTER_2   0x01
 
#define PROXIMITY12_PROX_FILTER_3   0x02
 
#define PROXIMITY12_PROX_FILTER_4   0x03
 
#define PROXIMITY12_PROX_FILTER_5   0x04
 
#define PROXIMITY12_PROX_FILTER_6   0x05
 
#define PROXIMITY12_PROX_FILTER_7   0x06
 
#define PROXIMITY12_PROX_FILTER_8   0x07
 
#define PROXIMITY12_ISINK_SCALER_0p5   0x00
 Proximity 12 LED sink setting.
 
#define PROXIMITY12_ISINK_SCALER_1   0x01
 
#define PROXIMITY12_ISINK_SCALER_1p5   0x02
 
#define PROXIMITY12_ISINK_SCALER_2   0x03
 
#define PROXIMITY12_ISINK_CURRENT_0mA   0x00
 
#define PROXIMITY12_ISINK_CURRENT_1mA   0x01
 
#define PROXIMITY12_ISINK_CURRENT_2mA   0x02
 
#define PROXIMITY12_ISINK_CURRENT_3mA   0x03
 
#define PROXIMITY12_ISINK_CURRENT_4mA   0x04
 
#define PROXIMITY12_ISINK_CURRENT_5mA   0x05
 
#define PROXIMITY12_ISINK_CURRENT_6mA   0x06
 
#define PROXIMITY12_ISINK_CURRENT_7mA   0x07
 
#define PROXIMITY12_PROX_GAIN_1X   0x00
 Proximity 12 proximity gain setting.
 
#define PROXIMITY12_PROX_GAIN_2X   0x01
 
#define PROXIMITY12_PROX_GAIN_4X   0x02
 
#define PROXIMITY12_PROX_GAIN_8X   0x03
 
#define PROXIMITY12_AUXID   0x03
 Proximity 12 ID registers values.
 
#define PROXIMITY12_REVID   0x13
 
#define PROXIMITY12_ID   0x40
 
#define PROXIMITY12_SET_DEV_ADDR   0x39
 Proximity 12 device address setting.
 

Detailed Description

Settings for registers of Proximity 12 Click driver.

Macro Definition Documentation

◆ PROXIMITY12_AGC_DISABLE_ALL_MOD

#define PROXIMITY12_AGC_DISABLE_ALL_MOD   0x00

Proximity 12 modulator gain setting.

Specified setting for modulator gain of Proximity 12 Click driver.

◆ PROXIMITY12_AGC_ENABLE_ALL_MOD

#define PROXIMITY12_AGC_ENABLE_ALL_MOD   0xFF

◆ PROXIMITY12_AGC_ENABLE_MOD_0

#define PROXIMITY12_AGC_ENABLE_MOD_0   0x01

◆ PROXIMITY12_AGC_ENABLE_MOD_1

#define PROXIMITY12_AGC_ENABLE_MOD_1   0x02

◆ PROXIMITY12_AGC_ENABLE_MOD_2

#define PROXIMITY12_AGC_ENABLE_MOD_2   0x04

◆ PROXIMITY12_AGC_ENABLE_MOD_3

#define PROXIMITY12_AGC_ENABLE_MOD_3   0x08

◆ PROXIMITY12_AGC_ENABLE_MOD_4

#define PROXIMITY12_AGC_ENABLE_MOD_4   0x10

◆ PROXIMITY12_AGC_ENABLE_MOD_5

#define PROXIMITY12_AGC_ENABLE_MOD_5   0x20

◆ PROXIMITY12_AGC_ENABLE_MOD_6

#define PROXIMITY12_AGC_ENABLE_MOD_6   0x40

◆ PROXIMITY12_AGC_ENABLE_MOD_7

#define PROXIMITY12_AGC_ENABLE_MOD_7   0x80

◆ PROXIMITY12_AUXID

#define PROXIMITY12_AUXID   0x03

Proximity 12 ID registers values.

Specified values of ID registers of Proximity 12 Click driver.

◆ PROXIMITY12_ENABLE_ALS

#define PROXIMITY12_ENABLE_ALS   0x10

◆ PROXIMITY12_ENABLE_FLICKER

#define PROXIMITY12_ENABLE_FLICKER   0x40

Proximity 12 ENABLE register setting.

Specified setting for ENABLE register of Proximity 12 Click driver.

◆ PROXIMITY12_ENABLE_POWER

#define PROXIMITY12_ENABLE_POWER   0x01

◆ PROXIMITY12_ENABLE_PROX

#define PROXIMITY12_ENABLE_PROX   0x08

◆ PROXIMITY12_ID

#define PROXIMITY12_ID   0x40

◆ PROXIMITY12_ISINK_CURRENT_0mA

#define PROXIMITY12_ISINK_CURRENT_0mA   0x00

◆ PROXIMITY12_ISINK_CURRENT_1mA

#define PROXIMITY12_ISINK_CURRENT_1mA   0x01

◆ PROXIMITY12_ISINK_CURRENT_2mA

#define PROXIMITY12_ISINK_CURRENT_2mA   0x02

◆ PROXIMITY12_ISINK_CURRENT_3mA

#define PROXIMITY12_ISINK_CURRENT_3mA   0x03

◆ PROXIMITY12_ISINK_CURRENT_4mA

#define PROXIMITY12_ISINK_CURRENT_4mA   0x04

◆ PROXIMITY12_ISINK_CURRENT_5mA

#define PROXIMITY12_ISINK_CURRENT_5mA   0x05

◆ PROXIMITY12_ISINK_CURRENT_6mA

#define PROXIMITY12_ISINK_CURRENT_6mA   0x06

◆ PROXIMITY12_ISINK_CURRENT_7mA

#define PROXIMITY12_ISINK_CURRENT_7mA   0x07

◆ PROXIMITY12_ISINK_SCALER_0p5

#define PROXIMITY12_ISINK_SCALER_0p5   0x00

Proximity 12 LED sink setting.

Specified setting for LED sink of Proximity 12 Click driver.

◆ PROXIMITY12_ISINK_SCALER_1

#define PROXIMITY12_ISINK_SCALER_1   0x01

◆ PROXIMITY12_ISINK_SCALER_1p5

#define PROXIMITY12_ISINK_SCALER_1p5   0x02

◆ PROXIMITY12_ISINK_SCALER_2

#define PROXIMITY12_ISINK_SCALER_2   0x03

◆ PROXIMITY12_MEAS_MODE0_ALS_SET_A_DIODE

#define PROXIMITY12_MEAS_MODE0_ALS_SET_A_DIODE   0x00

◆ PROXIMITY12_MEAS_MODE0_ALS_SET_B_DIODE

#define PROXIMITY12_MEAS_MODE0_ALS_SET_B_DIODE   0x02

◆ PROXIMITY12_MEAS_MODE0_CL_APF_VSYNC

#define PROXIMITY12_MEAS_MODE0_CL_APF_VSYNC   0x40

Proximity 12 MEAS_MODE0 register setting.

Specified setting for MEAS_MODE0 register of Proximity 12 Click driver.

◆ PROXIMITY12_MEAS_MODE0_EN_ALS_DIODE

#define PROXIMITY12_MEAS_MODE0_EN_ALS_DIODE   0x01

◆ PROXIMITY12_MEAS_MODE0_EN_PROX_DIODE

#define PROXIMITY12_MEAS_MODE0_EN_PROX_DIODE   0x0C

◆ PROXIMITY12_MOD_GAIN_1024X

#define PROXIMITY12_MOD_GAIN_1024X   0x09

◆ PROXIMITY12_MOD_GAIN_128X

#define PROXIMITY12_MOD_GAIN_128X   0x06

◆ PROXIMITY12_MOD_GAIN_16X

#define PROXIMITY12_MOD_GAIN_16X   0x03

◆ PROXIMITY12_MOD_GAIN_2048X

#define PROXIMITY12_MOD_GAIN_2048X   0x0A

◆ PROXIMITY12_MOD_GAIN_256X

#define PROXIMITY12_MOD_GAIN_256X   0x07

◆ PROXIMITY12_MOD_GAIN_2X

#define PROXIMITY12_MOD_GAIN_2X   0x00

◆ PROXIMITY12_MOD_GAIN_32X

#define PROXIMITY12_MOD_GAIN_32X   0x04

◆ PROXIMITY12_MOD_GAIN_4096X

#define PROXIMITY12_MOD_GAIN_4096X   0x0B

◆ PROXIMITY12_MOD_GAIN_4X

#define PROXIMITY12_MOD_GAIN_4X   0x01

◆ PROXIMITY12_MOD_GAIN_512X

#define PROXIMITY12_MOD_GAIN_512X   0x08

◆ PROXIMITY12_MOD_GAIN_64X

#define PROXIMITY12_MOD_GAIN_64X   0x05

◆ PROXIMITY12_MOD_GAIN_8X

#define PROXIMITY12_MOD_GAIN_8X   0x02

◆ PROXIMITY12_PROX_FILTER_1

#define PROXIMITY12_PROX_FILTER_1   0x00

◆ PROXIMITY12_PROX_FILTER_2

#define PROXIMITY12_PROX_FILTER_2   0x01

◆ PROXIMITY12_PROX_FILTER_3

#define PROXIMITY12_PROX_FILTER_3   0x02

◆ PROXIMITY12_PROX_FILTER_4

#define PROXIMITY12_PROX_FILTER_4   0x03

◆ PROXIMITY12_PROX_FILTER_5

#define PROXIMITY12_PROX_FILTER_5   0x04

◆ PROXIMITY12_PROX_FILTER_6

#define PROXIMITY12_PROX_FILTER_6   0x05

◆ PROXIMITY12_PROX_FILTER_7

#define PROXIMITY12_PROX_FILTER_7   0x06

◆ PROXIMITY12_PROX_FILTER_8

#define PROXIMITY12_PROX_FILTER_8   0x07

◆ PROXIMITY12_PROX_FILTER_ENABLE

#define PROXIMITY12_PROX_FILTER_ENABLE   0x08

Proximity 12 proximity filter setting.

Specified setting for proximity filter of Proximity 12 Click driver.

◆ PROXIMITY12_PROX_GAIN_1X

#define PROXIMITY12_PROX_GAIN_1X   0x00

Proximity 12 proximity gain setting.

Specified setting for proximity gain of Proximity 12 Click driver.

◆ PROXIMITY12_PROX_GAIN_2X

#define PROXIMITY12_PROX_GAIN_2X   0x01

◆ PROXIMITY12_PROX_GAIN_4X

#define PROXIMITY12_PROX_GAIN_4X   0x02

◆ PROXIMITY12_PROX_GAIN_8X

#define PROXIMITY12_PROX_GAIN_8X   0x03

◆ PROXIMITY12_REVID

#define PROXIMITY12_REVID   0x13

◆ PROXIMITY12_SET_DEV_ADDR

#define PROXIMITY12_SET_DEV_ADDR   0x39

Proximity 12 device address setting.

Specified setting for device slave address selection of Proximity 12 Click driver.