Expand description
Async driver for the VL53L4CD ToF distance sensor.
This crate is very much a port of the STM32Duino VL53L4CD library.
Modules§
- The VL53L4CD sensor both pulls the
GPIO1
pin low and flips some bits when a measurement is ready. This module provides a trait for waiting for a measurement, regardless of how you connect the sensor to the microcontroller.
Structs§
- A VL53L4CD measurement.
- A VL53L4CD ToF range sensor.
Enums§
- VL53L4CD driver error. In order to get more details, enable the
defmt
feature. - A register on the device, identified by a 16-bit address.
- Severity of a measurement status.
- Measurement status as per the user manual.
Constants§
- Default I²C address of the VL53L4CD.
Functions§
- Calculate valid values for
Register::RANGE_CONFIG_A
andRegister::RANGE_CONFIG_B
.