Macros
Defines the Range Status
Collaboration diagram for Defines the Range Status:

Macros

#define VL53L1_RANGESTATUS_HARDWARE_FAIL   5
 
#define VL53L1_RANGESTATUS_MIN_RANGE_FAIL   13
 
#define VL53L1_RANGESTATUS_NONE   255
 
#define VL53L1_RANGESTATUS_OUTOFBOUNDS_FAIL   4
 
#define VL53L1_RANGESTATUS_PROCESSING_FAIL   8
 
#define VL53L1_RANGESTATUS_RANGE_INVALID   14
 
#define VL53L1_RANGESTATUS_RANGE_VALID   0
 
#define VL53L1_RANGESTATUS_RANGE_VALID_MERGED_PULSE   11
 
#define VL53L1_RANGESTATUS_RANGE_VALID_MIN_RANGE_CLIPPED   3
 
#define VL53L1_RANGESTATUS_RANGE_VALID_NO_WRAP_CHECK_FAIL   6
 
#define VL53L1_RANGESTATUS_SIGMA_FAIL   1
 
#define VL53L1_RANGESTATUS_SIGNAL_FAIL   2
 
#define VL53L1_RANGESTATUS_SYNCRONISATION_INT   10
 
#define VL53L1_RANGESTATUS_TARGET_PRESENT_LACK_OF_SIGNAL   12
 
#define VL53L1_RANGESTATUS_WRAP_TARGET_FAIL   7
 
#define VL53L1_RANGESTATUS_XTALK_SIGNAL_FAIL   9
 

Detailed Description

Macro Definition Documentation

◆ VL53L1_RANGESTATUS_HARDWARE_FAIL

#define VL53L1_RANGESTATUS_HARDWARE_FAIL   5

Hardware fail.

Definition at line 515 of file vl53l1_def.h.

◆ VL53L1_RANGESTATUS_MIN_RANGE_FAIL

#define VL53L1_RANGESTATUS_MIN_RANGE_FAIL   13

User ROI input is not valid e.g. beyond SPAD Array.

Definition at line 533 of file vl53l1_def.h.

◆ VL53L1_RANGESTATUS_NONE

#define VL53L1_RANGESTATUS_NONE   255

No Update.

Definition at line 537 of file vl53l1_def.h.

◆ VL53L1_RANGESTATUS_OUTOFBOUNDS_FAIL

#define VL53L1_RANGESTATUS_OUTOFBOUNDS_FAIL   4

Phase out of valid limits - different to a wrap exit.

Definition at line 513 of file vl53l1_def.h.

◆ VL53L1_RANGESTATUS_PROCESSING_FAIL

#define VL53L1_RANGESTATUS_PROCESSING_FAIL   8

Internal algo underflow or overflow in lite ranging.

Definition at line 521 of file vl53l1_def.h.

◆ VL53L1_RANGESTATUS_RANGE_INVALID

#define VL53L1_RANGESTATUS_RANGE_INVALID   14

lld returned valid range but negative value !

Definition at line 535 of file vl53l1_def.h.

◆ VL53L1_RANGESTATUS_RANGE_VALID

#define VL53L1_RANGESTATUS_RANGE_VALID   0

The Range is valid.

Definition at line 505 of file vl53l1_def.h.

◆ VL53L1_RANGESTATUS_RANGE_VALID_MERGED_PULSE

#define VL53L1_RANGESTATUS_RANGE_VALID_MERGED_PULSE   11

All Range ok but object is result of multiple pulses merging together. Used by RQL for merged pulse detection

Definition at line 527 of file vl53l1_def.h.

◆ VL53L1_RANGESTATUS_RANGE_VALID_MIN_RANGE_CLIPPED

#define VL53L1_RANGESTATUS_RANGE_VALID_MIN_RANGE_CLIPPED   3

Target is below minimum detection threshold.

Definition at line 511 of file vl53l1_def.h.

◆ VL53L1_RANGESTATUS_RANGE_VALID_NO_WRAP_CHECK_FAIL

#define VL53L1_RANGESTATUS_RANGE_VALID_NO_WRAP_CHECK_FAIL   6

The Range is valid but the wraparound check has not been done.

Definition at line 517 of file vl53l1_def.h.

◆ VL53L1_RANGESTATUS_SIGMA_FAIL

#define VL53L1_RANGESTATUS_SIGMA_FAIL   1

Sigma Fail.

Definition at line 507 of file vl53l1_def.h.

◆ VL53L1_RANGESTATUS_SIGNAL_FAIL

#define VL53L1_RANGESTATUS_SIGNAL_FAIL   2

Signal fail.

Definition at line 509 of file vl53l1_def.h.

◆ VL53L1_RANGESTATUS_SYNCRONISATION_INT

#define VL53L1_RANGESTATUS_SYNCRONISATION_INT   10

1st interrupt when starting ranging in back to back mode. Ignore data.

Definition at line 525 of file vl53l1_def.h.

◆ VL53L1_RANGESTATUS_TARGET_PRESENT_LACK_OF_SIGNAL

#define VL53L1_RANGESTATUS_TARGET_PRESENT_LACK_OF_SIGNAL   12

Used by RQL as different to phase fail.

Definition at line 531 of file vl53l1_def.h.

◆ VL53L1_RANGESTATUS_WRAP_TARGET_FAIL

#define VL53L1_RANGESTATUS_WRAP_TARGET_FAIL   7

Wrapped target - no matching phase in other VCSEL period timing.

Definition at line 519 of file vl53l1_def.h.

◆ VL53L1_RANGESTATUS_XTALK_SIGNAL_FAIL

#define VL53L1_RANGESTATUS_XTALK_SIGNAL_FAIL   9

Specific to lite ranging.

Definition at line 523 of file vl53l1_def.h.



vl53l1x
Author(s):
autogenerated on Fri Aug 2 2024 08:35:55