The VL53L1CB proximity sensor, based on ST’s FlightSense™, Time-of-Flight technology.

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Dependents:   VL53L1CB_noshield_1sensor_polls_auton VL53L1CB_noshield_1sensor_interrupt_auton X_NUCLEO_53L1A2

Based on VL53L1 library, this is a library for the VL53L1CB ToF chip.

Committer:
charlesmn
Date:
Fri Nov 06 10:06:37 2020 +0000
Revision:
0:3ac96e360672
Child:
7:1add29d51e72
Library for ST Vl53L1A1 time of flight sensor.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
charlesmn 0:3ac96e360672 1
charlesmn 0:3ac96e360672 2 /*******************************************************************************
charlesmn 0:3ac96e360672 3 * Copyright (c) 2020, STMicroelectronics - All Rights Reserved
charlesmn 0:3ac96e360672 4
charlesmn 0:3ac96e360672 5 This file is part of VL53L1 Core and is dual licensed,
charlesmn 0:3ac96e360672 6 either 'STMicroelectronics
charlesmn 0:3ac96e360672 7 Proprietary license'
charlesmn 0:3ac96e360672 8 or 'BSD 3-clause "New" or "Revised" License' , at your option.
charlesmn 0:3ac96e360672 9
charlesmn 0:3ac96e360672 10 ********************************************************************************
charlesmn 0:3ac96e360672 11
charlesmn 0:3ac96e360672 12 'STMicroelectronics Proprietary license'
charlesmn 0:3ac96e360672 13
charlesmn 0:3ac96e360672 14 ********************************************************************************
charlesmn 0:3ac96e360672 15
charlesmn 0:3ac96e360672 16 License terms: STMicroelectronics Proprietary in accordance with licensing
charlesmn 0:3ac96e360672 17 terms at www.st.com/sla0081
charlesmn 0:3ac96e360672 18
charlesmn 0:3ac96e360672 19 STMicroelectronics confidential
charlesmn 0:3ac96e360672 20 Reproduction and Communication of this document is strictly prohibited unless
charlesmn 0:3ac96e360672 21 specifically authorized in writing by STMicroelectronics.
charlesmn 0:3ac96e360672 22
charlesmn 0:3ac96e360672 23
charlesmn 0:3ac96e360672 24 ********************************************************************************
charlesmn 0:3ac96e360672 25
charlesmn 0:3ac96e360672 26 Alternatively, VL53L1 Core may be distributed under the terms of
charlesmn 0:3ac96e360672 27 'BSD 3-clause "New" or "Revised" License', in which case the following
charlesmn 0:3ac96e360672 28 provisions apply instead of the ones
charlesmn 0:3ac96e360672 29 mentioned above :
charlesmn 0:3ac96e360672 30
charlesmn 0:3ac96e360672 31 ********************************************************************************
charlesmn 0:3ac96e360672 32
charlesmn 0:3ac96e360672 33 License terms: BSD 3-clause "New" or "Revised" License.
charlesmn 0:3ac96e360672 34
charlesmn 0:3ac96e360672 35 Redistribution and use in source and binary forms, with or without
charlesmn 0:3ac96e360672 36 modification, are permitted provided that the following conditions are met:
charlesmn 0:3ac96e360672 37
charlesmn 0:3ac96e360672 38 1. Redistributions of source code must retain the above copyright notice, this
charlesmn 0:3ac96e360672 39 list of conditions and the following disclaimer.
charlesmn 0:3ac96e360672 40
charlesmn 0:3ac96e360672 41 2. Redistributions in binary form must reproduce the above copyright notice,
charlesmn 0:3ac96e360672 42 this list of conditions and the following disclaimer in the documentation
charlesmn 0:3ac96e360672 43 and/or other materials provided with the distribution.
charlesmn 0:3ac96e360672 44
charlesmn 0:3ac96e360672 45 3. Neither the name of the copyright holder nor the names of its contributors
charlesmn 0:3ac96e360672 46 may be used to endorse or promote products derived from this software
charlesmn 0:3ac96e360672 47 without specific prior written permission.
charlesmn 0:3ac96e360672 48
charlesmn 0:3ac96e360672 49 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
charlesmn 0:3ac96e360672 50 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
charlesmn 0:3ac96e360672 51 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
charlesmn 0:3ac96e360672 52 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
charlesmn 0:3ac96e360672 53 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
charlesmn 0:3ac96e360672 54 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
charlesmn 0:3ac96e360672 55 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
charlesmn 0:3ac96e360672 56 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
charlesmn 0:3ac96e360672 57 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
charlesmn 0:3ac96e360672 58 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
charlesmn 0:3ac96e360672 59
charlesmn 0:3ac96e360672 60
charlesmn 0:3ac96e360672 61 ********************************************************************************
charlesmn 0:3ac96e360672 62
charlesmn 0:3ac96e360672 63 */
charlesmn 0:3ac96e360672 64
charlesmn 0:3ac96e360672 65
charlesmn 0:3ac96e360672 66 #define VL53L1_TUNINGPARM_VERSION_DEFAULT \
charlesmn 0:3ac96e360672 67 ((uint16_t) 31)
charlesmn 0:3ac96e360672 68 #define VL53L1_TUNINGPARM_KEY_TABLE_VERSION_DEFAULT \
charlesmn 0:3ac96e360672 69 ((uint16_t) 14)
charlesmn 0:3ac96e360672 70 #define VL53L1_TUNINGPARM_LLD_VERSION_DEFAULT \
charlesmn 0:3ac96e360672 71 ((uint16_t) 12180)
charlesmn 0:3ac96e360672 72 #define VL53L1_TUNINGPARM_HIST_ALGO_SELECT_DEFAULT \
charlesmn 0:3ac96e360672 73 ((uint8_t) 4)
charlesmn 0:3ac96e360672 74 #define VL53L1_TUNINGPARM_HIST_TARGET_ORDER_DEFAULT \
charlesmn 0:3ac96e360672 75 ((uint8_t) 1)
charlesmn 0:3ac96e360672 76 #define VL53L1_TUNINGPARM_HIST_FILTER_WOI_0_DEFAULT \
charlesmn 0:3ac96e360672 77 ((uint8_t) 1)
charlesmn 0:3ac96e360672 78 #define VL53L1_TUNINGPARM_HIST_FILTER_WOI_1_DEFAULT \
charlesmn 0:3ac96e360672 79 ((uint8_t) 2)
charlesmn 0:3ac96e360672 80 #define VL53L1_TUNINGPARM_HIST_AMB_EST_METHOD_DEFAULT \
charlesmn 0:3ac96e360672 81 ((uint8_t) 1)
charlesmn 0:3ac96e360672 82 #define VL53L1_TUNINGPARM_HIST_AMB_THRESH_SIGMA_0_DEFAULT \
charlesmn 0:3ac96e360672 83 ((uint8_t) 80)
charlesmn 0:3ac96e360672 84 #define VL53L1_TUNINGPARM_HIST_AMB_THRESH_SIGMA_1_DEFAULT \
charlesmn 0:3ac96e360672 85 ((uint8_t) 112)
charlesmn 0:3ac96e360672 86 #define VL53L1_TUNINGPARM_HIST_MIN_AMB_THRESH_EVENTS_DEFAULT \
charlesmn 0:3ac96e360672 87 ((int32_t) 16)
charlesmn 0:3ac96e360672 88 #define VL53L1_TUNINGPARM_HIST_AMB_EVENTS_SCALER_DEFAULT \
charlesmn 0:3ac96e360672 89 ((uint16_t) 4157)
charlesmn 0:3ac96e360672 90 #define VL53L1_TUNINGPARM_HIST_NOISE_THRESHOLD_DEFAULT \
charlesmn 0:3ac96e360672 91 ((uint16_t) 50)
charlesmn 0:3ac96e360672 92 #define VL53L1_TUNINGPARM_HIST_SIGNAL_TOTAL_EVENTS_LIMIT_DEFAULT \
charlesmn 0:3ac96e360672 93 ((int32_t) 100)
charlesmn 0:3ac96e360672 94 #define VL53L1_TUNINGPARM_HIST_SIGMA_EST_REF_MM_DEFAULT \
charlesmn 0:3ac96e360672 95 ((uint8_t) 1)
charlesmn 0:3ac96e360672 96 #define VL53L1_TUNINGPARM_HIST_SIGMA_THRESH_MM_DEFAULT \
charlesmn 0:3ac96e360672 97 ((uint16_t) 160)
charlesmn 0:3ac96e360672 98 #define VL53L1_TUNINGPARM_HIST_GAIN_FACTOR_DEFAULT \
charlesmn 0:3ac96e360672 99 ((uint16_t) 1987)
charlesmn 0:3ac96e360672 100 #define VL53L1_TUNINGPARM_CONSISTENCY_HIST_PHASE_TOLERANCE_DEFAULT \
charlesmn 0:3ac96e360672 101 ((uint8_t) 8)
charlesmn 0:3ac96e360672 102 #define VL53L1_TUNINGPARM_CONSISTENCY_HIST_MIN_MAX_TOLERANCE_MM_DEFAULT \
charlesmn 0:3ac96e360672 103 ((uint16_t) 250)
charlesmn 0:3ac96e360672 104 #define VL53L1_TUNINGPARM_CONSISTENCY_HIST_EVENT_SIGMA_DEFAULT \
charlesmn 0:3ac96e360672 105 ((uint8_t) 0)
charlesmn 0:3ac96e360672 106 #define VL53L1_TUNINGPARM_CONSISTENCY_HIST_EVENT_SIGMA_MIN_SPAD_LIMIT_DEFAULT \
charlesmn 0:3ac96e360672 107 ((uint16_t) 2048)
charlesmn 0:3ac96e360672 108 #define VL53L1_TUNINGPARM_INITIAL_PHASE_RTN_HISTO_LONG_RANGE_DEFAULT \
charlesmn 0:3ac96e360672 109 ((uint8_t) 9)
charlesmn 0:3ac96e360672 110 #define VL53L1_TUNINGPARM_INITIAL_PHASE_RTN_HISTO_MED_RANGE_DEFAULT \
charlesmn 0:3ac96e360672 111 ((uint8_t) 5)
charlesmn 0:3ac96e360672 112 #define VL53L1_TUNINGPARM_INITIAL_PHASE_RTN_HISTO_SHORT_RANGE_DEFAULT \
charlesmn 0:3ac96e360672 113 ((uint8_t) 3)
charlesmn 0:3ac96e360672 114 #define VL53L1_TUNINGPARM_INITIAL_PHASE_REF_HISTO_LONG_RANGE_DEFAULT \
charlesmn 0:3ac96e360672 115 ((uint8_t) 6)
charlesmn 0:3ac96e360672 116 #define VL53L1_TUNINGPARM_INITIAL_PHASE_REF_HISTO_MED_RANGE_DEFAULT \
charlesmn 0:3ac96e360672 117 ((uint8_t) 6)
charlesmn 0:3ac96e360672 118 #define VL53L1_TUNINGPARM_INITIAL_PHASE_REF_HISTO_SHORT_RANGE_DEFAULT \
charlesmn 0:3ac96e360672 119 ((uint8_t) 6)
charlesmn 0:3ac96e360672 120 #define VL53L1_TUNINGPARM_XTALK_DETECT_MIN_VALID_RANGE_MM_DEFAULT \
charlesmn 0:3ac96e360672 121 ((int16_t) -50)
charlesmn 0:3ac96e360672 122 #define VL53L1_TUNINGPARM_XTALK_DETECT_MAX_VALID_RANGE_MM_DEFAULT \
charlesmn 0:3ac96e360672 123 ((int16_t) 50)
charlesmn 0:3ac96e360672 124 #define VL53L1_TUNINGPARM_XTALK_DETECT_MAX_SIGMA_MM_DEFAULT \
charlesmn 0:3ac96e360672 125 ((uint16_t) 140)
charlesmn 0:3ac96e360672 126 #define VL53L1_TUNINGPARM_XTALK_DETECT_MIN_MAX_TOLERANCE_DEFAULT \
charlesmn 0:3ac96e360672 127 ((uint16_t) 50)
charlesmn 0:3ac96e360672 128 #define VL53L1_TUNINGPARM_XTALK_DETECT_MAX_VALID_RATE_KCPS_DEFAULT \
charlesmn 0:3ac96e360672 129 ((uint16_t) 64000)
charlesmn 0:3ac96e360672 130 #define VL53L1_TUNINGPARM_XTALK_DETECT_EVENT_SIGMA_DEFAULT \
charlesmn 0:3ac96e360672 131 ((uint8_t) 80)
charlesmn 0:3ac96e360672 132 #define VL53L1_TUNINGPARM_HIST_XTALK_MARGIN_KCPS_DEFAULT \
charlesmn 0:3ac96e360672 133 ((int16_t) 512)
charlesmn 0:3ac96e360672 134 #define VL53L1_TUNINGPARM_CONSISTENCY_LITE_PHASE_TOLERANCE_DEFAULT \
charlesmn 0:3ac96e360672 135 ((uint8_t) 2)
charlesmn 0:3ac96e360672 136 #define VL53L1_TUNINGPARM_PHASECAL_TARGET_DEFAULT \
charlesmn 0:3ac96e360672 137 ((uint8_t) 33)
charlesmn 0:3ac96e360672 138 #define VL53L1_TUNINGPARM_LITE_CAL_REPEAT_RATE_DEFAULT \
charlesmn 0:3ac96e360672 139 ((uint16_t) 0)
charlesmn 0:3ac96e360672 140 #define VL53L1_TUNINGPARM_LITE_RANGING_GAIN_FACTOR_DEFAULT \
charlesmn 0:3ac96e360672 141 ((uint16_t) 2011)
charlesmn 0:3ac96e360672 142 #define VL53L1_TUNINGPARM_LITE_MIN_CLIP_MM_DEFAULT \
charlesmn 0:3ac96e360672 143 ((uint8_t) 0)
charlesmn 0:3ac96e360672 144 #define VL53L1_TUNINGPARM_LITE_LONG_SIGMA_THRESH_MM_DEFAULT \
charlesmn 0:3ac96e360672 145 ((uint16_t) 60)
charlesmn 0:3ac96e360672 146 #define VL53L1_TUNINGPARM_LITE_MED_SIGMA_THRESH_MM_DEFAULT \
charlesmn 0:3ac96e360672 147 ((uint16_t) 60)
charlesmn 0:3ac96e360672 148 #define VL53L1_TUNINGPARM_LITE_SHORT_SIGMA_THRESH_MM_DEFAULT \
charlesmn 0:3ac96e360672 149 ((uint16_t) 60)
charlesmn 0:3ac96e360672 150 #define VL53L1_TUNINGPARM_LITE_LONG_MIN_COUNT_RATE_RTN_MCPS_DEFAULT \
charlesmn 0:3ac96e360672 151 ((uint16_t) 128)
charlesmn 0:3ac96e360672 152 #define VL53L1_TUNINGPARM_LITE_MED_MIN_COUNT_RATE_RTN_MCPS_DEFAULT \
charlesmn 0:3ac96e360672 153 ((uint16_t) 128)
charlesmn 0:3ac96e360672 154 #define VL53L1_TUNINGPARM_LITE_SHORT_MIN_COUNT_RATE_RTN_MCPS_DEFAULT \
charlesmn 0:3ac96e360672 155 ((uint16_t) 128)
charlesmn 0:3ac96e360672 156 #define VL53L1_TUNINGPARM_LITE_SIGMA_EST_PULSE_WIDTH_DEFAULT \
charlesmn 0:3ac96e360672 157 ((uint8_t) 8)
charlesmn 0:3ac96e360672 158 #define VL53L1_TUNINGPARM_LITE_SIGMA_EST_AMB_WIDTH_NS_DEFAULT \
charlesmn 0:3ac96e360672 159 ((uint8_t) 16)
charlesmn 0:3ac96e360672 160 #define VL53L1_TUNINGPARM_LITE_SIGMA_REF_MM_DEFAULT \
charlesmn 0:3ac96e360672 161 ((uint8_t) 1)
charlesmn 0:3ac96e360672 162 #define VL53L1_TUNINGPARM_LITE_RIT_MULT_DEFAULT \
charlesmn 0:3ac96e360672 163 ((uint8_t) 64)
charlesmn 0:3ac96e360672 164 #define VL53L1_TUNINGPARM_LITE_SEED_CONFIG_DEFAULT \
charlesmn 0:3ac96e360672 165 ((uint8_t) 2)
charlesmn 0:3ac96e360672 166 #define VL53L1_TUNINGPARM_LITE_QUANTIFIER_DEFAULT \
charlesmn 0:3ac96e360672 167 ((uint8_t) 2)
charlesmn 0:3ac96e360672 168 #define VL53L1_TUNINGPARM_LITE_FIRST_ORDER_SELECT_DEFAULT \
charlesmn 0:3ac96e360672 169 ((uint8_t) 0)
charlesmn 0:3ac96e360672 170 #define VL53L1_TUNINGPARM_LITE_XTALK_MARGIN_KCPS_DEFAULT \
charlesmn 0:3ac96e360672 171 ((int16_t) 0)
charlesmn 0:3ac96e360672 172 #define VL53L1_TUNINGPARM_INITIAL_PHASE_RTN_LITE_LONG_RANGE_DEFAULT \
charlesmn 0:3ac96e360672 173 ((uint8_t) 14)
charlesmn 0:3ac96e360672 174 #define VL53L1_TUNINGPARM_INITIAL_PHASE_RTN_LITE_MED_RANGE_DEFAULT \
charlesmn 0:3ac96e360672 175 ((uint8_t) 10)
charlesmn 0:3ac96e360672 176 #define VL53L1_TUNINGPARM_INITIAL_PHASE_RTN_LITE_SHORT_RANGE_DEFAULT \
charlesmn 0:3ac96e360672 177 ((uint8_t) 6)
charlesmn 0:3ac96e360672 178 #define VL53L1_TUNINGPARM_INITIAL_PHASE_REF_LITE_LONG_RANGE_DEFAULT \
charlesmn 0:3ac96e360672 179 ((uint8_t) 14)
charlesmn 0:3ac96e360672 180 #define VL53L1_TUNINGPARM_INITIAL_PHASE_REF_LITE_MED_RANGE_DEFAULT \
charlesmn 0:3ac96e360672 181 ((uint8_t) 10)
charlesmn 0:3ac96e360672 182 #define VL53L1_TUNINGPARM_INITIAL_PHASE_REF_LITE_SHORT_RANGE_DEFAULT \
charlesmn 0:3ac96e360672 183 ((uint8_t) 6)
charlesmn 0:3ac96e360672 184 #define VL53L1_TUNINGPARM_TIMED_SEED_CONFIG_DEFAULT \
charlesmn 0:3ac96e360672 185 ((uint8_t) 1)
charlesmn 0:3ac96e360672 186 #define VL53L1_TUNINGPARM_DMAX_CFG_SIGNAL_THRESH_SIGMA_DEFAULT \
charlesmn 0:3ac96e360672 187 ((uint8_t) 32)
charlesmn 0:3ac96e360672 188 #define VL53L1_TUNINGPARM_DMAX_CFG_REFLECTANCE_ARRAY_0_DEFAULT \
charlesmn 0:3ac96e360672 189 ((uint16_t) 15)
charlesmn 0:3ac96e360672 190 #define VL53L1_TUNINGPARM_DMAX_CFG_REFLECTANCE_ARRAY_1_DEFAULT \
charlesmn 0:3ac96e360672 191 ((uint16_t) 52)
charlesmn 0:3ac96e360672 192 #define VL53L1_TUNINGPARM_DMAX_CFG_REFLECTANCE_ARRAY_2_DEFAULT \
charlesmn 0:3ac96e360672 193 ((uint16_t) 200)
charlesmn 0:3ac96e360672 194 #define VL53L1_TUNINGPARM_DMAX_CFG_REFLECTANCE_ARRAY_3_DEFAULT \
charlesmn 0:3ac96e360672 195 ((uint16_t) 364)
charlesmn 0:3ac96e360672 196 #define VL53L1_TUNINGPARM_DMAX_CFG_REFLECTANCE_ARRAY_4_DEFAULT \
charlesmn 0:3ac96e360672 197 ((uint16_t) 400)
charlesmn 0:3ac96e360672 198 #define VL53L1_TUNINGPARM_VHV_LOOPBOUND_DEFAULT \
charlesmn 0:3ac96e360672 199 ((uint8_t) 129)
charlesmn 0:3ac96e360672 200 #define VL53L1_TUNINGPARM_REFSPADCHAR_DEVICE_TEST_MODE_DEFAULT \
charlesmn 0:3ac96e360672 201 ((uint8_t) 8)
charlesmn 0:3ac96e360672 202 #define VL53L1_TUNINGPARM_REFSPADCHAR_VCSEL_PERIOD_DEFAULT \
charlesmn 0:3ac96e360672 203 ((uint8_t) 11)
charlesmn 0:3ac96e360672 204 #define VL53L1_TUNINGPARM_REFSPADCHAR_PHASECAL_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 205 ((uint32_t) 1000)
charlesmn 0:3ac96e360672 206 #define VL53L1_TUNINGPARM_REFSPADCHAR_TARGET_COUNT_RATE_MCPS_DEFAULT \
charlesmn 0:3ac96e360672 207 ((uint16_t) 2560)
charlesmn 0:3ac96e360672 208 #define VL53L1_TUNINGPARM_REFSPADCHAR_MIN_COUNTRATE_LIMIT_MCPS_DEFAULT \
charlesmn 0:3ac96e360672 209 ((uint16_t) 1280)
charlesmn 0:3ac96e360672 210 #define VL53L1_TUNINGPARM_REFSPADCHAR_MAX_COUNTRATE_LIMIT_MCPS_DEFAULT \
charlesmn 0:3ac96e360672 211 ((uint16_t) 5120)
charlesmn 0:3ac96e360672 212 #define VL53L1_TUNINGPARM_XTALK_EXTRACT_NUM_OF_SAMPLES_DEFAULT \
charlesmn 0:3ac96e360672 213 ((uint8_t) 7)
charlesmn 0:3ac96e360672 214 #define VL53L1_TUNINGPARM_XTALK_EXTRACT_MIN_FILTER_THRESH_MM_DEFAULT \
charlesmn 0:3ac96e360672 215 ((int16_t) -70)
charlesmn 0:3ac96e360672 216 #define VL53L1_TUNINGPARM_XTALK_EXTRACT_MAX_FILTER_THRESH_MM_DEFAULT \
charlesmn 0:3ac96e360672 217 ((int16_t) 70)
charlesmn 0:3ac96e360672 218 #define VL53L1_TUNINGPARM_XTALK_EXTRACT_DSS_RATE_MCPS_DEFAULT \
charlesmn 0:3ac96e360672 219 ((uint16_t) 5120)
charlesmn 0:3ac96e360672 220 #define VL53L1_TUNINGPARM_XTALK_EXTRACT_PHASECAL_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 221 ((uint32_t) 15000)
charlesmn 0:3ac96e360672 222 #define VL53L1_TUNINGPARM_XTALK_EXTRACT_MAX_VALID_RATE_KCPS_DEFAULT \
charlesmn 0:3ac96e360672 223 ((uint16_t) 64000)
charlesmn 0:3ac96e360672 224 #define VL53L1_TUNINGPARM_XTALK_EXTRACT_SIGMA_THRESHOLD_MM_DEFAULT \
charlesmn 0:3ac96e360672 225 ((uint16_t) 140)
charlesmn 0:3ac96e360672 226 #define VL53L1_TUNINGPARM_XTALK_EXTRACT_DSS_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 227 ((uint32_t) 2000)
charlesmn 0:3ac96e360672 228 #define VL53L1_TUNINGPARM_XTALK_EXTRACT_BIN_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 229 ((uint32_t) 10000)
charlesmn 0:3ac96e360672 230 #define VL53L1_TUNINGPARM_OFFSET_CAL_DSS_RATE_MCPS_DEFAULT \
charlesmn 0:3ac96e360672 231 ((uint16_t) 2560)
charlesmn 0:3ac96e360672 232 #define VL53L1_TUNINGPARM_OFFSET_CAL_PHASECAL_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 233 ((uint32_t) 15000)
charlesmn 0:3ac96e360672 234 #define VL53L1_TUNINGPARM_OFFSET_CAL_MM_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 235 ((uint32_t) 13000)
charlesmn 0:3ac96e360672 236 #define VL53L1_TUNINGPARM_OFFSET_CAL_RANGE_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 237 ((uint32_t) 13000)
charlesmn 0:3ac96e360672 238 #define VL53L1_TUNINGPARM_OFFSET_CAL_PRE_SAMPLES_DEFAULT \
charlesmn 0:3ac96e360672 239 ((uint8_t) 8)
charlesmn 0:3ac96e360672 240 #define VL53L1_TUNINGPARM_OFFSET_CAL_MM1_SAMPLES_DEFAULT \
charlesmn 0:3ac96e360672 241 ((uint8_t) 40)
charlesmn 0:3ac96e360672 242 #define VL53L1_TUNINGPARM_OFFSET_CAL_MM2_SAMPLES_DEFAULT \
charlesmn 0:3ac96e360672 243 ((uint8_t) 9)
charlesmn 0:3ac96e360672 244 #define VL53L1_TUNINGPARM_ZONE_CAL_DSS_RATE_MCPS_DEFAULT \
charlesmn 0:3ac96e360672 245 ((uint16_t) 5120)
charlesmn 0:3ac96e360672 246 #define VL53L1_TUNINGPARM_ZONE_CAL_PHASECAL_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 247 ((uint32_t) 15000)
charlesmn 0:3ac96e360672 248 #define VL53L1_TUNINGPARM_ZONE_CAL_DSS_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 249 ((uint32_t) 2000)
charlesmn 0:3ac96e360672 250 #define VL53L1_TUNINGPARM_ZONE_CAL_PHASECAL_NUM_SAMPLES_DEFAULT \
charlesmn 0:3ac96e360672 251 ((uint16_t) 16)
charlesmn 0:3ac96e360672 252 #define VL53L1_TUNINGPARM_ZONE_CAL_RANGE_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 253 ((uint32_t) 1000)
charlesmn 0:3ac96e360672 254 #define VL53L1_TUNINGPARM_ZONE_CAL_ZONE_NUM_SAMPLES_DEFAULT \
charlesmn 0:3ac96e360672 255 ((uint16_t) 8)
charlesmn 0:3ac96e360672 256 #define VL53L1_TUNINGPARM_SPADMAP_VCSEL_PERIOD_DEFAULT \
charlesmn 0:3ac96e360672 257 ((uint8_t) 18)
charlesmn 0:3ac96e360672 258 #define VL53L1_TUNINGPARM_SPADMAP_VCSEL_START_DEFAULT \
charlesmn 0:3ac96e360672 259 ((uint8_t) 15)
charlesmn 0:3ac96e360672 260 #define VL53L1_TUNINGPARM_SPADMAP_RATE_LIMIT_MCPS_DEFAULT \
charlesmn 0:3ac96e360672 261 ((uint16_t) 12)
charlesmn 0:3ac96e360672 262 #define VL53L1_TUNINGPARM_LITE_DSS_CONFIG_TARGET_TOTAL_RATE_MCPS_DEFAULT \
charlesmn 0:3ac96e360672 263 ((uint16_t) 2560)
charlesmn 0:3ac96e360672 264 #define VL53L1_TUNINGPARM_RANGING_DSS_CONFIG_TARGET_TOTAL_RATE_MCPS_DEFAULT \
charlesmn 0:3ac96e360672 265 ((uint16_t) 5120)
charlesmn 0:3ac96e360672 266 #define VL53L1_TUNINGPARM_MZ_DSS_CONFIG_TARGET_TOTAL_RATE_MCPS_DEFAULT \
charlesmn 0:3ac96e360672 267 ((uint16_t) 5120)
charlesmn 0:3ac96e360672 268 #define VL53L1_TUNINGPARM_TIMED_DSS_CONFIG_TARGET_TOTAL_RATE_MCPS_DEFAULT \
charlesmn 0:3ac96e360672 269 ((uint16_t) 2560)
charlesmn 0:3ac96e360672 270 #define VL53L1_TUNINGPARM_LITE_PHASECAL_CONFIG_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 271 ((uint32_t) 1000)
charlesmn 0:3ac96e360672 272 #define VL53L1_TUNINGPARM_RANGING_LONG_PHASECAL_CONFIG_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 273 ((uint32_t) 15000)
charlesmn 0:3ac96e360672 274 #define VL53L1_TUNINGPARM_RANGING_MED_PHASECAL_CONFIG_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 275 ((uint32_t) 9000)
charlesmn 0:3ac96e360672 276 #define VL53L1_TUNINGPARM_RANGING_SHORT_PHASECAL_CONFIG_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 277 ((uint32_t) 6000)
charlesmn 0:3ac96e360672 278 #define VL53L1_TUNINGPARM_MZ_LONG_PHASECAL_CONFIG_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 279 ((uint32_t) 15000)
charlesmn 0:3ac96e360672 280 #define VL53L1_TUNINGPARM_MZ_MED_PHASECAL_CONFIG_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 281 ((uint32_t) 9000)
charlesmn 0:3ac96e360672 282 #define VL53L1_TUNINGPARM_MZ_SHORT_PHASECAL_CONFIG_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 283 ((uint32_t) 6000)
charlesmn 0:3ac96e360672 284 #define VL53L1_TUNINGPARM_TIMED_PHASECAL_CONFIG_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 285 ((uint32_t) 1000)
charlesmn 0:3ac96e360672 286 #define VL53L1_TUNINGPARM_LITE_MM_CONFIG_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 287 ((uint32_t) 2000)
charlesmn 0:3ac96e360672 288 #define VL53L1_TUNINGPARM_RANGING_MM_CONFIG_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 289 ((uint32_t) 2000)
charlesmn 0:3ac96e360672 290 #define VL53L1_TUNINGPARM_MZ_MM_CONFIG_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 291 ((uint32_t) 2000)
charlesmn 0:3ac96e360672 292 #define VL53L1_TUNINGPARM_TIMED_MM_CONFIG_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 293 ((uint32_t) 2000)
charlesmn 0:3ac96e360672 294 #define VL53L1_TUNINGPARM_LITE_RANGE_CONFIG_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 295 ((uint32_t) 63000)
charlesmn 0:3ac96e360672 296 #define VL53L1_TUNINGPARM_RANGING_RANGE_CONFIG_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 297 ((uint32_t) 2500)
charlesmn 0:3ac96e360672 298 #define VL53L1_TUNINGPARM_MZ_RANGE_CONFIG_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 299 ((uint32_t) 2500)
charlesmn 0:3ac96e360672 300 #define VL53L1_TUNINGPARM_TIMED_RANGE_CONFIG_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 301 ((uint32_t) 13000)
charlesmn 0:3ac96e360672 302 #define VL53L1_TUNINGPARM_DYNXTALK_SMUDGE_MARGIN_DEFAULT \
charlesmn 0:3ac96e360672 303 ((uint16_t) 512)
charlesmn 0:3ac96e360672 304 #define VL53L1_TUNINGPARM_DYNXTALK_NOISE_MARGIN_DEFAULT \
charlesmn 0:3ac96e360672 305 ((uint32_t) 500)
charlesmn 0:3ac96e360672 306 #define VL53L1_TUNINGPARM_DYNXTALK_XTALK_OFFSET_LIMIT_DEFAULT \
charlesmn 0:3ac96e360672 307 ((uint32_t) 0)
charlesmn 0:3ac96e360672 308 #define VL53L1_TUNINGPARM_DYNXTALK_XTALK_OFFSET_LIMIT_HI_DEFAULT \
charlesmn 0:3ac96e360672 309 ((uint8_t) 0)
charlesmn 0:3ac96e360672 310 #define VL53L1_TUNINGPARM_DYNXTALK_SAMPLE_LIMIT_DEFAULT \
charlesmn 0:3ac96e360672 311 ((uint32_t) 200)
charlesmn 0:3ac96e360672 312 #define VL53L1_TUNINGPARM_DYNXTALK_SINGLE_XTALK_DELTA_DEFAULT \
charlesmn 0:3ac96e360672 313 ((uint32_t) 10240)
charlesmn 0:3ac96e360672 314 #define VL53L1_TUNINGPARM_DYNXTALK_AVERAGED_XTALK_DELTA_DEFAULT \
charlesmn 0:3ac96e360672 315 ((uint32_t) 4096)
charlesmn 0:3ac96e360672 316 #define VL53L1_TUNINGPARM_DYNXTALK_CLIP_LIMIT_DEFAULT \
charlesmn 0:3ac96e360672 317 ((uint32_t) 1046528)
charlesmn 0:3ac96e360672 318 #define VL53L1_TUNINGPARM_DYNXTALK_SCALER_CALC_METHOD_DEFAULT \
charlesmn 0:3ac96e360672 319 ((uint8_t) 0)
charlesmn 0:3ac96e360672 320 #define VL53L1_TUNINGPARM_DYNXTALK_XGRADIENT_SCALER_DEFAULT \
charlesmn 0:3ac96e360672 321 ((int16_t) 256)
charlesmn 0:3ac96e360672 322 #define VL53L1_TUNINGPARM_DYNXTALK_YGRADIENT_SCALER_DEFAULT \
charlesmn 0:3ac96e360672 323 ((int16_t) 256)
charlesmn 0:3ac96e360672 324 #define VL53L1_TUNINGPARM_DYNXTALK_USER_SCALER_SET_DEFAULT \
charlesmn 0:3ac96e360672 325 ((uint8_t) 0)
charlesmn 0:3ac96e360672 326 #define VL53L1_TUNINGPARM_DYNXTALK_SMUDGE_COR_SINGLE_APPLY_DEFAULT \
charlesmn 0:3ac96e360672 327 ((uint8_t) 0)
charlesmn 0:3ac96e360672 328 #define VL53L1_TUNINGPARM_DYNXTALK_XTALK_AMB_THRESHOLD_DEFAULT \
charlesmn 0:3ac96e360672 329 ((uint32_t) 1280)
charlesmn 0:3ac96e360672 330 #define VL53L1_TUNINGPARM_DYNXTALK_NODETECT_AMB_THRESHOLD_KCPS_DEFAULT \
charlesmn 0:3ac96e360672 331 ((uint32_t) 57671680)
charlesmn 0:3ac96e360672 332 #define VL53L1_TUNINGPARM_DYNXTALK_NODETECT_SAMPLE_LIMIT_DEFAULT \
charlesmn 0:3ac96e360672 333 ((uint32_t) 10)
charlesmn 0:3ac96e360672 334 #define VL53L1_TUNINGPARM_DYNXTALK_NODETECT_XTALK_OFFSET_KCPS_DEFAULT \
charlesmn 0:3ac96e360672 335 ((uint32_t) 2048)
charlesmn 0:3ac96e360672 336 #define VL53L1_TUNINGPARM_DYNXTALK_NODETECT_MIN_RANGE_MM_DEFAULT \
charlesmn 0:3ac96e360672 337 ((uint16_t) 900)
charlesmn 0:3ac96e360672 338 #define VL53L1_TUNINGPARM_LOWPOWERAUTO_VHV_LOOP_BOUND_DEFAULT \
charlesmn 0:3ac96e360672 339 ((uint8_t) 3)
charlesmn 0:3ac96e360672 340 #define VL53L1_TUNINGPARM_LOWPOWERAUTO_MM_CONFIG_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 341 ((uint32_t) 1)
charlesmn 0:3ac96e360672 342 #define VL53L1_TUNINGPARM_LOWPOWERAUTO_RANGE_CONFIG_TIMEOUT_US_DEFAULT \
charlesmn 0:3ac96e360672 343 ((uint32_t) 8000)
charlesmn 0:3ac96e360672 344 #define VL53L1_TUNINGPARM_VERY_SHORT_DSS_RATE_MCPS_DEFAULT \
charlesmn 0:3ac96e360672 345 ((uint16_t) 10240)
charlesmn 0:3ac96e360672 346 #define VL53L1_TUNINGPARM_PHASECAL_PATCH_POWER_DEFAULT \
charlesmn 0:3ac96e360672 347 ((uint32_t) 0)
charlesmn 0:3ac96e360672 348 #define VL53L1_TUNINGPARM_HIST_MERGE_DEFAULT \
charlesmn 0:3ac96e360672 349 ((uint8_t) 1)
charlesmn 0:3ac96e360672 350 #define VL53L1_TUNINGPARM_RESET_MERGE_THRESHOLD_DEFAULT \
charlesmn 0:3ac96e360672 351 ((uint32_t) 10000)
charlesmn 0:3ac96e360672 352 #define VL53L1_TUNINGPARM_HIST_MERGE_MAX_SIZE_DEFAULT \
charlesmn 0:3ac96e360672 353 ((uint8_t) 6)
charlesmn 0:3ac96e360672 354 #define VL53L1_TUNINGPARM_DYNXTALK_MAX_SMUDGE_FACTOR_DEFAULT \
charlesmn 0:3ac96e360672 355 ((uint32_t) 2000)
charlesmn 0:3ac96e360672 356 #define VL53L1_TUNINGPARM_UWR_ENABLE_DEFAULT \
charlesmn 0:3ac96e360672 357 ((uint8_t) 1)
charlesmn 0:3ac96e360672 358 #define VL53L1_TUNINGPARM_UWR_MEDIUM_ZONE_1_MIN_DEFAULT \
charlesmn 0:3ac96e360672 359 ((int16_t) 2000)
charlesmn 0:3ac96e360672 360 #define VL53L1_TUNINGPARM_UWR_MEDIUM_ZONE_1_MAX_DEFAULT \
charlesmn 0:3ac96e360672 361 ((int16_t) 2750)
charlesmn 0:3ac96e360672 362 #define VL53L1_TUNINGPARM_UWR_MEDIUM_ZONE_2_MIN_DEFAULT \
charlesmn 0:3ac96e360672 363 ((int16_t) 250)
charlesmn 0:3ac96e360672 364 #define VL53L1_TUNINGPARM_UWR_MEDIUM_ZONE_2_MAX_DEFAULT \
charlesmn 0:3ac96e360672 365 ((int16_t) 1000)
charlesmn 0:3ac96e360672 366 #define VL53L1_TUNINGPARM_UWR_MEDIUM_ZONE_3_MIN_DEFAULT \
charlesmn 0:3ac96e360672 367 ((int16_t) 1250)
charlesmn 0:3ac96e360672 368 #define VL53L1_TUNINGPARM_UWR_MEDIUM_ZONE_3_MAX_DEFAULT \
charlesmn 0:3ac96e360672 369 ((int16_t) 1750)
charlesmn 0:3ac96e360672 370 #define VL53L1_TUNINGPARM_UWR_MEDIUM_ZONE_4_MIN_DEFAULT \
charlesmn 0:3ac96e360672 371 ((int16_t) 1250)
charlesmn 0:3ac96e360672 372 #define VL53L1_TUNINGPARM_UWR_MEDIUM_ZONE_4_MAX_DEFAULT \
charlesmn 0:3ac96e360672 373 ((int16_t) 1750)
charlesmn 0:3ac96e360672 374 #define VL53L1_TUNINGPARM_UWR_MEDIUM_ZONE_5_MIN_DEFAULT \
charlesmn 0:3ac96e360672 375 ((int16_t) -200)
charlesmn 0:3ac96e360672 376 #define VL53L1_TUNINGPARM_UWR_MEDIUM_ZONE_5_MAX_DEFAULT \
charlesmn 0:3ac96e360672 377 ((int16_t) 200)
charlesmn 0:3ac96e360672 378 #define VL53L1_TUNINGPARM_UWR_MEDIUM_ZONE_6_MIN_DEFAULT \
charlesmn 0:3ac96e360672 379 ((int16_t) 250)
charlesmn 0:3ac96e360672 380 #define VL53L1_TUNINGPARM_UWR_MEDIUM_ZONE_6_MAX_DEFAULT \
charlesmn 0:3ac96e360672 381 ((int16_t) 1250)
charlesmn 0:3ac96e360672 382 #define VL53L1_TUNINGPARM_UWR_MEDIUM_CORRECTION_ZONE_1_RANGEA_DEFAULT \
charlesmn 0:3ac96e360672 383 ((int16_t) 2310)
charlesmn 0:3ac96e360672 384 #define VL53L1_TUNINGPARM_UWR_MEDIUM_CORRECTION_ZONE_1_RANGEB_DEFAULT \
charlesmn 0:3ac96e360672 385 ((int16_t) 0)
charlesmn 0:3ac96e360672 386 #define VL53L1_TUNINGPARM_UWR_MEDIUM_CORRECTION_ZONE_2_RANGEA_DEFAULT \
charlesmn 0:3ac96e360672 387 ((int16_t) 2310)
charlesmn 0:3ac96e360672 388 #define VL53L1_TUNINGPARM_UWR_MEDIUM_CORRECTION_ZONE_2_RANGEB_DEFAULT \
charlesmn 0:3ac96e360672 389 ((int16_t) 3100)
charlesmn 0:3ac96e360672 390 #define VL53L1_TUNINGPARM_UWR_MEDIUM_CORRECTION_ZONE_3_RANGEA_DEFAULT \
charlesmn 0:3ac96e360672 391 ((int16_t) 4640)
charlesmn 0:3ac96e360672 392 #define VL53L1_TUNINGPARM_UWR_MEDIUM_CORRECTION_ZONE_3_RANGEB_DEFAULT \
charlesmn 0:3ac96e360672 393 ((int16_t) 3100)
charlesmn 0:3ac96e360672 394 #define VL53L1_TUNINGPARM_UWR_MEDIUM_CORRECTION_ZONE_4_RANGEA_DEFAULT \
charlesmn 0:3ac96e360672 395 ((int16_t) 4640)
charlesmn 0:3ac96e360672 396 #define VL53L1_TUNINGPARM_UWR_MEDIUM_CORRECTION_ZONE_4_RANGEB_DEFAULT \
charlesmn 0:3ac96e360672 397 ((int16_t) 6190)
charlesmn 0:3ac96e360672 398 #define VL53L1_TUNINGPARM_UWR_MEDIUM_CORRECTION_ZONE_5_RANGEA_DEFAULT \
charlesmn 0:3ac96e360672 399 ((int16_t) 0)
charlesmn 0:3ac96e360672 400 #define VL53L1_TUNINGPARM_UWR_MEDIUM_CORRECTION_ZONE_5_RANGEB_DEFAULT \
charlesmn 0:3ac96e360672 401 ((int16_t) 0)
charlesmn 0:3ac96e360672 402 #define VL53L1_TUNINGPARM_UWR_MEDIUM_CORRECTION_ZONE_6_RANGEA_DEFAULT \
charlesmn 0:3ac96e360672 403 ((int16_t) 6960)
charlesmn 0:3ac96e360672 404 #define VL53L1_TUNINGPARM_UWR_MEDIUM_CORRECTION_ZONE_6_RANGEB_DEFAULT \
charlesmn 0:3ac96e360672 405 ((int16_t) 6190)
charlesmn 0:3ac96e360672 406 #define VL53L1_TUNINGPARM_UWR_LONG_ZONE_1_MIN_DEFAULT \
charlesmn 0:3ac96e360672 407 ((int16_t) 250)
charlesmn 0:3ac96e360672 408 #define VL53L1_TUNINGPARM_UWR_LONG_ZONE_1_MAX_DEFAULT \
charlesmn 0:3ac96e360672 409 ((int16_t) 1250)
charlesmn 0:3ac96e360672 410 #define VL53L1_TUNINGPARM_UWR_LONG_ZONE_2_MIN_DEFAULT \
charlesmn 0:3ac96e360672 411 ((int16_t) 3250)
charlesmn 0:3ac96e360672 412 #define VL53L1_TUNINGPARM_UWR_LONG_ZONE_2_MAX_DEFAULT \
charlesmn 0:3ac96e360672 413 ((int16_t) 4500)
charlesmn 0:3ac96e360672 414 #define VL53L1_TUNINGPARM_UWR_LONG_ZONE_3_MIN_DEFAULT \
charlesmn 0:3ac96e360672 415 ((int16_t) -200)
charlesmn 0:3ac96e360672 416 #define VL53L1_TUNINGPARM_UWR_LONG_ZONE_3_MAX_DEFAULT \
charlesmn 0:3ac96e360672 417 ((int16_t) 200)
charlesmn 0:3ac96e360672 418 #define VL53L1_TUNINGPARM_UWR_LONG_ZONE_4_MIN_DEFAULT \
charlesmn 0:3ac96e360672 419 ((int16_t) 2850)
charlesmn 0:3ac96e360672 420 #define VL53L1_TUNINGPARM_UWR_LONG_ZONE_4_MAX_DEFAULT \
charlesmn 0:3ac96e360672 421 ((int16_t) 3300)
charlesmn 0:3ac96e360672 422 #define VL53L1_TUNINGPARM_UWR_LONG_ZONE_5_MIN_DEFAULT \
charlesmn 0:3ac96e360672 423 ((int16_t) 0)
charlesmn 0:3ac96e360672 424 #define VL53L1_TUNINGPARM_UWR_LONG_ZONE_5_MAX_DEFAULT \
charlesmn 0:3ac96e360672 425 ((int16_t) 0)
charlesmn 0:3ac96e360672 426 #define VL53L1_TUNINGPARM_UWR_LONG_CORRECTION_ZONE_1_RANGEA_DEFAULT \
charlesmn 0:3ac96e360672 427 ((int16_t) 3870)
charlesmn 0:3ac96e360672 428 #define VL53L1_TUNINGPARM_UWR_LONG_CORRECTION_ZONE_1_RANGEB_DEFAULT \
charlesmn 0:3ac96e360672 429 ((int16_t) 4650)
charlesmn 0:3ac96e360672 430 #define VL53L1_TUNINGPARM_UWR_LONG_CORRECTION_ZONE_2_RANGEA_DEFAULT \
charlesmn 0:3ac96e360672 431 ((int16_t) 3850)
charlesmn 0:3ac96e360672 432 #define VL53L1_TUNINGPARM_UWR_LONG_CORRECTION_ZONE_2_RANGEB_DEFAULT \
charlesmn 0:3ac96e360672 433 ((int16_t) 0)
charlesmn 0:3ac96e360672 434 #define VL53L1_TUNINGPARM_UWR_LONG_CORRECTION_ZONE_3_RANGEA_DEFAULT \
charlesmn 0:3ac96e360672 435 ((int16_t) 0)
charlesmn 0:3ac96e360672 436 #define VL53L1_TUNINGPARM_UWR_LONG_CORRECTION_ZONE_3_RANGEB_DEFAULT \
charlesmn 0:3ac96e360672 437 ((int16_t) 0)
charlesmn 0:3ac96e360672 438 #define VL53L1_TUNINGPARM_UWR_LONG_CORRECTION_ZONE_4_RANGEA_DEFAULT \
charlesmn 0:3ac96e360672 439 ((int16_t) 7700)
charlesmn 0:3ac96e360672 440 #define VL53L1_TUNINGPARM_UWR_LONG_CORRECTION_ZONE_4_RANGEB_DEFAULT \
charlesmn 0:3ac96e360672 441 ((int16_t) 4640)
charlesmn 0:3ac96e360672 442 #define VL53L1_TUNINGPARM_UWR_LONG_CORRECTION_ZONE_5_RANGEA_DEFAULT \
charlesmn 0:3ac96e360672 443 ((int16_t) 0)
charlesmn 0:3ac96e360672 444 #define VL53L1_TUNINGPARM_UWR_LONG_CORRECTION_ZONE_5_RANGEB_DEFAULT \
charlesmn 0:3ac96e360672 445 ((int16_t) 0)
charlesmn 0:3ac96e360672 446
charlesmn 0:3ac96e360672 447