VL53L0X API Specification: RangeStatus

VL53L0X API

RangeStatus

The Range Status is contained in the VL53L0X_RangingMeasurementData_t and give the quality of the latest ranging.

This is a 8 bit data which contains the following fields:

Value 0 = Range Valid

This value indicate that the ranging is valid.

Value 1 = Sigma Fail

This value indicate that the sigma limit check has failed. Use the function VL53L0X_SetLimitCheckEnable() and VL53L0X_SetLimitCheckValue() to manage the limit.

Value 2 = Signal Fail

This value indicate that the signal check has failed. This can happens when there is no target or when the Range Ignore threshold check has failed. Use the function VL53L0X_SetLimitCheckEnable() and VL53L0X_SetLimitCheckValue() to manage the limit.

Value 3 = Min Range Fail

This value indicate that the min range check has failed. Use the function VL53L0X_SetLimitCheckEnable() and VL53L0X_SetLimitCheckValue() to manage the limit.

Value 4 = Phase Fail

This value indicate that the Phase check has failed.

Value 5 = HardWare Fail

This value indicate that the Hardware check has failed.

Value 255 = None

No Update