VL53L1 API function declarations for decoding error codes to a text strings. More...
#include "vl53l1_def.h"
Go to the source code of this file.
Functions | |
VL53L1_Error | VL53L1_get_limit_check_info (uint16_t LimitCheckId, char *pLimitCheckString) |
Generates a string for the limit check Id. More... | |
VL53L1_Error | VL53L1_get_pal_error_string (VL53L1_Error PalErrorCode, char *pPalErrorString) |
Generates an error string for the input PAL error code. More... | |
VL53L1_Error | VL53L1_get_pal_state_string (VL53L1_State PalStateCode, char *pPalStateString) |
Generates a string for the input PAL State code. More... | |
VL53L1_Error | VL53L1_get_range_status_string (uint8_t RangeStatus, char *pRangeStatusString) |
Generates a string for the input device range status code. More... | |
VL53L1_Error | VL53L1_get_sequence_steps_info (VL53L1_SequenceStepId SequenceStepId, char *pSequenceStepsString) |
Generates a string for the sequence step Id. More... | |
VL53L1 API function declarations for decoding error codes to a text strings.
Definition in file vl53l1_api_strings.h.
#define VL53L1_STRING_CHECKENABLE_RANGE_IGNORE_THRESHOLD "RANGE IGNORE THRESHOLD" |
Definition at line 185 of file vl53l1_api_strings.h.
#define VL53L1_STRING_CHECKENABLE_RANGE_PHASE_CONSISTENCY "RANGE PHASE CONSISTENCY" |
Definition at line 191 of file vl53l1_api_strings.h.
#define VL53L1_STRING_CHECKENABLE_RANGE_PHASE_HIGH "RANGE PHASE HIGH" |
Definition at line 187 of file vl53l1_api_strings.h.
#define VL53L1_STRING_CHECKENABLE_RANGE_PHASE_LOW "RANGE PHASE LOW" |
Definition at line 189 of file vl53l1_api_strings.h.
#define VL53L1_STRING_CHECKENABLE_SIGMA_FINAL_RANGE "SIGMA FINAL RANGE" |
Definition at line 179 of file vl53l1_api_strings.h.
#define VL53L1_STRING_CHECKENABLE_SIGNAL_MIN_CLIP "SIGNAL MIN CLIP" |
Definition at line 183 of file vl53l1_api_strings.h.
#define VL53L1_STRING_CHECKENABLE_SIGNAL_RATE_FINAL_RANGE "SIGNAL RATE FINAL RANGE" |
Definition at line 181 of file vl53l1_api_strings.h.
#define VL53L1_STRING_DEVICE_INFO_NAME0 "VL53L1 cut1.0" |
Definition at line 151 of file vl53l1_api_strings.h.
#define VL53L1_STRING_DEVICE_INFO_NAME1 "VL53L1 cut1.1" |
Definition at line 152 of file vl53l1_api_strings.h.
#define VL53L1_STRING_DEVICE_INFO_TYPE "VL53L1" |
Definition at line 153 of file vl53l1_api_strings.h.
#define VL53L1_STRING_RANGESTATUS_HW "Hardware Fail" |
Definition at line 162 of file vl53l1_api_strings.h.
#define VL53L1_STRING_RANGESTATUS_MINRANGE "Min Range Fail" |
Definition at line 160 of file vl53l1_api_strings.h.
#define VL53L1_STRING_RANGESTATUS_NONE "No Update" |
Definition at line 156 of file vl53l1_api_strings.h.
#define VL53L1_STRING_RANGESTATUS_PHASE "Phase Fail" |
Definition at line 161 of file vl53l1_api_strings.h.
#define VL53L1_STRING_RANGESTATUS_RANGEVALID "Range Valid" |
Definition at line 157 of file vl53l1_api_strings.h.
#define VL53L1_STRING_RANGESTATUS_SIGMA "Sigma Fail" |
Definition at line 158 of file vl53l1_api_strings.h.
#define VL53L1_STRING_RANGESTATUS_SIGNAL "Signal Fail" |
Definition at line 159 of file vl53l1_api_strings.h.
#define VL53L1_STRING_SEQUENCESTEP_DSS1 "DSS1" |
Definition at line 198 of file vl53l1_api_strings.h.
#define VL53L1_STRING_SEQUENCESTEP_DSS2 "DSS2" |
Definition at line 199 of file vl53l1_api_strings.h.
#define VL53L1_STRING_SEQUENCESTEP_MM1 "MM1" |
Definition at line 200 of file vl53l1_api_strings.h.
#define VL53L1_STRING_SEQUENCESTEP_MM2 "MM2" |
Definition at line 201 of file vl53l1_api_strings.h.
#define VL53L1_STRING_SEQUENCESTEP_PHASECAL "PHASE CAL" |
Definition at line 196 of file vl53l1_api_strings.h.
#define VL53L1_STRING_SEQUENCESTEP_RANGE "RANGE" |
Definition at line 202 of file vl53l1_api_strings.h.
#define VL53L1_STRING_SEQUENCESTEP_REFPHASE "REF PHASE" |
Definition at line 197 of file vl53l1_api_strings.h.
#define VL53L1_STRING_SEQUENCESTEP_VHV "VHV" |
Definition at line 195 of file vl53l1_api_strings.h.
#define VL53L1_STRING_STATE_ERROR "ERROR State" |
Definition at line 174 of file vl53l1_api_strings.h.
#define VL53L1_STRING_STATE_IDLE "IDLE State" |
Definition at line 170 of file vl53l1_api_strings.h.
#define VL53L1_STRING_STATE_POWERDOWN "POWERDOWN State" |
Definition at line 166 of file vl53l1_api_strings.h.
#define VL53L1_STRING_STATE_RESET "RESET State" |
Definition at line 172 of file vl53l1_api_strings.h.
#define VL53L1_STRING_STATE_RUNNING "RUNNING State" |
Definition at line 171 of file vl53l1_api_strings.h.
#define VL53L1_STRING_STATE_STANDBY "STANDBY State" |
Definition at line 169 of file vl53l1_api_strings.h.
#define VL53L1_STRING_STATE_UNKNOWN "UNKNOWN State" |
Definition at line 173 of file vl53l1_api_strings.h.
#define VL53L1_STRING_STATE_WAIT_STATICINIT "Wait for staticinit State" |
Definition at line 167 of file vl53l1_api_strings.h.
VL53L1_Error VL53L1_get_limit_check_info | ( | uint16_t | LimitCheckId, |
char * | pLimitCheckString | ||
) |
Generates a string for the limit check Id.
[in] | LimitCheckId | : Limit check Id |
[out] | pLimitCheckString | : pointer to character buffer |
Definition at line 240 of file vl53l1_api_strings.c.
VL53L1_Error VL53L1_get_pal_error_string | ( | VL53L1_Error | PalErrorCode, |
char * | pPalErrorString | ||
) |
Generates an error string for the input PAL error code.
[in] | PalErrorCode | : PAL Error Code |
[out] | pPalErrorString | : pointer to character buffer |
Definition at line 86 of file vl53l1_error_strings.c.
VL53L1_Error VL53L1_get_pal_state_string | ( | VL53L1_State | PalStateCode, |
char * | pPalStateString | ||
) |
Generates a string for the input PAL State code.
[in] | PalStateCode | : PAL State Code |
[out] | pPalStateString | : pointer to character buffer |
Definition at line 131 of file vl53l1_api_strings.c.
VL53L1_Error VL53L1_get_range_status_string | ( | uint8_t | RangeStatus, |
char * | pRangeStatusString | ||
) |
Generates a string for the input device range status code.
[in] | RangeStatus | : Device Range AStatus Code |
[out] | pRangeStatusString | : pointer to character buffer |
Definition at line 83 of file vl53l1_api_strings.c.
VL53L1_Error VL53L1_get_sequence_steps_info | ( | VL53L1_SequenceStepId | SequenceStepId, |
char * | pSequenceStepsString | ||
) |
Generates a string for the sequence step Id.
[in] | SequenceStepId | : Sequence Step Id |
[out] | pSequenceStepsString | : pointer to character buffer |
Definition at line 186 of file vl53l1_api_strings.c.