VL53L0X World smallest Time-of-Flight (ToF) ranging sensor

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Dependents:   HelloWorld_ST_Sensors mbed-os-mqtt-client Multi_VL53L0X DISCO-IOT01_HomeEnv ... more

Fork of VL53L0X by Nicola Capovilla

Embed: (wiki syntax)

« Back to documentation index

VL53L0X_Dev_t Struct Reference

VL53L0X_Dev_t Struct Reference
[VL53L0 Platform Functions]

Generic PAL device type that does link between API and platform abstraction layer. More...

#include <VL53L0X_platform.h>

Data Fields

VL53L0X_DevData_t Data
uint8_t I2cDevAddr
uint8_t comms_type
uint16_t comms_speed_khz

Detailed Description

Generic PAL device type that does link between API and platform abstraction layer.

Definition at line 58 of file VL53L0X_platform.h.


Field Documentation

uint16_t comms_speed_khz

Comms speed [kHz] : typically 400kHz for I2C

Definition at line 64 of file VL53L0X_platform.h.

uint8_t comms_type

Type of comms : VL53L0X_COMMS_I2C or VL53L0X_COMMS_SPI

Definition at line 63 of file VL53L0X_platform.h.

embed ST Ewok Dev data as "Data" user specific field

Definition at line 59 of file VL53L0X_platform.h.

uint8_t I2cDevAddr

i2c device address user specific field

Definition at line 62 of file VL53L0X_platform.h.