code for read VL53l0x sensor with CAN

Dependencies:   mbed

Committer:
pablo_bmxrp
Date:
Mon Mar 18 22:45:39 2019 +0000
Revision:
1:7bbfe329c62b
Parent:
STM32F103C8T6_MPA/VL53L0X_simple/VL53L0X_1st.h@0:44429c0a71d4
V1.0

Who changed what in which revision?

UserRevisionLine numberNew contents of line
pablo_bmxrp 0:44429c0a71d4 1
pablo_bmxrp 0:44429c0a71d4 2 /**
pablo_bmxrp 0:44429c0a71d4 3 * The device model ID
pablo_bmxrp 0:44429c0a71d4 4 */
pablo_bmxrp 0:44429c0a71d4 5 #define IDENTIFICATION_MODEL_ID 0x000
pablo_bmxrp 0:44429c0a71d4 6
pablo_bmxrp 0:44429c0a71d4 7
pablo_bmxrp 0:44429c0a71d4 8 #define STATUS_OK 0x00
pablo_bmxrp 0:44429c0a71d4 9 #define STATUS_FAIL 0x01
pablo_bmxrp 0:44429c0a71d4 10
pablo_bmxrp 0:44429c0a71d4 11 #if ORIGINAL
pablo_bmxrp 0:44429c0a71d4 12 #define VL53L0X_OsDelay(...) wait_ms(2) // 2 msec delay. can also use wait(float secs)/wait_us(int)
pablo_bmxrp 0:44429c0a71d4 13 #endif
pablo_bmxrp 0:44429c0a71d4 14
pablo_bmxrp 0:44429c0a71d4 15 #ifdef USE_EMPTY_STRING
pablo_bmxrp 0:44429c0a71d4 16 #define VL53L0X_STRING_DEVICE_INFO_NAME ""
pablo_bmxrp 0:44429c0a71d4 17 #define VL53L0X_STRING_DEVICE_INFO_NAME_TS0 ""
pablo_bmxrp 0:44429c0a71d4 18 #define VL53L0X_STRING_DEVICE_INFO_NAME_TS1 ""
pablo_bmxrp 0:44429c0a71d4 19 #define VL53L0X_STRING_DEVICE_INFO_NAME_TS2 ""
pablo_bmxrp 0:44429c0a71d4 20 #define VL53L0X_STRING_DEVICE_INFO_NAME_ES1 ""
pablo_bmxrp 0:44429c0a71d4 21 #define VL53L0X_STRING_DEVICE_INFO_TYPE ""
pablo_bmxrp 0:44429c0a71d4 22
pablo_bmxrp 0:44429c0a71d4 23 /* PAL ERROR strings */
pablo_bmxrp 0:44429c0a71d4 24 #define VL53L0X_STRING_ERROR_NONE ""
pablo_bmxrp 0:44429c0a71d4 25 #define VL53L0X_STRING_ERROR_CALIBRATION_WARNING ""
pablo_bmxrp 0:44429c0a71d4 26 #define VL53L0X_STRING_ERROR_MIN_CLIPPED ""
pablo_bmxrp 0:44429c0a71d4 27 #define VL53L0X_STRING_ERROR_UNDEFINED ""
pablo_bmxrp 0:44429c0a71d4 28 #define VL53L0X_STRING_ERROR_INVALID_PARAMS ""
pablo_bmxrp 0:44429c0a71d4 29 #define VL53L0X_STRING_ERROR_NOT_SUPPORTED ""
pablo_bmxrp 0:44429c0a71d4 30 #define VL53L0X_STRING_ERROR_RANGE_ERROR ""
pablo_bmxrp 0:44429c0a71d4 31 #define VL53L0X_STRING_ERROR_TIME_OUT ""
pablo_bmxrp 0:44429c0a71d4 32 #define VL53L0X_STRING_ERROR_MODE_NOT_SUPPORTED ""
pablo_bmxrp 0:44429c0a71d4 33 #define VL53L0X_STRING_ERROR_BUFFER_TOO_SMALL ""
pablo_bmxrp 0:44429c0a71d4 34 #define VL53L0X_STRING_ERROR_GPIO_NOT_EXISTING ""
pablo_bmxrp 0:44429c0a71d4 35 #define VL53L0X_STRING_ERROR_GPIO_FUNCTIONALITY_NOT_SUPPORTED ""
pablo_bmxrp 0:44429c0a71d4 36 #define VL53L0X_STRING_ERROR_CONTROL_INTERFACE ""
pablo_bmxrp 0:44429c0a71d4 37 #define VL53L0X_STRING_ERROR_INVALID_COMMAND ""
pablo_bmxrp 0:44429c0a71d4 38 #define VL53L0X_STRING_ERROR_DIVISION_BY_ZERO ""
pablo_bmxrp 0:44429c0a71d4 39 #define VL53L0X_STRING_ERROR_REF_SPAD_INIT ""
pablo_bmxrp 0:44429c0a71d4 40 #define VL53L0X_STRING_ERROR_NOT_IMPLEMENTED ""
pablo_bmxrp 0:44429c0a71d4 41
pablo_bmxrp 0:44429c0a71d4 42 #define VL53L0X_STRING_UNKNOW_ERROR_CODE ""
pablo_bmxrp 0:44429c0a71d4 43
pablo_bmxrp 0:44429c0a71d4 44
pablo_bmxrp 0:44429c0a71d4 45
pablo_bmxrp 0:44429c0a71d4 46 /* Range Status */
pablo_bmxrp 0:44429c0a71d4 47 #define VL53L0X_STRING_RANGESTATUS_NONE ""
pablo_bmxrp 0:44429c0a71d4 48 #define VL53L0X_STRING_RANGESTATUS_RANGEVALID ""
pablo_bmxrp 0:44429c0a71d4 49 #define VL53L0X_STRING_RANGESTATUS_SIGMA ""
pablo_bmxrp 0:44429c0a71d4 50 #define VL53L0X_STRING_RANGESTATUS_SIGNAL ""
pablo_bmxrp 0:44429c0a71d4 51 #define VL53L0X_STRING_RANGESTATUS_MINRANGE ""
pablo_bmxrp 0:44429c0a71d4 52 #define VL53L0X_STRING_RANGESTATUS_PHASE ""
pablo_bmxrp 0:44429c0a71d4 53 #define VL53L0X_STRING_RANGESTATUS_HW ""
pablo_bmxrp 0:44429c0a71d4 54
pablo_bmxrp 0:44429c0a71d4 55
pablo_bmxrp 0:44429c0a71d4 56 /* Range Status */
pablo_bmxrp 0:44429c0a71d4 57 #define VL53L0X_STRING_STATE_POWERDOWN ""
pablo_bmxrp 0:44429c0a71d4 58 #define VL53L0X_STRING_STATE_WAIT_STATICINIT ""
pablo_bmxrp 0:44429c0a71d4 59 #define VL53L0X_STRING_STATE_STANDBY ""
pablo_bmxrp 0:44429c0a71d4 60 #define VL53L0X_STRING_STATE_IDLE ""
pablo_bmxrp 0:44429c0a71d4 61 #define VL53L0X_STRING_STATE_RUNNING ""
pablo_bmxrp 0:44429c0a71d4 62 #define VL53L0X_STRING_STATE_UNKNOWN ""
pablo_bmxrp 0:44429c0a71d4 63 #define VL53L0X_STRING_STATE_ERROR ""
pablo_bmxrp 0:44429c0a71d4 64
pablo_bmxrp 0:44429c0a71d4 65
pablo_bmxrp 0:44429c0a71d4 66 /* Device Specific */
pablo_bmxrp 0:44429c0a71d4 67 #define VL53L0X_STRING_DEVICEERROR_NONE ""
pablo_bmxrp 0:44429c0a71d4 68 #define VL53L0X_STRING_DEVICEERROR_VCSELCONTINUITYTESTFAILURE ""
pablo_bmxrp 0:44429c0a71d4 69 #define VL53L0X_STRING_DEVICEERROR_VCSELWATCHDOGTESTFAILURE ""
pablo_bmxrp 0:44429c0a71d4 70 #define VL53L0X_STRING_DEVICEERROR_NOVHVVALUEFOUND ""
pablo_bmxrp 0:44429c0a71d4 71 #define VL53L0X_STRING_DEVICEERROR_MSRCNOTARGET ""
pablo_bmxrp 0:44429c0a71d4 72 #define VL53L0X_STRING_DEVICEERROR_SNRCHECK ""
pablo_bmxrp 0:44429c0a71d4 73 #define VL53L0X_STRING_DEVICEERROR_RANGEPHASECHECK ""
pablo_bmxrp 0:44429c0a71d4 74 #define VL53L0X_STRING_DEVICEERROR_SIGMATHRESHOLDCHECK ""
pablo_bmxrp 0:44429c0a71d4 75 #define VL53L0X_STRING_DEVICEERROR_TCC ""
pablo_bmxrp 0:44429c0a71d4 76 #define VL53L0X_STRING_DEVICEERROR_PHASECONSISTENCY ""
pablo_bmxrp 0:44429c0a71d4 77 #define VL53L0X_STRING_DEVICEERROR_MINCLIP ""
pablo_bmxrp 0:44429c0a71d4 78 #define VL53L0X_STRING_DEVICEERROR_RANGECOMPLETE ""
pablo_bmxrp 0:44429c0a71d4 79 #define VL53L0X_STRING_DEVICEERROR_ALGOUNDERFLOW ""
pablo_bmxrp 0:44429c0a71d4 80 #define VL53L0X_STRING_DEVICEERROR_ALGOOVERFLOW ""
pablo_bmxrp 0:44429c0a71d4 81 #define VL53L0X_STRING_DEVICEERROR_RANGEIGNORETHRESHOLD ""
pablo_bmxrp 0:44429c0a71d4 82 #define VL53L0X_STRING_DEVICEERROR_UNKNOWN ""
pablo_bmxrp 0:44429c0a71d4 83
pablo_bmxrp 0:44429c0a71d4 84 /* Check Enable */
pablo_bmxrp 0:44429c0a71d4 85 #define VL53L0X_STRING_CHECKENABLE_SIGMA_FINAL_RANGE ""
pablo_bmxrp 0:44429c0a71d4 86 #define VL53L0X_STRING_CHECKENABLE_SIGNAL_RATE_FINAL_RANGE ""
pablo_bmxrp 0:44429c0a71d4 87 #define VL53L0X_STRING_CHECKENABLE_SIGNAL_REF_CLIP ""
pablo_bmxrp 0:44429c0a71d4 88 #define VL53L0X_STRING_CHECKENABLE_RANGE_IGNORE_THRESHOLD ""
pablo_bmxrp 0:44429c0a71d4 89
pablo_bmxrp 0:44429c0a71d4 90 /* Sequence Step */
pablo_bmxrp 0:44429c0a71d4 91 #define VL53L0X_STRING_SEQUENCESTEP_TCC ""
pablo_bmxrp 0:44429c0a71d4 92 #define VL53L0X_STRING_SEQUENCESTEP_DSS ""
pablo_bmxrp 0:44429c0a71d4 93 #define VL53L0X_STRING_SEQUENCESTEP_MSRC ""
pablo_bmxrp 0:44429c0a71d4 94 #define VL53L0X_STRING_SEQUENCESTEP_PRE_RANGE ""
pablo_bmxrp 0:44429c0a71d4 95 #define VL53L0X_STRING_SEQUENCESTEP_FINAL_RANGE ""
pablo_bmxrp 0:44429c0a71d4 96 #else
pablo_bmxrp 0:44429c0a71d4 97 #define VL53L0X_STRING_DEVICE_INFO_NAME "VL53L0X cut1.0"
pablo_bmxrp 0:44429c0a71d4 98 #define VL53L0X_STRING_DEVICE_INFO_NAME_TS0 "VL53L0X TS0"
pablo_bmxrp 0:44429c0a71d4 99 #define VL53L0X_STRING_DEVICE_INFO_NAME_TS1 "VL53L0X TS1"
pablo_bmxrp 0:44429c0a71d4 100 #define VL53L0X_STRING_DEVICE_INFO_NAME_TS2 "VL53L0X TS2"
pablo_bmxrp 0:44429c0a71d4 101 #define VL53L0X_STRING_DEVICE_INFO_NAME_ES1 "VL53L0X ES1 or later"
pablo_bmxrp 0:44429c0a71d4 102 #define VL53L0X_STRING_DEVICE_INFO_TYPE "VL53L0X"
pablo_bmxrp 0:44429c0a71d4 103
pablo_bmxrp 0:44429c0a71d4 104 /* PAL ERROR strings */
pablo_bmxrp 0:44429c0a71d4 105 #define VL53L0X_STRING_ERROR_NONE \
pablo_bmxrp 0:44429c0a71d4 106 "No Error"
pablo_bmxrp 0:44429c0a71d4 107 #define VL53L0X_STRING_ERROR_CALIBRATION_WARNING \
pablo_bmxrp 0:44429c0a71d4 108 "Calibration Warning Error"
pablo_bmxrp 0:44429c0a71d4 109 #define VL53L0X_STRING_ERROR_MIN_CLIPPED \
pablo_bmxrp 0:44429c0a71d4 110 "Min clipped error"
pablo_bmxrp 0:44429c0a71d4 111 #define VL53L0X_STRING_ERROR_UNDEFINED \
pablo_bmxrp 0:44429c0a71d4 112 "Undefined error"
pablo_bmxrp 0:44429c0a71d4 113 #define VL53L0X_STRING_ERROR_INVALID_PARAMS \
pablo_bmxrp 0:44429c0a71d4 114 "Invalid parameters error"
pablo_bmxrp 0:44429c0a71d4 115 #define VL53L0X_STRING_ERROR_NOT_SUPPORTED \
pablo_bmxrp 0:44429c0a71d4 116 "Not supported error"
pablo_bmxrp 0:44429c0a71d4 117 #define VL53L0X_STRING_ERROR_RANGE_ERROR \
pablo_bmxrp 0:44429c0a71d4 118 "Range error"
pablo_bmxrp 0:44429c0a71d4 119 #define VL53L0X_STRING_ERROR_TIME_OUT \
pablo_bmxrp 0:44429c0a71d4 120 "Time out error"
pablo_bmxrp 0:44429c0a71d4 121 #define VL53L0X_STRING_ERROR_MODE_NOT_SUPPORTED \
pablo_bmxrp 0:44429c0a71d4 122 "Mode not supported error"
pablo_bmxrp 0:44429c0a71d4 123 #define VL53L0X_STRING_ERROR_BUFFER_TOO_SMALL \
pablo_bmxrp 0:44429c0a71d4 124 "Buffer too small"
pablo_bmxrp 0:44429c0a71d4 125 #define VL53L0X_STRING_ERROR_GPIO_NOT_EXISTING \
pablo_bmxrp 0:44429c0a71d4 126 "GPIO not existing"
pablo_bmxrp 0:44429c0a71d4 127 #define VL53L0X_STRING_ERROR_GPIO_FUNCTIONALITY_NOT_SUPPORTED \
pablo_bmxrp 0:44429c0a71d4 128 "GPIO funct not supported"
pablo_bmxrp 0:44429c0a71d4 129 #define VL53L0X_STRING_ERROR_INTERRUPT_NOT_CLEARED \
pablo_bmxrp 0:44429c0a71d4 130 "Interrupt not Cleared"
pablo_bmxrp 0:44429c0a71d4 131 #define VL53L0X_STRING_ERROR_CONTROL_INTERFACE \
pablo_bmxrp 0:44429c0a71d4 132 "Control Interface Error"
pablo_bmxrp 0:44429c0a71d4 133 #define VL53L0X_STRING_ERROR_INVALID_COMMAND \
pablo_bmxrp 0:44429c0a71d4 134 "Invalid Command Error"
pablo_bmxrp 0:44429c0a71d4 135 #define VL53L0X_STRING_ERROR_DIVISION_BY_ZERO \
pablo_bmxrp 0:44429c0a71d4 136 "Division by zero Error"
pablo_bmxrp 0:44429c0a71d4 137 #define VL53L0X_STRING_ERROR_REF_SPAD_INIT \
pablo_bmxrp 0:44429c0a71d4 138 "Reference Spad Init Error"
pablo_bmxrp 0:44429c0a71d4 139 #define VL53L0X_STRING_ERROR_NOT_IMPLEMENTED \
pablo_bmxrp 0:44429c0a71d4 140 "Not implemented error"
pablo_bmxrp 0:44429c0a71d4 141
pablo_bmxrp 0:44429c0a71d4 142 #define VL53L0X_STRING_UNKNOW_ERROR_CODE \
pablo_bmxrp 0:44429c0a71d4 143 "Unknown Error Code"
pablo_bmxrp 0:44429c0a71d4 144
pablo_bmxrp 0:44429c0a71d4 145
pablo_bmxrp 0:44429c0a71d4 146
pablo_bmxrp 0:44429c0a71d4 147 /* Range Status */
pablo_bmxrp 0:44429c0a71d4 148 #define VL53L0X_STRING_RANGESTATUS_NONE "No Update"
pablo_bmxrp 0:44429c0a71d4 149 #define VL53L0X_STRING_RANGESTATUS_RANGEVALID "Range Valid"
pablo_bmxrp 0:44429c0a71d4 150 #define VL53L0X_STRING_RANGESTATUS_SIGMA "Sigma Fail"
pablo_bmxrp 0:44429c0a71d4 151 #define VL53L0X_STRING_RANGESTATUS_SIGNAL "Signal Fail"
pablo_bmxrp 0:44429c0a71d4 152 #define VL53L0X_STRING_RANGESTATUS_MINRANGE "Min Range Fail"
pablo_bmxrp 0:44429c0a71d4 153 #define VL53L0X_STRING_RANGESTATUS_PHASE "Phase Fail"
pablo_bmxrp 0:44429c0a71d4 154 #define VL53L0X_STRING_RANGESTATUS_HW "Hardware Fail"
pablo_bmxrp 0:44429c0a71d4 155
pablo_bmxrp 0:44429c0a71d4 156
pablo_bmxrp 0:44429c0a71d4 157 /* Range Status */
pablo_bmxrp 0:44429c0a71d4 158 #define VL53L0X_STRING_STATE_POWERDOWN "POWERDOWN State"
pablo_bmxrp 0:44429c0a71d4 159 #define VL53L0X_STRING_STATE_WAIT_STATICINIT \
pablo_bmxrp 0:44429c0a71d4 160 "Wait for staticinit State"
pablo_bmxrp 0:44429c0a71d4 161 #define VL53L0X_STRING_STATE_STANDBY "STANDBY State"
pablo_bmxrp 0:44429c0a71d4 162 #define VL53L0X_STRING_STATE_IDLE "IDLE State"
pablo_bmxrp 0:44429c0a71d4 163 #define VL53L0X_STRING_STATE_RUNNING "RUNNING State"
pablo_bmxrp 0:44429c0a71d4 164 #define VL53L0X_STRING_STATE_UNKNOWN "UNKNOWN State"
pablo_bmxrp 0:44429c0a71d4 165 #define VL53L0X_STRING_STATE_ERROR "ERROR State"
pablo_bmxrp 0:44429c0a71d4 166
pablo_bmxrp 0:44429c0a71d4 167
pablo_bmxrp 0:44429c0a71d4 168 /* Device Specific */
pablo_bmxrp 0:44429c0a71d4 169 #define VL53L0X_STRING_DEVICEERROR_NONE "No Update"
pablo_bmxrp 0:44429c0a71d4 170 #define VL53L0X_STRING_DEVICEERROR_VCSELCONTINUITYTESTFAILURE \
pablo_bmxrp 0:44429c0a71d4 171 "VCSEL Continuity Test Failure"
pablo_bmxrp 0:44429c0a71d4 172 #define VL53L0X_STRING_DEVICEERROR_VCSELWATCHDOGTESTFAILURE \
pablo_bmxrp 0:44429c0a71d4 173 "VCSEL Watchdog Test Failure"
pablo_bmxrp 0:44429c0a71d4 174 #define VL53L0X_STRING_DEVICEERROR_NOVHVVALUEFOUND \
pablo_bmxrp 0:44429c0a71d4 175 "No VHV Value found"
pablo_bmxrp 0:44429c0a71d4 176 #define VL53L0X_STRING_DEVICEERROR_MSRCNOTARGET \
pablo_bmxrp 0:44429c0a71d4 177 "MSRC No Target Error"
pablo_bmxrp 0:44429c0a71d4 178 #define VL53L0X_STRING_DEVICEERROR_SNRCHECK \
pablo_bmxrp 0:44429c0a71d4 179 "SNR Check Exit"
pablo_bmxrp 0:44429c0a71d4 180 #define VL53L0X_STRING_DEVICEERROR_RANGEPHASECHECK \
pablo_bmxrp 0:44429c0a71d4 181 "Range Phase Check Error"
pablo_bmxrp 0:44429c0a71d4 182 #define VL53L0X_STRING_DEVICEERROR_SIGMATHRESHOLDCHECK \
pablo_bmxrp 0:44429c0a71d4 183 "Sigma Threshold Check Error"
pablo_bmxrp 0:44429c0a71d4 184 #define VL53L0X_STRING_DEVICEERROR_TCC \
pablo_bmxrp 0:44429c0a71d4 185 "TCC Error"
pablo_bmxrp 0:44429c0a71d4 186 #define VL53L0X_STRING_DEVICEERROR_PHASECONSISTENCY \
pablo_bmxrp 0:44429c0a71d4 187 "Phase Consistency Error"
pablo_bmxrp 0:44429c0a71d4 188 #define VL53L0X_STRING_DEVICEERROR_MINCLIP \
pablo_bmxrp 0:44429c0a71d4 189 "Min Clip Error"
pablo_bmxrp 0:44429c0a71d4 190 #define VL53L0X_STRING_DEVICEERROR_RANGECOMPLETE \
pablo_bmxrp 0:44429c0a71d4 191 "Range Complete"
pablo_bmxrp 0:44429c0a71d4 192 #define VL53L0X_STRING_DEVICEERROR_ALGOUNDERFLOW \
pablo_bmxrp 0:44429c0a71d4 193 "Range Algo Underflow Error"
pablo_bmxrp 0:44429c0a71d4 194 #define VL53L0X_STRING_DEVICEERROR_ALGOOVERFLOW \
pablo_bmxrp 0:44429c0a71d4 195 "Range Algo Overlow Error"
pablo_bmxrp 0:44429c0a71d4 196 #define VL53L0X_STRING_DEVICEERROR_RANGEIGNORETHRESHOLD \
pablo_bmxrp 0:44429c0a71d4 197 "Range Ignore Threshold Error"
pablo_bmxrp 0:44429c0a71d4 198 #define VL53L0X_STRING_DEVICEERROR_UNKNOWN \
pablo_bmxrp 0:44429c0a71d4 199 "Unknown error code"
pablo_bmxrp 0:44429c0a71d4 200
pablo_bmxrp 0:44429c0a71d4 201 /* Check Enable */
pablo_bmxrp 0:44429c0a71d4 202 #define VL53L0X_STRING_CHECKENABLE_SIGMA_FINAL_RANGE \
pablo_bmxrp 0:44429c0a71d4 203 "SIGMA FINAL RANGE"
pablo_bmxrp 0:44429c0a71d4 204 #define VL53L0X_STRING_CHECKENABLE_SIGNAL_RATE_FINAL_RANGE \
pablo_bmxrp 0:44429c0a71d4 205 "SIGNAL RATE FINAL RANGE"
pablo_bmxrp 0:44429c0a71d4 206 #define VL53L0X_STRING_CHECKENABLE_SIGNAL_REF_CLIP \
pablo_bmxrp 0:44429c0a71d4 207 "SIGNAL REF CLIP"
pablo_bmxrp 0:44429c0a71d4 208 #define VL53L0X_STRING_CHECKENABLE_RANGE_IGNORE_THRESHOLD \
pablo_bmxrp 0:44429c0a71d4 209 "RANGE IGNORE THRESHOLD"
pablo_bmxrp 0:44429c0a71d4 210 #define VL53L0X_STRING_CHECKENABLE_SIGNAL_RATE_MSRC \
pablo_bmxrp 0:44429c0a71d4 211 "SIGNAL RATE MSRC"
pablo_bmxrp 0:44429c0a71d4 212 #define VL53L0X_STRING_CHECKENABLE_SIGNAL_RATE_PRE_RANGE \
pablo_bmxrp 0:44429c0a71d4 213 "SIGNAL RATE PRE RANGE"
pablo_bmxrp 0:44429c0a71d4 214
pablo_bmxrp 0:44429c0a71d4 215 /* Sequence Step */
pablo_bmxrp 0:44429c0a71d4 216 #define VL53L0X_STRING_SEQUENCESTEP_TCC "TCC"
pablo_bmxrp 0:44429c0a71d4 217 #define VL53L0X_STRING_SEQUENCESTEP_DSS "DSS"
pablo_bmxrp 0:44429c0a71d4 218 #define VL53L0X_STRING_SEQUENCESTEP_MSRC "MSRC"
pablo_bmxrp 0:44429c0a71d4 219 #define VL53L0X_STRING_SEQUENCESTEP_PRE_RANGE "PRE RANGE"
pablo_bmxrp 0:44429c0a71d4 220 #define VL53L0X_STRING_SEQUENCESTEP_FINAL_RANGE "FINAL RANGE"
pablo_bmxrp 0:44429c0a71d4 221 #endif /* USE_EMPTY_STRING */