EasyManua.ls Logo

ST VL53L1X API - Mandatory Functions; Sensor Boot; Sensor Initialization; Start Measurement

ST VL53L1X API
26 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
3.4.2 Ranging flow
Figure 5. Ranging flow
3.5 Mandatory functions
Mandatory functions include:
VL53L1X_BootState
VL53L1X_SensorInit
VL53L1X_StartRanging
VL53L1X_CheckForDataReady
VL53L1X_GetDistance
VL53L1X_ClearInterrupt
VL53L1X_Stop
3.5.1 Sensor boot
The VL53L1X_BootState function is used to check that the sensor has booted. It is strongly recommended to
ensure that the sensor finishes booting before the first I2C access.
3.5.2 Sensor init
The VL53L1X_SensorInit function is called once to initialize the sensor with a default configuration. With this
default configuration, the sensor ranges at 10 Hz in Long-distance mode.
3.5.3 Start a measurement
The VL53L1X_StartRanging function is used to make a distance measurement.
UM2510
Mandatory functions
UM2510 - Rev 1
page 6/26

Table of Contents

Related product manuals