proximity7 2.0.0.0

Macros

#define PROXIMITY7_RETVAL   uint8_t
 
#define PROXIMITY7_OK   0x00
 
#define PROXIMITY7_INIT_ERROR   0xFF
 
#define PROXIMITY7_LED_DRIVE_100mA   0x00
 
#define PROXIMITY7_LED_DRIVE_50mA   0x40
 
#define PROXIMITY7_LED_DRIVE_25mA   0x80
 
#define PROXIMITY7_LED_DRIVE_12p5mA   0xC0
 
#define PROXIMITY7_PROXIMITY_DIODE_CH1   0x20
 
#define PROXIMITY7_PROXIMITY_GAIN_1x   0x00
 
#define PROXIMITY7_PROXIMITY_GAIN_2x   0x04
 
#define PROXIMITY7_PROXIMITY_GAIN_4x   0x08
 
#define PROXIMITY7_PROXIMITY_GAIN_8x   0x0C
 
#define PROXIMITY7_ALS_GAIN_1x   0x00
 
#define PROXIMITY7_ALS_GAIN_8x   0x01
 
#define PROXIMITY7_ALS_GAIN_16x   0x02
 
#define PROXIMITY7_ALS_GAIN_120x   0x03
 

Detailed Description

Macro Definition Documentation

◆ PROXIMITY7_ALS_GAIN_120x

#define PROXIMITY7_ALS_GAIN_120x   0x03

◆ PROXIMITY7_ALS_GAIN_16x

#define PROXIMITY7_ALS_GAIN_16x   0x02

◆ PROXIMITY7_ALS_GAIN_1x

#define PROXIMITY7_ALS_GAIN_1x   0x00

◆ PROXIMITY7_ALS_GAIN_8x

#define PROXIMITY7_ALS_GAIN_8x   0x01

◆ PROXIMITY7_INIT_ERROR

#define PROXIMITY7_INIT_ERROR   0xFF

◆ PROXIMITY7_LED_DRIVE_100mA

#define PROXIMITY7_LED_DRIVE_100mA   0x00

◆ PROXIMITY7_LED_DRIVE_12p5mA

#define PROXIMITY7_LED_DRIVE_12p5mA   0xC0

◆ PROXIMITY7_LED_DRIVE_25mA

#define PROXIMITY7_LED_DRIVE_25mA   0x80

◆ PROXIMITY7_LED_DRIVE_50mA

#define PROXIMITY7_LED_DRIVE_50mA   0x40

◆ PROXIMITY7_OK

#define PROXIMITY7_OK   0x00

◆ PROXIMITY7_PROXIMITY_DIODE_CH1

#define PROXIMITY7_PROXIMITY_DIODE_CH1   0x20

◆ PROXIMITY7_PROXIMITY_GAIN_1x

#define PROXIMITY7_PROXIMITY_GAIN_1x   0x00

◆ PROXIMITY7_PROXIMITY_GAIN_2x

#define PROXIMITY7_PROXIMITY_GAIN_2x   0x04

◆ PROXIMITY7_PROXIMITY_GAIN_4x

#define PROXIMITY7_PROXIMITY_GAIN_4x   0x08

◆ PROXIMITY7_PROXIMITY_GAIN_8x

#define PROXIMITY7_PROXIMITY_GAIN_8x   0x0C

◆ PROXIMITY7_RETVAL

#define PROXIMITY7_RETVAL   uint8_t