FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
Loading...
Searching...
No Matches
vl53l0x.h File Reference

API to handle Time-of-Flight ranging sensor VL53L0X I2C chip. More...

#include "../array.h"
#include "../flash.h"
#include "../i2c.h"
#include "../functors.h"
#include "../future.h"
#include "../realtime_timer.h"
#include "../time.h"
#include "../utilities.h"
#include "../i2c_handler.h"
#include "../i2c_device.h"
#include "../i2c_device_utilities.h"
#include "vl53l0x_internals.h"
#include "vl53l0x_registers.h"
#include "vl53l0x_types.h"
Include dependency graph for vl53l0x.h:

Go to the source code of this file.

Classes

class  devices::vl53l0x::VL53L0X< MANAGER >
 I2C device driver for the VL53L0X ToF ranging chip. More...
 
class  devices::vl53l0x::VL53L0X< MANAGER >::GetGPIOSettingsFuture
 Future to get device current GPIO settings. More...
 
class  devices::vl53l0x::VL53L0X< MANAGER >::SetGPIOSettingsFuture
 Future to set device GPIO settings. More...
 

Namespaces

namespace  devices
 Defines all API for all external devices supported by FastArduino.
 
namespace  devices::vl53l0x
 Defines API for VL53L0X Time-of-Flight ranging sensor chip usage.
 

Detailed Description

API to handle Time-of-Flight ranging sensor VL53L0X I2C chip.

Note that most API here has been adapted and improved from official STMicroelectronics C-library API; this was necessary as the device datasheet does not describe the internals (registers) of the chip, the only way to understand how it works was thus to analyze the API source code. Also, the pololu library for this chip (simpler rewrite of STM lib) was a good inspiration to understanding how this chip works.

See also
https://www.st.com/content/st_com/en/products/embedded-software/proximity-sensors-software/stsw-img005.html
https://github.com/pololu/vl53l0x-arduino

Definition in file vl53l0x.h.