ST Expansion SW Team / VL53L1

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Dependents:   X_NUCLEO_53L1CB

Embed: (wiki syntax)

« Back to documentation index

VL53L1_RangingMeasurementData_t Struct Reference

VL53L1_RangingMeasurementData_t Struct Reference
[VL53L1 Defines]

Single Range measurement data. More...

#include <vl53l1_def.h>

Data Fields

uint32_t TimeStamp
uint8_t StreamCount
uint8_t RangeQualityLevel
FixPoint1616_t SignalRateRtnMegaCps
FixPoint1616_t AmbientRateRtnMegaCps
uint16_t EffectiveSpadRtnCount
FixPoint1616_t SigmaMilliMeter
int16_t RangeMilliMeter
uint8_t RangeFractionalPart
uint8_t RangeStatus

Detailed Description

Single Range measurement data.

Definition at line 374 of file vl53l1_def.h.


Field Documentation

FixPoint1616_t AmbientRateRtnMegaCps

Return ambient rate (MCPS)
these is a 16.16 fix point value, which is effectively a measure of the ambien t light.

Definition at line 395 of file vl53l1_def.h.

Return the effective SPAD count for the return signal. To obtain Real value it should be divided by 256

Definition at line 401 of file vl53l1_def.h.

Fractional part of range distance. Final value is a RangeMilliMeter + RangeFractionalPart/256.

Warning:
Not yet implemented

Definition at line 414 of file vl53l1_def.h.

int16_t RangeMilliMeter

range distance in millimeter. This should be between RangeMinMilliMeter and RangeMaxMilliMeter

Definition at line 409 of file vl53l1_def.h.

indicate a quality level in percentage from 0 to 100

Warning:
Not yet implemented

Definition at line 384 of file vl53l1_def.h.

uint8_t RangeStatus

Range Status for the current measurement. This is device dependent. Value = 0 means value is valid.

Definition at line 420 of file vl53l1_def.h.

FixPoint1616_t SigmaMilliMeter

Return the Sigma value in millimeter

Definition at line 406 of file vl53l1_def.h.

FixPoint1616_t SignalRateRtnMegaCps

Return signal rate (MCPS)
these is a 16.16 fix point value, which is effectively a measure of target reflectance.

Definition at line 389 of file vl53l1_def.h.

uint8_t StreamCount

8-bit Stream Count.

Definition at line 381 of file vl53l1_def.h.

uint32_t TimeStamp

32-bit time stamp.

Warning:
Not yet implemented

Definition at line 376 of file vl53l1_def.h.