mbed compatible API for the VL53L0X Time-of-Flight sensor

Dependents:   VL53L0X_SingleRanging_Example robot_sm VL53L0X_SingleRanging_HighAccuracy_HANSL ENGR6002_P001unk

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 57 of file vl53l0x_platform.h.


Field Documentation

uint16_t comms_speed_khz

Comms speed [kHz] : typically 400kHz for I2C

Definition at line 63 of file vl53l0x_platform.h.

uint8_t comms_type

Type of comms : VL53L0X_COMMS_I2C or VL53L0X_COMMS_SPI

Definition at line 62 of file vl53l0x_platform.h.

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

Definition at line 58 of file vl53l0x_platform.h.

uint8_t I2cDevAddr

i2c device address user specific field

Definition at line 61 of file vl53l0x_platform.h.