Workshop example

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

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.