Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
vl53l0x.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Michal Piekos
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
24#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_VL53L0X_H_
25#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_VL53L0X_H_
26
28
29/* VL53L0x specific channels */
37
38/* VL53L0x meas status values */
39#define VL53L0X_RANGE_STATUS_RANGE_VALID (0)
40#define VL53L0X_RANGE_STATUS_SIGMA_FAIL (1)
41#define VL53L0X_RANGE_STATUS_SIGNAL_FAIL (2)
42#define VL53L0X_RANGE_STATUS_MIN_RANGE_FAIL (3)
43#define VL53L0X_RANGE_STATUS_PHASE_FAIL (4)
44#define VL53L0X_RANGE_STATUS_HARDWARE_FAIL (5)
45#define VL53L0X_RANGE_STATUS_NO_UPDATE (255)
46
47#endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_VL53L0X_H_ */
@ SENSOR_CHAN_PRIV_START
This and higher values are sensor specific.
Definition sensor.h:217
Public APIs for the sensor driver.
sensor_channel_vl53l0x
Definition vl53l0x.h:30
@ SENSOR_CHAN_VL53L0X_SIGNAL_RATE_RTN_CPS
Definition vl53l0x.h:32
@ SENSOR_CHAN_VL53L0X_EFFECTIVE_SPAD_RTN_COUNT
Definition vl53l0x.h:34
@ SENSOR_CHAN_VL53L0X_RANGE_STATUS
Definition vl53l0x.h:35
@ SENSOR_CHAN_VL53L0X_RANGE_DMAX
Definition vl53l0x.h:31
@ SENSOR_CHAN_VL53L0X_AMBIENT_RATE_RTN_CPS
Definition vl53l0x.h:33