VL53L0X API Specification: VL53L0X_Dev_t Struct Reference

VL53L0X API

VL53L0X_Dev_t Struct Reference

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

VL53L0X_DevData_t VL53L0X_Dev_t::Data

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

Definition at line 59 of file vl53l0x_platform.h.

uint8_t VL53L0X_Dev_t::I2cDevAddr

i2c device address user specific field

Definition at line 62 of file vl53l0x_platform.h.

uint8_t VL53L0X_Dev_t::comms_type

Type of comms : VL53L0X_COMMS_I2C or VL53L0X_COMMS_SPI

Definition at line 63 of file vl53l0x_platform.h.

uint16_t VL53L0X_Dev_t::comms_speed_khz

Comms speed [kHz] : typically 400kHz for I2C

Definition at line 64 of file vl53l0x_platform.h.


The documentation for this struct was generated from the following file: