VL53L0X API Specification: Device Error

VL53L0X API

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

#define VL53L0X_DEVICEERROR_NONE   ((VL53L0X_DeviceError) 0)

0 NoError

Definition at line 56 of file vl53l0x_device.h.

#define VL53L0X_DEVICEERROR_VCSELCONTINUITYTESTFAILURE   ((VL53L0X_DeviceError) 1)

Definition at line 58 of file vl53l0x_device.h.

#define VL53L0X_DEVICEERROR_VCSELWATCHDOGTESTFAILURE   ((VL53L0X_DeviceError) 2)

Definition at line 59 of file vl53l0x_device.h.

#define VL53L0X_DEVICEERROR_NOVHVVALUEFOUND   ((VL53L0X_DeviceError) 3)

Definition at line 60 of file vl53l0x_device.h.

#define VL53L0X_DEVICEERROR_MSRCNOTARGET   ((VL53L0X_DeviceError) 4)

Definition at line 61 of file vl53l0x_device.h.

#define VL53L0X_DEVICEERROR_SNRCHECK   ((VL53L0X_DeviceError) 5)

Definition at line 62 of file vl53l0x_device.h.

#define VL53L0X_DEVICEERROR_RANGEPHASECHECK   ((VL53L0X_DeviceError) 6)

Definition at line 63 of file vl53l0x_device.h.

#define VL53L0X_DEVICEERROR_SIGMATHRESHOLDCHECK   ((VL53L0X_DeviceError) 7)

Definition at line 64 of file vl53l0x_device.h.

#define VL53L0X_DEVICEERROR_TCC   ((VL53L0X_DeviceError) 8)

Definition at line 65 of file vl53l0x_device.h.

#define VL53L0X_DEVICEERROR_PHASECONSISTENCY   ((VL53L0X_DeviceError) 9)

Definition at line 66 of file vl53l0x_device.h.

#define VL53L0X_DEVICEERROR_MINCLIP   ((VL53L0X_DeviceError) 10)

Definition at line 67 of file vl53l0x_device.h.

#define VL53L0X_DEVICEERROR_RANGECOMPLETE   ((VL53L0X_DeviceError) 11)

Definition at line 68 of file vl53l0x_device.h.

#define VL53L0X_DEVICEERROR_ALGOUNDERFLOW   ((VL53L0X_DeviceError) 12)

Definition at line 69 of file vl53l0x_device.h.

#define VL53L0X_DEVICEERROR_ALGOOVERFLOW   ((VL53L0X_DeviceError) 13)

Definition at line 70 of file vl53l0x_device.h.

#define VL53L0X_DEVICEERROR_RANGEIGNORETHRESHOLD   ((VL53L0X_DeviceError) 14)

Definition at line 71 of file vl53l0x_device.h.

Typedef Documentation

Definition at line 54 of file vl53l0x_device.h.