Default configuration for GP2Y10xx devices. More...
Default configuration for GP2Y10xx devices.
Definition in file gp2y10xx_params.h.
Go to the source code of this file.
Macros | |
#define | GP2Y10XX_PARAM_AOUT (ADC_LINE(0)) |
ADC line to use. | |
#define | GP2Y10XX_PARAM_ADC_RES (ADC_RES_10BIT) |
ADC line resolution. | |
#define | GP2Y10XX_PARAM_VREF (3300) |
Reference voltage used for the VCC supply of the sensor, in mV. | |
#define | GP2Y10XX_PARAM_ILED_PIN (GPIO_UNDEF) |
ILED GPIO pin. | |
#define | GP2Y10XX_PARAM_ILED_LEVEL (GP2Y10XX_ILED_LEVEL_HIGH) |
ILED level, can be active-high or active-low. | |
#define | GP2Y10XX_PARAMS |
GP2Y10xx driver configuration parameters. More... | |
#define | GP2Y10XX_SAUL_INFO { .name = "gp2y1010" } |
GP2Y10xx driver SAUL registry information structures. | |
Variables | |
static const gp2y10xx_params_t | gp2y10xx_params [] |
GP2Y1010 configuration. More... | |
static const saul_reg_info_t | gp2y10xx_saul_info [] |
Additional meta information to keep in the SAUL registry. More... | |
|
static |
GP2Y1010 configuration.
Definition at line 95 of file gp2y10xx_params.h.
|
static |
Additional meta information to keep in the SAUL registry.
Definition at line 103 of file gp2y10xx_params.h.