proximity10 2.0.0.0
Settings for Parameters Configurations

Macros

#define PROXIMITY10_EN_AUX   0x40
 
#define PROXIMITY10_EN_ALS_IR   0x20
 
#define PROXIMITY10_EN_ALS_VIS   0x10
 
#define PROXIMITY10_EN_PS3   0x04
 
#define PROXIMITY10_EN_PS2   0x02
 
#define PROXIMITY10_EN_PS1   0x01
 
#define PROXIMITY10_NO_LED_DRIVE   0x00
 
#define PROXIMITY10_LED1_DRIVE_EN   0x01
 
#define PROXIMITY10_LED2_DRIVE_EN   0x02
 
#define PROXIMITY10_LED3_DRIVE_EN   0x04
 
#define PROXIMITY10_ADC_REC_1_CLOCK   0x00
 
#define PROXIMITY10_ADC_REC_7_CLOCK   0x10
 
#define PROXIMITY10_ADC_REC_15_CLOCK   0x20
 
#define PROXIMITY10_ADC_REC_31_CLOCK   0x30
 
#define PROXIMITY10_ADC_REC_63_CLOCK   0x40
 
#define PROXIMITY10_ADC_REC_127_CLOCK   0x50
 
#define PROXIMITY10_ADC_REC_255_CLOCK   0x60
 
#define PROXIMITY10_ADC_REC_511_CLOCK   0x70
 
#define PROXIMITY10_ADC_CLOCK_DIV_1   0x00
 
#define PROXIMITY10_ADC_CLOCK_DIV_2   0x01
 
#define PROXIMITY10_ADC_CLOCK_DIV_4   0x02
 
#define PROXIMITY10_ADC_CLOCK_DIV_8   0x03
 
#define PROXIMITY10_ADC_CLOCK_DIV_16   0x04
 
#define PROXIMITY10_ADC_CLOCK_DIV_32   0x05
 
#define PROXIMITY10_ADC_CLOCK_DIV_64   0x06
 
#define PROXIMITY10_ADC_CLOCK_DIV_128   0x07
 
#define PROXIMITY10_NORMAL_SIGNAL_RANGE   0x00
 
#define PROXIMITY10_HIGH_SIGNAL_RANGE   0x20
 
#define PROXIMITY10_RAW_ADC_MEAS_MODE   0x00
 
#define PROXIMITY10_NORMAL_PROX_MEAS_MODE   0x04
 
#define PROXIMITY10_ADC_INPUT_SMALL_IR   0x00
 
#define PROXIMITY10_ADC_INPUT_LARGE_IR   0x03
 
#define PROXIMITY10_ADC_INPUT_VIS_PHOTODIODE   0x02
 
#define PROXIMITY10_ADC_INPUT_NO_PHOTODIODE   0x06
 
#define PROXIMITY10_ADC_INPUT_GND   0x25
 
#define PROXIMITY10_ADC_INPUT_TEMP   0x65
 
#define PROXIMITY10_ADC_INPUT_VDD   0x75
 
#define PROXIMITY10_2_CONS_SAMPLES   0x03
 
#define PROXIMITY10_3_CONS_SAMPLES   0x07
 
#define PROXIMITY10_8_CONS_SAMPLES   0xFF
 

Detailed Description

Macro Definition Documentation

◆ PROXIMITY10_2_CONS_SAMPLES

#define PROXIMITY10_2_CONS_SAMPLES   0x03

◆ PROXIMITY10_3_CONS_SAMPLES

#define PROXIMITY10_3_CONS_SAMPLES   0x07

◆ PROXIMITY10_8_CONS_SAMPLES

#define PROXIMITY10_8_CONS_SAMPLES   0xFF

◆ PROXIMITY10_ADC_CLOCK_DIV_1

#define PROXIMITY10_ADC_CLOCK_DIV_1   0x00

◆ PROXIMITY10_ADC_CLOCK_DIV_128

#define PROXIMITY10_ADC_CLOCK_DIV_128   0x07

◆ PROXIMITY10_ADC_CLOCK_DIV_16

#define PROXIMITY10_ADC_CLOCK_DIV_16   0x04

◆ PROXIMITY10_ADC_CLOCK_DIV_2

#define PROXIMITY10_ADC_CLOCK_DIV_2   0x01

◆ PROXIMITY10_ADC_CLOCK_DIV_32

#define PROXIMITY10_ADC_CLOCK_DIV_32   0x05

