8 API structure
The API is composed of four files:
• VL53L1X_api.c (mandatory)
• VL53L1X_api.h (mandatory)
• VL53L1X_calibration.c (optional)
• VL53L1X_calibration.h (optional)
The VL53L1X_api.c and VL53L1X_api.h files contain all the required functions to initialize the sensor, to change
the default settings, to perform ranging, and to get ranging data.
The VL53L1X_calibration.c and VL53L1X_calibration.h files contain two calibration functions and can be excluded
from the software project if no device-to-device calibrations are required to optimize the code size.
UM2510
API structure
UM2510 - Rev 1
page 21/26