|
int | vl6180x_init (vl6180x_t *dev, const vl6180x_params_t *params) |
| Initialize the VL6180X sensor device.
|
|
int | vl6180x_start_cont (vl6180x_t *dev) |
| Start measurements in continuous mode.
|
|
int | vl6180x_stop_cont (vl6180x_t *dev) |
| Stop measurements in continuous mode.
|
|
int | vl6180x_rng_data_ready (const vl6180x_t *dev) |
| Range data ready status function.
|
|
int | vl6180x_rng_read (vl6180x_t *dev, uint8_t *mm) |
| Read one ranging data sample in mm.
|
|
vl6180x_rng_status_t | vl6180x_rng_status (const vl6180x_t *dev) |
| Get status of last range measurement.
|
|
int | vl6180x_rng_start_single (const vl6180x_t *dev) |
| Start a single-shot range measurement.
|
|
int | vl6180x_rng_config (vl6180x_t *dev, uint8_t period, uint8_t max_time) |
| Reconfigure range measurements at runtime.
|
|
int | vl6180x_als_data_ready (const vl6180x_t *dev) |
| ALS data ready status function.
|
|
int | vl6180x_als_read (vl6180x_t *dev, uint16_t *raw, uint16_t *lux) |
| Read one ambient light sensing (ALS) data sample.
|
|
vl6180x_als_status_t | vl6180x_als_status (const vl6180x_t *dev) |
| Get status of last ALS measurement.
|
|
int | vl6180x_als_start_single (const vl6180x_t *dev) |
| Start a single-shot ALS measurement.
|
|
int | vl6180x_als_config (vl6180x_t *dev, uint8_t period, uint8_t int_time, vl6180x_als_gain_t gain) |
| Reconfigure ambient light sensing (ALS) during runtime.
|
|
int | vl6180x_power_down (const vl6180x_t *dev) |
| Power down the sensor.
|
|
int | vl6180x_power_up (vl6180x_t *dev) |
| Power down the sensor.
|
|
int | vl6180x_int_wait (const vl6180x_t *dev, vl6180x_int_config_t *src) |
| Wait for configured interrupts and return the interrupt sources.
|
|
int | vl6180x_int_enable (vl6180x_t *dev, vl6180x_int_config_t mode) |
| Enable and disable interrupts.
|
|
int | vl6180x_int_config (vl6180x_t *dev, vl6180x_int_thresh_t thresh) |
| Configure thresholds for event interrupts at runtime.
|
|