71 #ifndef VL53L1_API_STRINGS_H_ 72 #define VL53L1_API_STRINGS_H_ 94 char *pRangeStatusString);
108 char *pPalErrorString);
122 char *pPalStateString);
136 char *pSequenceStepsString);
148 char *pLimitCheckString);
150 #ifndef VL53L1_USE_EMPTY_STRING 151 #define VL53L1_STRING_DEVICE_INFO_NAME0 "VL53L1 cut1.0" 152 #define VL53L1_STRING_DEVICE_INFO_NAME1 "VL53L1 cut1.1" 153 #define VL53L1_STRING_DEVICE_INFO_TYPE "VL53L1" 156 #define VL53L1_STRING_RANGESTATUS_NONE "No Update" 157 #define VL53L1_STRING_RANGESTATUS_RANGEVALID "Range Valid" 158 #define VL53L1_STRING_RANGESTATUS_SIGMA "Sigma Fail" 159 #define VL53L1_STRING_RANGESTATUS_SIGNAL "Signal Fail" 160 #define VL53L1_STRING_RANGESTATUS_MINRANGE "Min Range Fail" 161 #define VL53L1_STRING_RANGESTATUS_PHASE "Phase Fail" 162 #define VL53L1_STRING_RANGESTATUS_HW "Hardware Fail" 166 #define VL53L1_STRING_STATE_POWERDOWN "POWERDOWN State" 167 #define VL53L1_STRING_STATE_WAIT_STATICINIT \ 168 "Wait for staticinit State" 169 #define VL53L1_STRING_STATE_STANDBY "STANDBY State" 170 #define VL53L1_STRING_STATE_IDLE "IDLE State" 171 #define VL53L1_STRING_STATE_RUNNING "RUNNING State" 172 #define VL53L1_STRING_STATE_RESET "RESET State" 173 #define VL53L1_STRING_STATE_UNKNOWN "UNKNOWN State" 174 #define VL53L1_STRING_STATE_ERROR "ERROR State" 179 #define VL53L1_STRING_CHECKENABLE_SIGMA_FINAL_RANGE \ 181 #define VL53L1_STRING_CHECKENABLE_SIGNAL_RATE_FINAL_RANGE \ 182 "SIGNAL RATE FINAL RANGE" 183 #define VL53L1_STRING_CHECKENABLE_SIGNAL_MIN_CLIP \ 185 #define VL53L1_STRING_CHECKENABLE_RANGE_IGNORE_THRESHOLD \ 186 "RANGE IGNORE THRESHOLD" 187 #define VL53L1_STRING_CHECKENABLE_RANGE_PHASE_HIGH \ 189 #define VL53L1_STRING_CHECKENABLE_RANGE_PHASE_LOW \ 191 #define VL53L1_STRING_CHECKENABLE_RANGE_PHASE_CONSISTENCY \ 192 "RANGE PHASE CONSISTENCY" 195 #define VL53L1_STRING_SEQUENCESTEP_VHV "VHV" 196 #define VL53L1_STRING_SEQUENCESTEP_PHASECAL "PHASE CAL" 197 #define VL53L1_STRING_SEQUENCESTEP_REFPHASE "REF PHASE" 198 #define VL53L1_STRING_SEQUENCESTEP_DSS1 "DSS1" 199 #define VL53L1_STRING_SEQUENCESTEP_DSS2 "DSS2" 200 #define VL53L1_STRING_SEQUENCESTEP_MM1 "MM1" 201 #define VL53L1_STRING_SEQUENCESTEP_MM2 "MM2" 202 #define VL53L1_STRING_SEQUENCESTEP_RANGE "RANGE"
VL53L1_Error VL53L1_get_limit_check_info(uint16_t LimitCheckId, char *pLimitCheckString)
Generates a string for the limit check Id.
uint8_t VL53L1_SequenceStepId
VL53L1_Error VL53L1_get_pal_state_string(VL53L1_State PalStateCode, char *pPalStateString)
Generates a string for the input PAL State code.
VL53L1_Error VL53L1_get_range_status_string(uint8_t RangeStatus, char *pRangeStatusString)
Generates a string for the input device range status code.
Type definitions for VL53L1 API.
VL53L1_Error VL53L1_get_pal_error_string(VL53L1_Error PalErrorCode, char *pPalErrorString)
Generates an error string for the input PAL error code.
VL53L1_Error VL53L1_get_sequence_steps_info(VL53L1_SequenceStepId SequenceStepId, char *pSequenceStepsString)
Generates a string for the sequence step Id.
unsigned short uint16_t
Typedef defining 16 bit unsigned short type. The developer should modify this to suit the platform be...
unsigned char uint8_t
Typedef defining 8 bit unsigned char type. The developer should modify this to suit the platform bein...