Default configuration for Broadcom APDS99XX proximity and ambient light sensor. More...
Default configuration for Broadcom APDS99XX proximity and ambient light sensor.
Definition in file apds99xx_params.h.
Go to the source code of this file.
Variables | |
static const apds99xx_params_t | apds99xx_params [] |
Allocate some memory to store the actual configuration. More... | |
static const saul_reg_info_t | apds99xx_saul_info [] |
Additional meta information to keep in the SAUL registry. More... | |
Set default configuration parameters | |
#define | APDS99XX_PARAM_DEV I2C_DEV(0) |
device is I2C_DEV(0) | |
#define | APDS99XX_PARAM_ALS_STEPS (64) |
ALS measurement: enabled with integration time of 64 steps. | |
#define | APDS99XX_PARAM_ALS_GAIN (APDS99XX_ALS_GAIN_1) |
ALS gain: 1 x gain. | |
#define | APDS99XX_PARAM_PRX_PULSES (8) |
PRX LED pulse count: 8 pulses as recommended in datasheet. | |
#define | APDS99XX_PARAM_PRX_DRIVE (APDS99XX_PRX_DRIVE_100) |
PRX LED drive strength: 100 mA as recommended in datasheet. | |
#define | APDS99XX_PARAM_PRX_GAIN (APDS99XX_PRX_GAIN_1) |
PRX gain: 1 x gain. | |
#define | APDS99XX_PARAM_WAIT_STEPS (0) |
Waiting time: disabled. | |
#define | APDS99XX_PARAM_WAIT_LONG (false) |
Wait long: false. | |
#define | APDS99XX_PARAM_INT_PIN (GPIO_PIN(0, 0)) |
Interrupt pin. | |
#define | APDS99XX_PARAMS |
#define | APDS99XX_SAUL_INFO { .name = "apds99xx" } |
#define APDS99XX_PARAMS |
Definition at line 73 of file apds99xx_params.h.
|
static |
Allocate some memory to store the actual configuration.
Definition at line 94 of file apds99xx_params.h.
|
static |
Additional meta information to keep in the SAUL registry.
Definition at line 102 of file apds99xx_params.h.