◆ PROXIMITY10_ADC_CLOCK_DIV_4

#define PROXIMITY10_ADC_CLOCK_DIV_4   0x02

◆ PROXIMITY10_ADC_CLOCK_DIV_64

#define PROXIMITY10_ADC_CLOCK_DIV_64   0x06

◆ PROXIMITY10_ADC_CLOCK_DIV_8

#define PROXIMITY10_ADC_CLOCK_DIV_8   0x03

◆ PROXIMITY10_ADC_INPUT_GND

#define PROXIMITY10_ADC_INPUT_GND   0x25

◆ PROXIMITY10_ADC_INPUT_LARGE_IR

#define PROXIMITY10_ADC_INPUT_LARGE_IR   0x03

◆ PROXIMITY10_ADC_INPUT_NO_PHOTODIODE

#define PROXIMITY10_ADC_INPUT_NO_PHOTODIODE   0x06

◆ PROXIMITY10_ADC_INPUT_SMALL_IR

#define PROXIMITY10_ADC_INPUT_SMALL_IR   0x00

◆ PROXIMITY10_ADC_INPUT_TEMP

#define PROXIMITY10_ADC_INPUT_TEMP   0x65

◆ PROXIMITY10_ADC_INPUT_VDD

#define PROXIMITY10_ADC_INPUT_VDD   0x75

◆ PROXIMITY10_ADC_INPUT_VIS_PHOTODIODE

#define PROXIMITY10_ADC_INPUT_VIS_PHOTODIODE   0x02

◆ PROXIMITY10_ADC_REC_127_CLOCK

#define PROXIMITY10_ADC_REC_127_CLOCK   0x50

◆ PROXIMITY10_ADC_REC_15_CLOCK

#define PROXIMITY10_ADC_REC_15_CLOCK   0x20

◆ PROXIMITY10_ADC_REC_1_CLOCK

#define PROXIMITY10_ADC_REC_1_CLOCK   0x00

◆ PROXIMITY10_ADC_REC_255_CLOCK

#define PROXIMITY10_ADC_REC_255_CLOCK   0x60

◆ PROXIMITY10_ADC_REC_31_CLOCK

#define PROXIMITY10_ADC_REC_31_CLOCK   0x30

◆ PROXIMITY10_ADC_REC_511_CLOCK

#define PROXIMITY10_ADC_REC_511_CLOCK   0x70

◆ PROXIMITY10_ADC_REC_63_CLOCK

#define PROXIMITY10_ADC_REC_63_CLOCK   0x40

◆ PROXIMITY10_ADC_REC_7_CLOCK

#define PROXIMITY10_ADC_REC_7_CLOCK   0x10

◆ PROXIMITY10_EN_ALS_IR

#define PROXIMITY10_EN_ALS_IR   0x20

◆ PROXIMITY10_EN_ALS_VIS

#define PROXIMITY10_EN_ALS_VIS   0x10

◆ PROXIMITY10_EN_AUX

#define PROXIMITY10_EN_AUX   0x40

◆ PROXIMITY10_EN_PS1

#define PROXIMITY10_EN_PS1   0x01

◆ PROXIMITY10_EN_PS2

#define PROXIMITY10_EN_PS2   0x02

◆ PROXIMITY10_EN_PS3

#define PROXIMITY10_EN_PS3   0x04

◆ PROXIMITY10_HIGH_SIGNAL_RANGE

#define PROXIMITY10_HIGH_SIGNAL_RANGE   0x20

◆ PROXIMITY10_LED1_DRIVE_EN

#define PROXIMITY10_LED1_DRIVE_EN   0x01

◆ PROXIMITY10_LED2_DRIVE_EN

#define PROXIMITY10_LED2_DRIVE_EN   0x02

◆ PROXIMITY10_LED3_DRIVE_EN

#define PROXIMITY10_LED3_DRIVE_EN   0x04

◆ PROXIMITY10_NO_LED_DRIVE

#define PROXIMITY10_NO_LED_DRIVE   0x00

◆ PROXIMITY10_NORMAL_PROX_MEAS_MODE

#define PROXIMITY10_NORMAL_PROX_MEAS_MODE   0x04

◆ PROXIMITY10_NORMAL_SIGNAL_RANGE

#define PROXIMITY10_NORMAL_SIGNAL_RANGE   0x00

◆ PROXIMITY10_RAW_ADC_MEAS_MODE

#define PROXIMITY10_RAW_ADC_MEAS_MODE   0x00