User Manual
System initialization/calibration UM2039
14/26 DocID029105 Rev 1
Cross-talk correction value can be set using the API function
VL53L0X_SetXTalkCompensationRateMegaCps(), and is enabled using
VL53L0X_SetXTalkCompensationEnable().
4.4 Device mode
VL53L0X_SetDeviceMode() selects one of the following modes of operation:
• Single Ranging
• Continuous Ranging
• Continuous Timed Ranging
VL53L0X_GetDeviceMode()is used to know which mode is actually programmed.
These modes are described in the VL53L0X datasheet.
4.5 Polling and interrupt mode
Once a measurement is ready, the Host either receives an interrupt or poll on a
measurement status.
VL53L0X_SetGPIOConfig() function configures the system interrupt mode.
Interrupt options and modes of operation are described in a Section 5: Ranging.