MRMS
Macros | Typedefs

Device Error code. More...

Macros

#define VL53L0X_DEVICEERROR_NONE   ((VL53L0X_DeviceError) 0)
 
#define VL53L0X_DEVICEERROR_VCSELCONTINUITYTESTFAILURE   ((VL53L0X_DeviceError) 1)
 
#define VL53L0X_DEVICEERROR_VCSELWATCHDOGTESTFAILURE   ((VL53L0X_DeviceError) 2)
 
#define VL53L0X_DEVICEERROR_NOVHVVALUEFOUND   ((VL53L0X_DeviceError) 3)
 
#define VL53L0X_DEVICEERROR_MSRCNOTARGET   ((VL53L0X_DeviceError) 4)
 
#define VL53L0X_DEVICEERROR_SNRCHECK   ((VL53L0X_DeviceError) 5)
 
#define VL53L0X_DEVICEERROR_RANGEPHASECHECK   ((VL53L0X_DeviceError) 6)
 
#define VL53L0X_DEVICEERROR_SIGMATHRESHOLDCHECK   ((VL53L0X_DeviceError) 7)
 
#define VL53L0X_DEVICEERROR_TCC   ((VL53L0X_DeviceError) 8)
 
#define VL53L0X_DEVICEERROR_PHASECONSISTENCY   ((VL53L0X_DeviceError) 9)
 
#define VL53L0X_DEVICEERROR_MINCLIP   ((VL53L0X_DeviceError) 10)
 
#define VL53L0X_DEVICEERROR_RANGECOMPLETE   ((VL53L0X_DeviceError) 11)
 
#define VL53L0X_DEVICEERROR_ALGOUNDERFLOW   ((VL53L0X_DeviceError) 12)
 
#define VL53L0X_DEVICEERROR_ALGOOVERFLOW   ((VL53L0X_DeviceError) 13)
 
#define VL53L0X_DEVICEERROR_RANGEIGNORETHRESHOLD   ((VL53L0X_DeviceError) 14)
 

Typedefs

typedef uint8_t VL53L0X_DeviceError
 

Detailed Description

Device Error code.

This enum is Device specific it should be updated in the implementation Use VL53L0X_GetStatusErrorString() to get the string. It is related to Status Register of the Device.

Macro Definition Documentation

◆ VL53L0X_DEVICEERROR_NONE

#define VL53L0X_DEVICEERROR_NONE   ((VL53L0X_DeviceError) 0)

0 NoError