This is the SparkFun_VL53L1X_Arduino_Library translated into mbed, with some elements of Ian Kilburn's VL6180x mbed library.

Dependents:   Hug2Go_ver_2 Nucleo_rtos_basic_f103rb

Committer:
jvfausto
Date:
Fri Jul 27 19:02:07 2018 +0000
Revision:
6:621552ff1de9
Parent:
0:03b7e8deb3ee
Now begin() is a boolean

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jvfausto 0:03b7e8deb3ee 1 /*******************************************************************************
jvfausto 0:03b7e8deb3ee 2 Copyright (C) 2016, STMicroelectronics International N.V.
jvfausto 0:03b7e8deb3ee 3 All rights reserved.
jvfausto 0:03b7e8deb3ee 4 Redistribution and use in source and binary forms, with or without
jvfausto 0:03b7e8deb3ee 5 modification, are permitted provided that the following conditions are met:
jvfausto 0:03b7e8deb3ee 6 * Redistributions of source code must retain the above copyright
jvfausto 0:03b7e8deb3ee 7 notice, this list of conditions and the following disclaimer.
jvfausto 0:03b7e8deb3ee 8 * Redistributions in binary form must reproduce the above copyright
jvfausto 0:03b7e8deb3ee 9 notice, this list of conditions and the following disclaimer in the
jvfausto 0:03b7e8deb3ee 10 documentation and/or other materials provided with the distribution.
jvfausto 0:03b7e8deb3ee 11 * Neither the name of STMicroelectronics nor the
jvfausto 0:03b7e8deb3ee 12 names of its contributors may be used to endorse or promote products
jvfausto 0:03b7e8deb3ee 13 derived from this software without specific prior written permission.
jvfausto 0:03b7e8deb3ee 14 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
jvfausto 0:03b7e8deb3ee 15 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
jvfausto 0:03b7e8deb3ee 16 WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
jvfausto 0:03b7e8deb3ee 17 NON-INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS ARE DISCLAIMED.
jvfausto 0:03b7e8deb3ee 18 IN NO EVENT SHALL STMICROELECTRONICS INTERNATIONAL N.V. BE LIABLE FOR ANY
jvfausto 0:03b7e8deb3ee 19 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
jvfausto 0:03b7e8deb3ee 20 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
jvfausto 0:03b7e8deb3ee 21 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
jvfausto 0:03b7e8deb3ee 22 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
jvfausto 0:03b7e8deb3ee 23 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
jvfausto 0:03b7e8deb3ee 24 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
jvfausto 0:03b7e8deb3ee 25 ******************************************************************************/
jvfausto 0:03b7e8deb3ee 26
jvfausto 0:03b7e8deb3ee 27 /**
jvfausto 0:03b7e8deb3ee 28 * @file vl53l1_register_map.h
jvfausto 0:03b7e8deb3ee 29 * @brief VL53L1 Register Map definitions
jvfausto 0:03b7e8deb3ee 30 */
jvfausto 0:03b7e8deb3ee 31
jvfausto 0:03b7e8deb3ee 32 #ifndef _VL53L1_REGISTER_MAP_H_
jvfausto 0:03b7e8deb3ee 33 #define _VL53L1_REGISTER_MAP_H_
jvfausto 0:03b7e8deb3ee 34
jvfausto 0:03b7e8deb3ee 35 /** @defgroup VL53L1_register_DefineRegisters_group Define Registers * @brief List of all the defined registers
jvfausto 0:03b7e8deb3ee 36 * @{
jvfausto 0:03b7e8deb3ee 37 */
jvfausto 0:03b7e8deb3ee 38
jvfausto 0:03b7e8deb3ee 39 #define VL53L1_SOFT_RESET 0x0000
jvfausto 0:03b7e8deb3ee 40 /*!<
jvfausto 0:03b7e8deb3ee 41 info: \n
jvfausto 0:03b7e8deb3ee 42 - msb = 0
jvfausto 0:03b7e8deb3ee 43 - lsb = 0
jvfausto 0:03b7e8deb3ee 44 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 45 */
jvfausto 0:03b7e8deb3ee 46 #define VL53L1_I2C_SLAVE__DEVICE_ADDRESS 0x0001
jvfausto 0:03b7e8deb3ee 47 /*!<
jvfausto 0:03b7e8deb3ee 48 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 49 default: EWOK_I2C_DEV_ADDR_DEFAULT \n
jvfausto 0:03b7e8deb3ee 50 info: \n
jvfausto 0:03b7e8deb3ee 51 - msb = 6
jvfausto 0:03b7e8deb3ee 52 - lsb = 0
jvfausto 0:03b7e8deb3ee 53 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 54 groups: \n
jvfausto 0:03b7e8deb3ee 55 ['static_nvm_managed', 'system_config']
jvfausto 0:03b7e8deb3ee 56 fields: \n
jvfausto 0:03b7e8deb3ee 57 - [6:0] = i2c_slave_device_address
jvfausto 0:03b7e8deb3ee 58 */
jvfausto 0:03b7e8deb3ee 59 #define VL53L1_ANA_CONFIG__VHV_REF_SEL_VDDPIX 0x0002
jvfausto 0:03b7e8deb3ee 60 /*!<
jvfausto 0:03b7e8deb3ee 61 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 62 default: 0x02 \n
jvfausto 0:03b7e8deb3ee 63 info: \n
jvfausto 0:03b7e8deb3ee 64 - msb = 3
jvfausto 0:03b7e8deb3ee 65 - lsb = 0
jvfausto 0:03b7e8deb3ee 66 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 67 groups: \n
jvfausto 0:03b7e8deb3ee 68 ['static_nvm_managed', 'analog_config']
jvfausto 0:03b7e8deb3ee 69 fields: \n
jvfausto 0:03b7e8deb3ee 70 - [3:0] = ref_sel_vddpix
jvfausto 0:03b7e8deb3ee 71 */
jvfausto 0:03b7e8deb3ee 72 #define VL53L1_ANA_CONFIG__VHV_REF_SEL_VQUENCH 0x0003
jvfausto 0:03b7e8deb3ee 73 /*!<
jvfausto 0:03b7e8deb3ee 74 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 75 default: 0x10 \n
jvfausto 0:03b7e8deb3ee 76 info: \n
jvfausto 0:03b7e8deb3ee 77 - msb = 6
jvfausto 0:03b7e8deb3ee 78 - lsb = 3
jvfausto 0:03b7e8deb3ee 79 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 80 groups: \n
jvfausto 0:03b7e8deb3ee 81 ['static_nvm_managed', 'analog_config']
jvfausto 0:03b7e8deb3ee 82 fields: \n
jvfausto 0:03b7e8deb3ee 83 - [6:3] = ref_sel_vquench
jvfausto 0:03b7e8deb3ee 84 */
jvfausto 0:03b7e8deb3ee 85 #define VL53L1_ANA_CONFIG__REG_AVDD1V2_SEL 0x0004
jvfausto 0:03b7e8deb3ee 86 /*!<
jvfausto 0:03b7e8deb3ee 87 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 88 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 89 info: \n
jvfausto 0:03b7e8deb3ee 90 - msb = 1
jvfausto 0:03b7e8deb3ee 91 - lsb = 0
jvfausto 0:03b7e8deb3ee 92 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 93 groups: \n
jvfausto 0:03b7e8deb3ee 94 ['static_nvm_managed', 'analog_config']
jvfausto 0:03b7e8deb3ee 95 fields: \n
jvfausto 0:03b7e8deb3ee 96 - [1:0] = reg_avdd1v2_sel
jvfausto 0:03b7e8deb3ee 97 */
jvfausto 0:03b7e8deb3ee 98 #define VL53L1_ANA_CONFIG__FAST_OSC__TRIM 0x0005
jvfausto 0:03b7e8deb3ee 99 /*!<
jvfausto 0:03b7e8deb3ee 100 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 101 default: 0x48 \n
jvfausto 0:03b7e8deb3ee 102 info: \n
jvfausto 0:03b7e8deb3ee 103 - msb = 6
jvfausto 0:03b7e8deb3ee 104 - lsb = 0
jvfausto 0:03b7e8deb3ee 105 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 106 groups: \n
jvfausto 0:03b7e8deb3ee 107 ['static_nvm_managed', 'analog_config']
jvfausto 0:03b7e8deb3ee 108 fields: \n
jvfausto 0:03b7e8deb3ee 109 - [6:0] = fast_osc_trim
jvfausto 0:03b7e8deb3ee 110 */
jvfausto 0:03b7e8deb3ee 111 #define VL53L1_OSC_MEASURED__FAST_OSC__FREQUENCY 0x0006
jvfausto 0:03b7e8deb3ee 112 /*!<
jvfausto 0:03b7e8deb3ee 113 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 114 default: OSC_FREQUENCY \n
jvfausto 0:03b7e8deb3ee 115 info: \n
jvfausto 0:03b7e8deb3ee 116 - msb = 15
jvfausto 0:03b7e8deb3ee 117 - lsb = 0
jvfausto 0:03b7e8deb3ee 118 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 119 groups: \n
jvfausto 0:03b7e8deb3ee 120 ['static_nvm_managed', 'analog_config']
jvfausto 0:03b7e8deb3ee 121 fields: \n
jvfausto 0:03b7e8deb3ee 122 - [15:0] = osc_frequency (fixed point 4.12)
jvfausto 0:03b7e8deb3ee 123 */
jvfausto 0:03b7e8deb3ee 124 #define VL53L1_OSC_MEASURED__FAST_OSC__FREQUENCY_HI 0x0006
jvfausto 0:03b7e8deb3ee 125 /*!<
jvfausto 0:03b7e8deb3ee 126 info: \n
jvfausto 0:03b7e8deb3ee 127 - msb = 0
jvfausto 0:03b7e8deb3ee 128 - lsb = 0
jvfausto 0:03b7e8deb3ee 129 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 130 */
jvfausto 0:03b7e8deb3ee 131 #define VL53L1_OSC_MEASURED__FAST_OSC__FREQUENCY_LO 0x0007
jvfausto 0:03b7e8deb3ee 132 /*!<
jvfausto 0:03b7e8deb3ee 133 info: \n
jvfausto 0:03b7e8deb3ee 134 - msb = 0
jvfausto 0:03b7e8deb3ee 135 - lsb = 0
jvfausto 0:03b7e8deb3ee 136 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 137 */
jvfausto 0:03b7e8deb3ee 138 #define VL53L1_VHV_CONFIG__TIMEOUT_MACROP_LOOP_BOUND 0x0008
jvfausto 0:03b7e8deb3ee 139 /*!<
jvfausto 0:03b7e8deb3ee 140 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 141 default: 0x81 \n
jvfausto 0:03b7e8deb3ee 142 info: \n
jvfausto 0:03b7e8deb3ee 143 - msb = 7
jvfausto 0:03b7e8deb3ee 144 - lsb = 0
jvfausto 0:03b7e8deb3ee 145 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 146 groups: \n
jvfausto 0:03b7e8deb3ee 147 ['static_nvm_managed', 'vhv_config']
jvfausto 0:03b7e8deb3ee 148 fields: \n
jvfausto 0:03b7e8deb3ee 149 - [1:0] = vhv_timeout__macrop
jvfausto 0:03b7e8deb3ee 150 - [7:2] = vhv_loop_bound
jvfausto 0:03b7e8deb3ee 151 */
jvfausto 0:03b7e8deb3ee 152 #define VL53L1_VHV_CONFIG__COUNT_THRESH 0x0009
jvfausto 0:03b7e8deb3ee 153 /*!<
jvfausto 0:03b7e8deb3ee 154 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 155 default: 0x80 \n
jvfausto 0:03b7e8deb3ee 156 info: \n
jvfausto 0:03b7e8deb3ee 157 - msb = 7
jvfausto 0:03b7e8deb3ee 158 - lsb = 0
jvfausto 0:03b7e8deb3ee 159 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 160 groups: \n
jvfausto 0:03b7e8deb3ee 161 ['static_nvm_managed', 'vhv_config']
jvfausto 0:03b7e8deb3ee 162 fields: \n
jvfausto 0:03b7e8deb3ee 163 - [7:0] = vhv_count_thresh
jvfausto 0:03b7e8deb3ee 164 */
jvfausto 0:03b7e8deb3ee 165 #define VL53L1_VHV_CONFIG__OFFSET 0x000A
jvfausto 0:03b7e8deb3ee 166 /*!<
jvfausto 0:03b7e8deb3ee 167 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 168 default: 0x07 \n
jvfausto 0:03b7e8deb3ee 169 info: \n
jvfausto 0:03b7e8deb3ee 170 - msb = 5
jvfausto 0:03b7e8deb3ee 171 - lsb = 0
jvfausto 0:03b7e8deb3ee 172 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 173 groups: \n
jvfausto 0:03b7e8deb3ee 174 ['static_nvm_managed', 'vhv_config']
jvfausto 0:03b7e8deb3ee 175 fields: \n
jvfausto 0:03b7e8deb3ee 176 - [5:0] = vhv_step_val
jvfausto 0:03b7e8deb3ee 177 */
jvfausto 0:03b7e8deb3ee 178 #define VL53L1_VHV_CONFIG__INIT 0x000B
jvfausto 0:03b7e8deb3ee 179 /*!<
jvfausto 0:03b7e8deb3ee 180 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 181 default: 0x20 \n
jvfausto 0:03b7e8deb3ee 182 info: \n
jvfausto 0:03b7e8deb3ee 183 - msb = 7
jvfausto 0:03b7e8deb3ee 184 - lsb = 0
jvfausto 0:03b7e8deb3ee 185 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 186 groups: \n
jvfausto 0:03b7e8deb3ee 187 ['static_nvm_managed', 'vhv_config']
jvfausto 0:03b7e8deb3ee 188 fields: \n
jvfausto 0:03b7e8deb3ee 189 - [7] = vhv0_init_enable
jvfausto 0:03b7e8deb3ee 190 - [5:0] = vhv0_init_value
jvfausto 0:03b7e8deb3ee 191 */
jvfausto 0:03b7e8deb3ee 192 #define VL53L1_GLOBAL_CONFIG__SPAD_ENABLES_REF_0 0x000D
jvfausto 0:03b7e8deb3ee 193 /*!<
jvfausto 0:03b7e8deb3ee 194 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 195 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 196 info: \n
jvfausto 0:03b7e8deb3ee 197 - msb = 7
jvfausto 0:03b7e8deb3ee 198 - lsb = 0
jvfausto 0:03b7e8deb3ee 199 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 200 groups: \n
jvfausto 0:03b7e8deb3ee 201 ['customer_nvm_managed', 'ref_spad_en']
jvfausto 0:03b7e8deb3ee 202 fields: \n
jvfausto 0:03b7e8deb3ee 203 - [7:0] = spad_enables_ref_0
jvfausto 0:03b7e8deb3ee 204 */
jvfausto 0:03b7e8deb3ee 205 #define VL53L1_GLOBAL_CONFIG__SPAD_ENABLES_REF_1 0x000E
jvfausto 0:03b7e8deb3ee 206 /*!<
jvfausto 0:03b7e8deb3ee 207 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 208 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 209 info: \n
jvfausto 0:03b7e8deb3ee 210 - msb = 7
jvfausto 0:03b7e8deb3ee 211 - lsb = 0
jvfausto 0:03b7e8deb3ee 212 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 213 groups: \n
jvfausto 0:03b7e8deb3ee 214 ['customer_nvm_managed', 'ref_spad_en']
jvfausto 0:03b7e8deb3ee 215 fields: \n
jvfausto 0:03b7e8deb3ee 216 - [7:0] = spad_enables_ref_1
jvfausto 0:03b7e8deb3ee 217 */
jvfausto 0:03b7e8deb3ee 218 #define VL53L1_GLOBAL_CONFIG__SPAD_ENABLES_REF_2 0x000F
jvfausto 0:03b7e8deb3ee 219 /*!<
jvfausto 0:03b7e8deb3ee 220 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 221 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 222 info: \n
jvfausto 0:03b7e8deb3ee 223 - msb = 7
jvfausto 0:03b7e8deb3ee 224 - lsb = 0
jvfausto 0:03b7e8deb3ee 225 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 226 groups: \n
jvfausto 0:03b7e8deb3ee 227 ['customer_nvm_managed', 'ref_spad_en']
jvfausto 0:03b7e8deb3ee 228 fields: \n
jvfausto 0:03b7e8deb3ee 229 - [7:0] = spad_enables_ref_2
jvfausto 0:03b7e8deb3ee 230 */
jvfausto 0:03b7e8deb3ee 231 #define VL53L1_GLOBAL_CONFIG__SPAD_ENABLES_REF_3 0x0010
jvfausto 0:03b7e8deb3ee 232 /*!<
jvfausto 0:03b7e8deb3ee 233 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 234 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 235 info: \n
jvfausto 0:03b7e8deb3ee 236 - msb = 7
jvfausto 0:03b7e8deb3ee 237 - lsb = 0
jvfausto 0:03b7e8deb3ee 238 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 239 groups: \n
jvfausto 0:03b7e8deb3ee 240 ['customer_nvm_managed', 'ref_spad_en']
jvfausto 0:03b7e8deb3ee 241 fields: \n
jvfausto 0:03b7e8deb3ee 242 - [7:0] = spad_enables_ref_3
jvfausto 0:03b7e8deb3ee 243 */
jvfausto 0:03b7e8deb3ee 244 #define VL53L1_GLOBAL_CONFIG__SPAD_ENABLES_REF_4 0x0011
jvfausto 0:03b7e8deb3ee 245 /*!<
jvfausto 0:03b7e8deb3ee 246 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 247 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 248 info: \n
jvfausto 0:03b7e8deb3ee 249 - msb = 7
jvfausto 0:03b7e8deb3ee 250 - lsb = 0
jvfausto 0:03b7e8deb3ee 251 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 252 groups: \n
jvfausto 0:03b7e8deb3ee 253 ['customer_nvm_managed', 'ref_spad_en']
jvfausto 0:03b7e8deb3ee 254 fields: \n
jvfausto 0:03b7e8deb3ee 255 - [7:0] = spad_enables_ref_4
jvfausto 0:03b7e8deb3ee 256 */
jvfausto 0:03b7e8deb3ee 257 #define VL53L1_GLOBAL_CONFIG__SPAD_ENABLES_REF_5 0x0012
jvfausto 0:03b7e8deb3ee 258 /*!<
jvfausto 0:03b7e8deb3ee 259 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 260 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 261 info: \n
jvfausto 0:03b7e8deb3ee 262 - msb = 3
jvfausto 0:03b7e8deb3ee 263 - lsb = 0
jvfausto 0:03b7e8deb3ee 264 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 265 groups: \n
jvfausto 0:03b7e8deb3ee 266 ['customer_nvm_managed', 'ref_spad_en']
jvfausto 0:03b7e8deb3ee 267 fields: \n
jvfausto 0:03b7e8deb3ee 268 - [3:0] = spad_enables_ref_5
jvfausto 0:03b7e8deb3ee 269 */
jvfausto 0:03b7e8deb3ee 270 #define VL53L1_GLOBAL_CONFIG__REF_EN_START_SELECT 0x0013
jvfausto 0:03b7e8deb3ee 271 /*!<
jvfausto 0:03b7e8deb3ee 272 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 273 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 274 info: \n
jvfausto 0:03b7e8deb3ee 275 - msb = 7
jvfausto 0:03b7e8deb3ee 276 - lsb = 0
jvfausto 0:03b7e8deb3ee 277 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 278 groups: \n
jvfausto 0:03b7e8deb3ee 279 ['customer_nvm_managed', 'ref_spad_start']
jvfausto 0:03b7e8deb3ee 280 fields: \n
jvfausto 0:03b7e8deb3ee 281 - [7:0] = ref_en_start_select
jvfausto 0:03b7e8deb3ee 282 */
jvfausto 0:03b7e8deb3ee 283 #define VL53L1_REF_SPAD_MAN__NUM_REQUESTED_REF_SPADS 0x0014
jvfausto 0:03b7e8deb3ee 284 /*!<
jvfausto 0:03b7e8deb3ee 285 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 286 default: 0x2C \n
jvfausto 0:03b7e8deb3ee 287 info: \n
jvfausto 0:03b7e8deb3ee 288 - msb = 5
jvfausto 0:03b7e8deb3ee 289 - lsb = 0
jvfausto 0:03b7e8deb3ee 290 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 291 groups: \n
jvfausto 0:03b7e8deb3ee 292 ['customer_nvm_managed', 'ref_spad_config']
jvfausto 0:03b7e8deb3ee 293 fields: \n
jvfausto 0:03b7e8deb3ee 294 - [5:0] = ref_spad_man__num_requested_ref_spad
jvfausto 0:03b7e8deb3ee 295 */
jvfausto 0:03b7e8deb3ee 296 #define VL53L1_REF_SPAD_MAN__REF_LOCATION 0x0015
jvfausto 0:03b7e8deb3ee 297 /*!<
jvfausto 0:03b7e8deb3ee 298 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 299 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 300 info: \n
jvfausto 0:03b7e8deb3ee 301 - msb = 1
jvfausto 0:03b7e8deb3ee 302 - lsb = 0
jvfausto 0:03b7e8deb3ee 303 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 304 groups: \n
jvfausto 0:03b7e8deb3ee 305 ['customer_nvm_managed', 'ref_spad_config']
jvfausto 0:03b7e8deb3ee 306 fields: \n
jvfausto 0:03b7e8deb3ee 307 - [1:0] = ref_spad_man__ref_location
jvfausto 0:03b7e8deb3ee 308 */
jvfausto 0:03b7e8deb3ee 309 #define VL53L1_ALGO__CROSSTALK_COMPENSATION_PLANE_OFFSET_KCPS 0x0016
jvfausto 0:03b7e8deb3ee 310 /*!<
jvfausto 0:03b7e8deb3ee 311 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 312 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 313 info: \n
jvfausto 0:03b7e8deb3ee 314 - msb = 15
jvfausto 0:03b7e8deb3ee 315 - lsb = 0
jvfausto 0:03b7e8deb3ee 316 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 317 groups: \n
jvfausto 0:03b7e8deb3ee 318 ['customer_nvm_managed', 'algo_config']
jvfausto 0:03b7e8deb3ee 319 fields: \n
jvfausto 0:03b7e8deb3ee 320 - [15:0] = crosstalk_compensation_plane_offset_kcps (fixed point 7.9)
jvfausto 0:03b7e8deb3ee 321 */
jvfausto 0:03b7e8deb3ee 322 #define VL53L1_ALGO__CROSSTALK_COMPENSATION_PLANE_OFFSET_KCPS_HI 0x0016
jvfausto 0:03b7e8deb3ee 323 /*!<
jvfausto 0:03b7e8deb3ee 324 info: \n
jvfausto 0:03b7e8deb3ee 325 - msb = 0
jvfausto 0:03b7e8deb3ee 326 - lsb = 0
jvfausto 0:03b7e8deb3ee 327 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 328 */
jvfausto 0:03b7e8deb3ee 329 #define VL53L1_ALGO__CROSSTALK_COMPENSATION_PLANE_OFFSET_KCPS_LO 0x0017
jvfausto 0:03b7e8deb3ee 330 /*!<
jvfausto 0:03b7e8deb3ee 331 info: \n
jvfausto 0:03b7e8deb3ee 332 - msb = 0
jvfausto 0:03b7e8deb3ee 333 - lsb = 0
jvfausto 0:03b7e8deb3ee 334 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 335 */
jvfausto 0:03b7e8deb3ee 336 #define VL53L1_ALGO__CROSSTALK_COMPENSATION_X_PLANE_GRADIENT_KCPS 0x0018
jvfausto 0:03b7e8deb3ee 337 /*!<
jvfausto 0:03b7e8deb3ee 338 type: int16_t \n
jvfausto 0:03b7e8deb3ee 339 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 340 info: \n
jvfausto 0:03b7e8deb3ee 341 - msb = 15
jvfausto 0:03b7e8deb3ee 342 - lsb = 0
jvfausto 0:03b7e8deb3ee 343 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 344 groups: \n
jvfausto 0:03b7e8deb3ee 345 ['customer_nvm_managed', 'algo_config']
jvfausto 0:03b7e8deb3ee 346 fields: \n
jvfausto 0:03b7e8deb3ee 347 - [15:0] = crosstalk_compensation_x_plane_gradient_kcps (fixed point 5.11)
jvfausto 0:03b7e8deb3ee 348 */
jvfausto 0:03b7e8deb3ee 349 #define VL53L1_ALGO__CROSSTALK_COMPENSATION_X_PLANE_GRADIENT_KCPS_HI 0x0018
jvfausto 0:03b7e8deb3ee 350 /*!<
jvfausto 0:03b7e8deb3ee 351 info: \n
jvfausto 0:03b7e8deb3ee 352 - msb = 0
jvfausto 0:03b7e8deb3ee 353 - lsb = 0
jvfausto 0:03b7e8deb3ee 354 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 355 */
jvfausto 0:03b7e8deb3ee 356 #define VL53L1_ALGO__CROSSTALK_COMPENSATION_X_PLANE_GRADIENT_KCPS_LO 0x0019
jvfausto 0:03b7e8deb3ee 357 /*!<
jvfausto 0:03b7e8deb3ee 358 info: \n
jvfausto 0:03b7e8deb3ee 359 - msb = 0
jvfausto 0:03b7e8deb3ee 360 - lsb = 0
jvfausto 0:03b7e8deb3ee 361 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 362 */
jvfausto 0:03b7e8deb3ee 363 #define VL53L1_ALGO__CROSSTALK_COMPENSATION_Y_PLANE_GRADIENT_KCPS 0x001A
jvfausto 0:03b7e8deb3ee 364 /*!<
jvfausto 0:03b7e8deb3ee 365 type: int16_t \n
jvfausto 0:03b7e8deb3ee 366 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 367 info: \n
jvfausto 0:03b7e8deb3ee 368 - msb = 15
jvfausto 0:03b7e8deb3ee 369 - lsb = 0
jvfausto 0:03b7e8deb3ee 370 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 371 groups: \n
jvfausto 0:03b7e8deb3ee 372 ['customer_nvm_managed', 'algo_config']
jvfausto 0:03b7e8deb3ee 373 fields: \n
jvfausto 0:03b7e8deb3ee 374 - [15:0] = crosstalk_compensation_y_plane_gradient_kcps (fixed point 5.11)
jvfausto 0:03b7e8deb3ee 375 */
jvfausto 0:03b7e8deb3ee 376 #define VL53L1_ALGO__CROSSTALK_COMPENSATION_Y_PLANE_GRADIENT_KCPS_HI 0x001A
jvfausto 0:03b7e8deb3ee 377 /*!<
jvfausto 0:03b7e8deb3ee 378 info: \n
jvfausto 0:03b7e8deb3ee 379 - msb = 0
jvfausto 0:03b7e8deb3ee 380 - lsb = 0
jvfausto 0:03b7e8deb3ee 381 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 382 */
jvfausto 0:03b7e8deb3ee 383 #define VL53L1_ALGO__CROSSTALK_COMPENSATION_Y_PLANE_GRADIENT_KCPS_LO 0x001B
jvfausto 0:03b7e8deb3ee 384 /*!<
jvfausto 0:03b7e8deb3ee 385 info: \n
jvfausto 0:03b7e8deb3ee 386 - msb = 0
jvfausto 0:03b7e8deb3ee 387 - lsb = 0
jvfausto 0:03b7e8deb3ee 388 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 389 */
jvfausto 0:03b7e8deb3ee 390 #define VL53L1_REF_SPAD_CHAR__TOTAL_RATE_TARGET_MCPS 0x001C
jvfausto 0:03b7e8deb3ee 391 /*!<
jvfausto 0:03b7e8deb3ee 392 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 393 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 394 info: \n
jvfausto 0:03b7e8deb3ee 395 - msb = 15
jvfausto 0:03b7e8deb3ee 396 - lsb = 0
jvfausto 0:03b7e8deb3ee 397 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 398 groups: \n
jvfausto 0:03b7e8deb3ee 399 ['customer_nvm_managed', 'ref_spad_char']
jvfausto 0:03b7e8deb3ee 400 fields: \n
jvfausto 0:03b7e8deb3ee 401 - [15:0] = ref_spad_char__total_rate_target_mcps (fixed point 9.7)
jvfausto 0:03b7e8deb3ee 402 */
jvfausto 0:03b7e8deb3ee 403 #define VL53L1_REF_SPAD_CHAR__TOTAL_RATE_TARGET_MCPS_HI 0x001C
jvfausto 0:03b7e8deb3ee 404 /*!<
jvfausto 0:03b7e8deb3ee 405 info: \n
jvfausto 0:03b7e8deb3ee 406 - msb = 0
jvfausto 0:03b7e8deb3ee 407 - lsb = 0
jvfausto 0:03b7e8deb3ee 408 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 409 */
jvfausto 0:03b7e8deb3ee 410 #define VL53L1_REF_SPAD_CHAR__TOTAL_RATE_TARGET_MCPS_LO 0x001D
jvfausto 0:03b7e8deb3ee 411 /*!<
jvfausto 0:03b7e8deb3ee 412 info: \n
jvfausto 0:03b7e8deb3ee 413 - msb = 0
jvfausto 0:03b7e8deb3ee 414 - lsb = 0
jvfausto 0:03b7e8deb3ee 415 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 416 */
jvfausto 0:03b7e8deb3ee 417 #define VL53L1_ALGO__PART_TO_PART_RANGE_OFFSET_MM 0x001E
jvfausto 0:03b7e8deb3ee 418 /*!<
jvfausto 0:03b7e8deb3ee 419 type: int16_t \n
jvfausto 0:03b7e8deb3ee 420 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 421 info: \n
jvfausto 0:03b7e8deb3ee 422 - msb = 12
jvfausto 0:03b7e8deb3ee 423 - lsb = 0
jvfausto 0:03b7e8deb3ee 424 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 425 groups: \n
jvfausto 0:03b7e8deb3ee 426 ['customer_nvm_managed', 'algo_config']
jvfausto 0:03b7e8deb3ee 427 fields: \n
jvfausto 0:03b7e8deb3ee 428 - [12:0] = part_to_part_offset_mm (fixed point 11.2)
jvfausto 0:03b7e8deb3ee 429 */
jvfausto 0:03b7e8deb3ee 430 #define VL53L1_ALGO__PART_TO_PART_RANGE_OFFSET_MM_HI 0x001E
jvfausto 0:03b7e8deb3ee 431 /*!<
jvfausto 0:03b7e8deb3ee 432 info: \n
jvfausto 0:03b7e8deb3ee 433 - msb = 0
jvfausto 0:03b7e8deb3ee 434 - lsb = 0
jvfausto 0:03b7e8deb3ee 435 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 436 */
jvfausto 0:03b7e8deb3ee 437 #define VL53L1_ALGO__PART_TO_PART_RANGE_OFFSET_MM_LO 0x001F
jvfausto 0:03b7e8deb3ee 438 /*!<
jvfausto 0:03b7e8deb3ee 439 info: \n
jvfausto 0:03b7e8deb3ee 440 - msb = 0
jvfausto 0:03b7e8deb3ee 441 - lsb = 0
jvfausto 0:03b7e8deb3ee 442 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 443 */
jvfausto 0:03b7e8deb3ee 444 #define VL53L1_MM_CONFIG__INNER_OFFSET_MM 0x0020
jvfausto 0:03b7e8deb3ee 445 /*!<
jvfausto 0:03b7e8deb3ee 446 type: int16_t \n
jvfausto 0:03b7e8deb3ee 447 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 448 info: \n
jvfausto 0:03b7e8deb3ee 449 - msb = 15
jvfausto 0:03b7e8deb3ee 450 - lsb = 0
jvfausto 0:03b7e8deb3ee 451 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 452 groups: \n
jvfausto 0:03b7e8deb3ee 453 ['customer_nvm_managed', 'mm_config']
jvfausto 0:03b7e8deb3ee 454 fields: \n
jvfausto 0:03b7e8deb3ee 455 - [15:0] = mm_config__inner_offset_mm
jvfausto 0:03b7e8deb3ee 456 */
jvfausto 0:03b7e8deb3ee 457 #define VL53L1_MM_CONFIG__INNER_OFFSET_MM_HI 0x0020
jvfausto 0:03b7e8deb3ee 458 /*!<
jvfausto 0:03b7e8deb3ee 459 info: \n
jvfausto 0:03b7e8deb3ee 460 - msb = 0
jvfausto 0:03b7e8deb3ee 461 - lsb = 0
jvfausto 0:03b7e8deb3ee 462 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 463 */
jvfausto 0:03b7e8deb3ee 464 #define VL53L1_MM_CONFIG__INNER_OFFSET_MM_LO 0x0021
jvfausto 0:03b7e8deb3ee 465 /*!<
jvfausto 0:03b7e8deb3ee 466 info: \n
jvfausto 0:03b7e8deb3ee 467 - msb = 0
jvfausto 0:03b7e8deb3ee 468 - lsb = 0
jvfausto 0:03b7e8deb3ee 469 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 470 */
jvfausto 0:03b7e8deb3ee 471 #define VL53L1_MM_CONFIG__OUTER_OFFSET_MM 0x0022
jvfausto 0:03b7e8deb3ee 472 /*!<
jvfausto 0:03b7e8deb3ee 473 type: int16_t \n
jvfausto 0:03b7e8deb3ee 474 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 475 info: \n
jvfausto 0:03b7e8deb3ee 476 - msb = 15
jvfausto 0:03b7e8deb3ee 477 - lsb = 0
jvfausto 0:03b7e8deb3ee 478 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 479 groups: \n
jvfausto 0:03b7e8deb3ee 480 ['customer_nvm_managed', 'mm_config']
jvfausto 0:03b7e8deb3ee 481 fields: \n
jvfausto 0:03b7e8deb3ee 482 - [15:0] = mm_config__outer_offset_mm
jvfausto 0:03b7e8deb3ee 483 */
jvfausto 0:03b7e8deb3ee 484 #define VL53L1_MM_CONFIG__OUTER_OFFSET_MM_HI 0x0022
jvfausto 0:03b7e8deb3ee 485 /*!<
jvfausto 0:03b7e8deb3ee 486 info: \n
jvfausto 0:03b7e8deb3ee 487 - msb = 0
jvfausto 0:03b7e8deb3ee 488 - lsb = 0
jvfausto 0:03b7e8deb3ee 489 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 490 */
jvfausto 0:03b7e8deb3ee 491 #define VL53L1_MM_CONFIG__OUTER_OFFSET_MM_LO 0x0023
jvfausto 0:03b7e8deb3ee 492 /*!<
jvfausto 0:03b7e8deb3ee 493 info: \n
jvfausto 0:03b7e8deb3ee 494 - msb = 0
jvfausto 0:03b7e8deb3ee 495 - lsb = 0
jvfausto 0:03b7e8deb3ee 496 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 497 */
jvfausto 0:03b7e8deb3ee 498 #define VL53L1_DSS_CONFIG__TARGET_TOTAL_RATE_MCPS 0x0024
jvfausto 0:03b7e8deb3ee 499 /*!<
jvfausto 0:03b7e8deb3ee 500 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 501 default: 0x0380 \n
jvfausto 0:03b7e8deb3ee 502 info: \n
jvfausto 0:03b7e8deb3ee 503 - msb = 15
jvfausto 0:03b7e8deb3ee 504 - lsb = 0
jvfausto 0:03b7e8deb3ee 505 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 506 groups: \n
jvfausto 0:03b7e8deb3ee 507 ['static_config', 'dss_config']
jvfausto 0:03b7e8deb3ee 508 fields: \n
jvfausto 0:03b7e8deb3ee 509 - [15:0] = dss_config__target_total_rate_mcps (fixed point 9.7)
jvfausto 0:03b7e8deb3ee 510 */
jvfausto 0:03b7e8deb3ee 511 #define VL53L1_DSS_CONFIG__TARGET_TOTAL_RATE_MCPS_HI 0x0024
jvfausto 0:03b7e8deb3ee 512 /*!<
jvfausto 0:03b7e8deb3ee 513 info: \n
jvfausto 0:03b7e8deb3ee 514 - msb = 0
jvfausto 0:03b7e8deb3ee 515 - lsb = 0
jvfausto 0:03b7e8deb3ee 516 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 517 */
jvfausto 0:03b7e8deb3ee 518 #define VL53L1_DSS_CONFIG__TARGET_TOTAL_RATE_MCPS_LO 0x0025
jvfausto 0:03b7e8deb3ee 519 /*!<
jvfausto 0:03b7e8deb3ee 520 info: \n
jvfausto 0:03b7e8deb3ee 521 - msb = 0
jvfausto 0:03b7e8deb3ee 522 - lsb = 0
jvfausto 0:03b7e8deb3ee 523 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 524 */
jvfausto 0:03b7e8deb3ee 525 #define VL53L1_DEBUG__CTRL 0x0026
jvfausto 0:03b7e8deb3ee 526 /*!<
jvfausto 0:03b7e8deb3ee 527 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 528 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 529 info: \n
jvfausto 0:03b7e8deb3ee 530 - msb = 0
jvfausto 0:03b7e8deb3ee 531 - lsb = 0
jvfausto 0:03b7e8deb3ee 532 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 533 groups: \n
jvfausto 0:03b7e8deb3ee 534 ['static_config', 'debug_config']
jvfausto 0:03b7e8deb3ee 535 fields: \n
jvfausto 0:03b7e8deb3ee 536 - [0] = enable_result_logging
jvfausto 0:03b7e8deb3ee 537 */
jvfausto 0:03b7e8deb3ee 538 #define VL53L1_TEST_MODE__CTRL 0x0027
jvfausto 0:03b7e8deb3ee 539 /*!<
jvfausto 0:03b7e8deb3ee 540 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 541 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 542 info: \n
jvfausto 0:03b7e8deb3ee 543 - msb = 3
jvfausto 0:03b7e8deb3ee 544 - lsb = 0
jvfausto 0:03b7e8deb3ee 545 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 546 groups: \n
jvfausto 0:03b7e8deb3ee 547 ['static_config', 'test_mode_config']
jvfausto 0:03b7e8deb3ee 548 fields: \n
jvfausto 0:03b7e8deb3ee 549 - [3:0] = test_mode__cmd
jvfausto 0:03b7e8deb3ee 550 */
jvfausto 0:03b7e8deb3ee 551 #define VL53L1_CLK_GATING__CTRL 0x0028
jvfausto 0:03b7e8deb3ee 552 /*!<
jvfausto 0:03b7e8deb3ee 553 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 554 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 555 info: \n
jvfausto 0:03b7e8deb3ee 556 - msb = 3
jvfausto 0:03b7e8deb3ee 557 - lsb = 0
jvfausto 0:03b7e8deb3ee 558 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 559 groups: \n
jvfausto 0:03b7e8deb3ee 560 ['static_config', 'clk_config']
jvfausto 0:03b7e8deb3ee 561 fields: \n
jvfausto 0:03b7e8deb3ee 562 - [0] = clk_gate_en__mcu_bank
jvfausto 0:03b7e8deb3ee 563 - [1] = clk_gate_en__mcu_patch_ctrl
jvfausto 0:03b7e8deb3ee 564 - [2] = clk_gate_en__mcu_timers
jvfausto 0:03b7e8deb3ee 565 - [3] = clk_gate_en__mcu_mult_div
jvfausto 0:03b7e8deb3ee 566 */
jvfausto 0:03b7e8deb3ee 567 #define VL53L1_NVM_BIST__CTRL 0x0029
jvfausto 0:03b7e8deb3ee 568 /*!<
jvfausto 0:03b7e8deb3ee 569 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 570 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 571 info: \n
jvfausto 0:03b7e8deb3ee 572 - msb = 4
jvfausto 0:03b7e8deb3ee 573 - lsb = 0
jvfausto 0:03b7e8deb3ee 574 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 575 groups: \n
jvfausto 0:03b7e8deb3ee 576 ['static_config', 'nvm_bist_config']
jvfausto 0:03b7e8deb3ee 577 fields: \n
jvfausto 0:03b7e8deb3ee 578 - [2:0] = nvm_bist__cmd
jvfausto 0:03b7e8deb3ee 579 - [4] = nvm_bist__ctrl
jvfausto 0:03b7e8deb3ee 580 */
jvfausto 0:03b7e8deb3ee 581 #define VL53L1_NVM_BIST__NUM_NVM_WORDS 0x002A
jvfausto 0:03b7e8deb3ee 582 /*!<
jvfausto 0:03b7e8deb3ee 583 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 584 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 585 info: \n
jvfausto 0:03b7e8deb3ee 586 - msb = 6
jvfausto 0:03b7e8deb3ee 587 - lsb = 0
jvfausto 0:03b7e8deb3ee 588 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 589 groups: \n
jvfausto 0:03b7e8deb3ee 590 ['static_config', 'nvm_bist_config']
jvfausto 0:03b7e8deb3ee 591 fields: \n
jvfausto 0:03b7e8deb3ee 592 - [6:0] = nvm_bist__num_nvm_words
jvfausto 0:03b7e8deb3ee 593 */
jvfausto 0:03b7e8deb3ee 594 #define VL53L1_NVM_BIST__START_ADDRESS 0x002B
jvfausto 0:03b7e8deb3ee 595 /*!<
jvfausto 0:03b7e8deb3ee 596 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 597 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 598 info: \n
jvfausto 0:03b7e8deb3ee 599 - msb = 6
jvfausto 0:03b7e8deb3ee 600 - lsb = 0
jvfausto 0:03b7e8deb3ee 601 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 602 groups: \n
jvfausto 0:03b7e8deb3ee 603 ['static_config', 'nvm_bist_config']
jvfausto 0:03b7e8deb3ee 604 fields: \n
jvfausto 0:03b7e8deb3ee 605 - [6:0] = nvm_bist__start_address
jvfausto 0:03b7e8deb3ee 606 */
jvfausto 0:03b7e8deb3ee 607 #define VL53L1_HOST_IF__STATUS 0x002C
jvfausto 0:03b7e8deb3ee 608 /*!<
jvfausto 0:03b7e8deb3ee 609 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 610 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 611 info: \n
jvfausto 0:03b7e8deb3ee 612 - msb = 0
jvfausto 0:03b7e8deb3ee 613 - lsb = 0
jvfausto 0:03b7e8deb3ee 614 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 615 groups: \n
jvfausto 0:03b7e8deb3ee 616 ['static_config', 'system_status']
jvfausto 0:03b7e8deb3ee 617 fields: \n
jvfausto 0:03b7e8deb3ee 618 - [0] = host_interface
jvfausto 0:03b7e8deb3ee 619 */
jvfausto 0:03b7e8deb3ee 620 #define VL53L1_PAD_I2C_HV__CONFIG 0x002D
jvfausto 0:03b7e8deb3ee 621 /*!<
jvfausto 0:03b7e8deb3ee 622 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 623 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 624 info: \n
jvfausto 0:03b7e8deb3ee 625 - msb = 7
jvfausto 0:03b7e8deb3ee 626 - lsb = 0
jvfausto 0:03b7e8deb3ee 627 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 628 groups: \n
jvfausto 0:03b7e8deb3ee 629 ['static_config', 'gpio_config']
jvfausto 0:03b7e8deb3ee 630 fields: \n
jvfausto 0:03b7e8deb3ee 631 - [0] = pad_scl_sda__vmodeint_hv
jvfausto 0:03b7e8deb3ee 632 - [1] = i2c_pad__test_hv
jvfausto 0:03b7e8deb3ee 633 - [2] = pad_scl__fpen_hv
jvfausto 0:03b7e8deb3ee 634 - [4:3] = pad_scl__progdel_hv
jvfausto 0:03b7e8deb3ee 635 - [5] = pad_sda__fpen_hv
jvfausto 0:03b7e8deb3ee 636 - [7:6] = pad_sda__progdel_hv
jvfausto 0:03b7e8deb3ee 637 */
jvfausto 0:03b7e8deb3ee 638 #define VL53L1_PAD_I2C_HV__EXTSUP_CONFIG 0x002E
jvfausto 0:03b7e8deb3ee 639 /*!<
jvfausto 0:03b7e8deb3ee 640 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 641 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 642 info: \n
jvfausto 0:03b7e8deb3ee 643 - msb = 0
jvfausto 0:03b7e8deb3ee 644 - lsb = 0
jvfausto 0:03b7e8deb3ee 645 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 646 groups: \n
jvfausto 0:03b7e8deb3ee 647 ['static_config', 'gpio_config']
jvfausto 0:03b7e8deb3ee 648 fields: \n
jvfausto 0:03b7e8deb3ee 649 - [0] = pad_scl_sda__extsup_hv
jvfausto 0:03b7e8deb3ee 650 */
jvfausto 0:03b7e8deb3ee 651 #define VL53L1_GPIO_HV_PAD__CTRL 0x002F
jvfausto 0:03b7e8deb3ee 652 /*!<
jvfausto 0:03b7e8deb3ee 653 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 654 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 655 info: \n
jvfausto 0:03b7e8deb3ee 656 - msb = 1
jvfausto 0:03b7e8deb3ee 657 - lsb = 0
jvfausto 0:03b7e8deb3ee 658 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 659 groups: \n
jvfausto 0:03b7e8deb3ee 660 ['static_config', 'gpio_config']
jvfausto 0:03b7e8deb3ee 661 fields: \n
jvfausto 0:03b7e8deb3ee 662 - [0] = gpio__extsup_hv
jvfausto 0:03b7e8deb3ee 663 - [1] = gpio__vmodeint_hv
jvfausto 0:03b7e8deb3ee 664 */
jvfausto 0:03b7e8deb3ee 665 #define VL53L1_GPIO_HV_MUX__CTRL 0x0030
jvfausto 0:03b7e8deb3ee 666 /*!<
jvfausto 0:03b7e8deb3ee 667 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 668 default: 0x11 \n
jvfausto 0:03b7e8deb3ee 669 info: \n
jvfausto 0:03b7e8deb3ee 670 - msb = 4
jvfausto 0:03b7e8deb3ee 671 - lsb = 0
jvfausto 0:03b7e8deb3ee 672 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 673 groups: \n
jvfausto 0:03b7e8deb3ee 674 ['static_config', 'gpio_config']
jvfausto 0:03b7e8deb3ee 675 fields: \n
jvfausto 0:03b7e8deb3ee 676 - [3:0] = gpio__mux_select_hv
jvfausto 0:03b7e8deb3ee 677 - [4] = gpio__mux_active_high_hv
jvfausto 0:03b7e8deb3ee 678 */
jvfausto 0:03b7e8deb3ee 679 #define VL53L1_GPIO__TIO_HV_STATUS 0x0031
jvfausto 0:03b7e8deb3ee 680 /*!<
jvfausto 0:03b7e8deb3ee 681 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 682 default: 0x02 \n
jvfausto 0:03b7e8deb3ee 683 info: \n
jvfausto 0:03b7e8deb3ee 684 - msb = 1
jvfausto 0:03b7e8deb3ee 685 - lsb = 0
jvfausto 0:03b7e8deb3ee 686 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 687 groups: \n
jvfausto 0:03b7e8deb3ee 688 ['static_config', 'gpio_config']
jvfausto 0:03b7e8deb3ee 689 fields: \n
jvfausto 0:03b7e8deb3ee 690 - [0] = gpio__tio_hv
jvfausto 0:03b7e8deb3ee 691 - [1] = fresh_out_of_reset
jvfausto 0:03b7e8deb3ee 692 */
jvfausto 0:03b7e8deb3ee 693 #define VL53L1_GPIO__FIO_HV_STATUS 0x0032
jvfausto 0:03b7e8deb3ee 694 /*!<
jvfausto 0:03b7e8deb3ee 695 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 696 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 697 info: \n
jvfausto 0:03b7e8deb3ee 698 - msb = 1
jvfausto 0:03b7e8deb3ee 699 - lsb = 1
jvfausto 0:03b7e8deb3ee 700 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 701 groups: \n
jvfausto 0:03b7e8deb3ee 702 ['static_config', 'gpio_config']
jvfausto 0:03b7e8deb3ee 703 fields: \n
jvfausto 0:03b7e8deb3ee 704 - [1] = gpio__fio_hv
jvfausto 0:03b7e8deb3ee 705 */
jvfausto 0:03b7e8deb3ee 706 #define VL53L1_ANA_CONFIG__SPAD_SEL_PSWIDTH 0x0033
jvfausto 0:03b7e8deb3ee 707 /*!<
jvfausto 0:03b7e8deb3ee 708 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 709 default: 0x02 \n
jvfausto 0:03b7e8deb3ee 710 info: \n
jvfausto 0:03b7e8deb3ee 711 - msb = 2
jvfausto 0:03b7e8deb3ee 712 - lsb = 0
jvfausto 0:03b7e8deb3ee 713 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 714 groups: \n
jvfausto 0:03b7e8deb3ee 715 ['static_config', 'analog_config']
jvfausto 0:03b7e8deb3ee 716 fields: \n
jvfausto 0:03b7e8deb3ee 717 - [2:0] = spad_sel_pswidth
jvfausto 0:03b7e8deb3ee 718 */
jvfausto 0:03b7e8deb3ee 719 #define VL53L1_ANA_CONFIG__VCSEL_PULSE_WIDTH_OFFSET 0x0034
jvfausto 0:03b7e8deb3ee 720 /*!<
jvfausto 0:03b7e8deb3ee 721 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 722 default: 0x08 \n
jvfausto 0:03b7e8deb3ee 723 info: \n
jvfausto 0:03b7e8deb3ee 724 - msb = 4
jvfausto 0:03b7e8deb3ee 725 - lsb = 0
jvfausto 0:03b7e8deb3ee 726 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 727 groups: \n
jvfausto 0:03b7e8deb3ee 728 ['static_config', 'analog_config']
jvfausto 0:03b7e8deb3ee 729 fields: \n
jvfausto 0:03b7e8deb3ee 730 - [4:0] = vcsel_pulse_width_offset (fixed point 1.4)
jvfausto 0:03b7e8deb3ee 731 */
jvfausto 0:03b7e8deb3ee 732 #define VL53L1_ANA_CONFIG__FAST_OSC__CONFIG_CTRL 0x0035
jvfausto 0:03b7e8deb3ee 733 /*!<
jvfausto 0:03b7e8deb3ee 734 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 735 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 736 info: \n
jvfausto 0:03b7e8deb3ee 737 - msb = 0
jvfausto 0:03b7e8deb3ee 738 - lsb = 0
jvfausto 0:03b7e8deb3ee 739 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 740 groups: \n
jvfausto 0:03b7e8deb3ee 741 ['static_config', 'analog_config']
jvfausto 0:03b7e8deb3ee 742 fields: \n
jvfausto 0:03b7e8deb3ee 743 - [0] = osc_config__latch_bypass
jvfausto 0:03b7e8deb3ee 744 */
jvfausto 0:03b7e8deb3ee 745 #define VL53L1_SIGMA_ESTIMATOR__EFFECTIVE_PULSE_WIDTH_NS 0x0036
jvfausto 0:03b7e8deb3ee 746 /*!<
jvfausto 0:03b7e8deb3ee 747 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 748 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 749 info: \n
jvfausto 0:03b7e8deb3ee 750 - msb = 7
jvfausto 0:03b7e8deb3ee 751 - lsb = 0
jvfausto 0:03b7e8deb3ee 752 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 753 groups: \n
jvfausto 0:03b7e8deb3ee 754 ['static_config', 'algo_config']
jvfausto 0:03b7e8deb3ee 755 fields: \n
jvfausto 0:03b7e8deb3ee 756 - [7:0] = sigma_estimator__eff_pulse_width
jvfausto 0:03b7e8deb3ee 757 */
jvfausto 0:03b7e8deb3ee 758 #define VL53L1_SIGMA_ESTIMATOR__EFFECTIVE_AMBIENT_WIDTH_NS 0x0037
jvfausto 0:03b7e8deb3ee 759 /*!<
jvfausto 0:03b7e8deb3ee 760 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 761 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 762 info: \n
jvfausto 0:03b7e8deb3ee 763 - msb = 7
jvfausto 0:03b7e8deb3ee 764 - lsb = 0
jvfausto 0:03b7e8deb3ee 765 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 766 groups: \n
jvfausto 0:03b7e8deb3ee 767 ['static_config', 'algo_config']
jvfausto 0:03b7e8deb3ee 768 fields: \n
jvfausto 0:03b7e8deb3ee 769 - [7:0] = sigma_estimator__eff_ambient_width
jvfausto 0:03b7e8deb3ee 770 */
jvfausto 0:03b7e8deb3ee 771 #define VL53L1_SIGMA_ESTIMATOR__SIGMA_REF_MM 0x0038
jvfausto 0:03b7e8deb3ee 772 /*!<
jvfausto 0:03b7e8deb3ee 773 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 774 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 775 info: \n
jvfausto 0:03b7e8deb3ee 776 - msb = 7
jvfausto 0:03b7e8deb3ee 777 - lsb = 0
jvfausto 0:03b7e8deb3ee 778 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 779 groups: \n
jvfausto 0:03b7e8deb3ee 780 ['static_config', 'algo_config']
jvfausto 0:03b7e8deb3ee 781 fields: \n
jvfausto 0:03b7e8deb3ee 782 - [7:0] = sigma_estimator__sigma_ref
jvfausto 0:03b7e8deb3ee 783 */
jvfausto 0:03b7e8deb3ee 784 #define VL53L1_ALGO__CROSSTALK_COMPENSATION_VALID_HEIGHT_MM 0x0039
jvfausto 0:03b7e8deb3ee 785 /*!<
jvfausto 0:03b7e8deb3ee 786 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 787 default: 0x14 \n
jvfausto 0:03b7e8deb3ee 788 info: \n
jvfausto 0:03b7e8deb3ee 789 - msb = 7
jvfausto 0:03b7e8deb3ee 790 - lsb = 0
jvfausto 0:03b7e8deb3ee 791 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 792 groups: \n
jvfausto 0:03b7e8deb3ee 793 ['static_config', 'algo_config']
jvfausto 0:03b7e8deb3ee 794 fields: \n
jvfausto 0:03b7e8deb3ee 795 - [7:0] = crosstalk_compensation_valid_height_mm
jvfausto 0:03b7e8deb3ee 796 */
jvfausto 0:03b7e8deb3ee 797 #define VL53L1_SPARE_HOST_CONFIG__STATIC_CONFIG_SPARE_0 0x003A
jvfausto 0:03b7e8deb3ee 798 /*!<
jvfausto 0:03b7e8deb3ee 799 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 800 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 801 info: \n
jvfausto 0:03b7e8deb3ee 802 - msb = 7
jvfausto 0:03b7e8deb3ee 803 - lsb = 0
jvfausto 0:03b7e8deb3ee 804 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 805 groups: \n
jvfausto 0:03b7e8deb3ee 806 ['static_config', 'algo_config']
jvfausto 0:03b7e8deb3ee 807 fields: \n
jvfausto 0:03b7e8deb3ee 808 - [7:0] = static_config_spare_0
jvfausto 0:03b7e8deb3ee 809 */
jvfausto 0:03b7e8deb3ee 810 #define VL53L1_SPARE_HOST_CONFIG__STATIC_CONFIG_SPARE_1 0x003B
jvfausto 0:03b7e8deb3ee 811 /*!<
jvfausto 0:03b7e8deb3ee 812 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 813 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 814 info: \n
jvfausto 0:03b7e8deb3ee 815 - msb = 7
jvfausto 0:03b7e8deb3ee 816 - lsb = 0
jvfausto 0:03b7e8deb3ee 817 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 818 groups: \n
jvfausto 0:03b7e8deb3ee 819 ['static_config', 'algo_config']
jvfausto 0:03b7e8deb3ee 820 fields: \n
jvfausto 0:03b7e8deb3ee 821 - [7:0] = static_config_spare_1
jvfausto 0:03b7e8deb3ee 822 */
jvfausto 0:03b7e8deb3ee 823 #define VL53L1_ALGO__RANGE_IGNORE_THRESHOLD_MCPS 0x003C
jvfausto 0:03b7e8deb3ee 824 /*!<
jvfausto 0:03b7e8deb3ee 825 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 826 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 827 info: \n
jvfausto 0:03b7e8deb3ee 828 - msb = 15
jvfausto 0:03b7e8deb3ee 829 - lsb = 0
jvfausto 0:03b7e8deb3ee 830 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 831 groups: \n
jvfausto 0:03b7e8deb3ee 832 ['static_config', 'algo_config']
jvfausto 0:03b7e8deb3ee 833 fields: \n
jvfausto 0:03b7e8deb3ee 834 - [15:0] = range_ignore_thresh_mcps (fixed point 3.13)
jvfausto 0:03b7e8deb3ee 835 */
jvfausto 0:03b7e8deb3ee 836 #define VL53L1_ALGO__RANGE_IGNORE_THRESHOLD_MCPS_HI 0x003C
jvfausto 0:03b7e8deb3ee 837 /*!<
jvfausto 0:03b7e8deb3ee 838 info: \n
jvfausto 0:03b7e8deb3ee 839 - msb = 0
jvfausto 0:03b7e8deb3ee 840 - lsb = 0
jvfausto 0:03b7e8deb3ee 841 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 842 */
jvfausto 0:03b7e8deb3ee 843 #define VL53L1_ALGO__RANGE_IGNORE_THRESHOLD_MCPS_LO 0x003D
jvfausto 0:03b7e8deb3ee 844 /*!<
jvfausto 0:03b7e8deb3ee 845 info: \n
jvfausto 0:03b7e8deb3ee 846 - msb = 0
jvfausto 0:03b7e8deb3ee 847 - lsb = 0
jvfausto 0:03b7e8deb3ee 848 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 849 */
jvfausto 0:03b7e8deb3ee 850 #define VL53L1_ALGO__RANGE_IGNORE_VALID_HEIGHT_MM 0x003E
jvfausto 0:03b7e8deb3ee 851 /*!<
jvfausto 0:03b7e8deb3ee 852 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 853 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 854 info: \n
jvfausto 0:03b7e8deb3ee 855 - msb = 7
jvfausto 0:03b7e8deb3ee 856 - lsb = 0
jvfausto 0:03b7e8deb3ee 857 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 858 groups: \n
jvfausto 0:03b7e8deb3ee 859 ['static_config', 'algo_config']
jvfausto 0:03b7e8deb3ee 860 fields: \n
jvfausto 0:03b7e8deb3ee 861 - [7:0] = range_ignore_height_mm
jvfausto 0:03b7e8deb3ee 862 */
jvfausto 0:03b7e8deb3ee 863 #define VL53L1_ALGO__RANGE_MIN_CLIP 0x003F
jvfausto 0:03b7e8deb3ee 864 /*!<
jvfausto 0:03b7e8deb3ee 865 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 866 default: 0x8D \n
jvfausto 0:03b7e8deb3ee 867 info: \n
jvfausto 0:03b7e8deb3ee 868 - msb = 7
jvfausto 0:03b7e8deb3ee 869 - lsb = 0
jvfausto 0:03b7e8deb3ee 870 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 871 groups: \n
jvfausto 0:03b7e8deb3ee 872 ['static_config', 'algo_config']
jvfausto 0:03b7e8deb3ee 873 fields: \n
jvfausto 0:03b7e8deb3ee 874 - [0] = algo__range_min_clip_enable
jvfausto 0:03b7e8deb3ee 875 - [7:1] = algo__range_min_clip_value_mm
jvfausto 0:03b7e8deb3ee 876 */
jvfausto 0:03b7e8deb3ee 877 #define VL53L1_ALGO__CONSISTENCY_CHECK__TOLERANCE 0x0040
jvfausto 0:03b7e8deb3ee 878 /*!<
jvfausto 0:03b7e8deb3ee 879 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 880 default: 0x08 \n
jvfausto 0:03b7e8deb3ee 881 info: \n
jvfausto 0:03b7e8deb3ee 882 - msb = 3
jvfausto 0:03b7e8deb3ee 883 - lsb = 0
jvfausto 0:03b7e8deb3ee 884 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 885 groups: \n
jvfausto 0:03b7e8deb3ee 886 ['static_config', 'algo_config']
jvfausto 0:03b7e8deb3ee 887 fields: \n
jvfausto 0:03b7e8deb3ee 888 - [3:0] = consistency_check_tolerance (fixed point 1.3)
jvfausto 0:03b7e8deb3ee 889 */
jvfausto 0:03b7e8deb3ee 890 #define VL53L1_SPARE_HOST_CONFIG__STATIC_CONFIG_SPARE_2 0x0041
jvfausto 0:03b7e8deb3ee 891 /*!<
jvfausto 0:03b7e8deb3ee 892 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 893 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 894 info: \n
jvfausto 0:03b7e8deb3ee 895 - msb = 7
jvfausto 0:03b7e8deb3ee 896 - lsb = 0
jvfausto 0:03b7e8deb3ee 897 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 898 groups: \n
jvfausto 0:03b7e8deb3ee 899 ['static_config', 'algo_config']
jvfausto 0:03b7e8deb3ee 900 fields: \n
jvfausto 0:03b7e8deb3ee 901 - [7:0] = static_config_spare_2
jvfausto 0:03b7e8deb3ee 902 */
jvfausto 0:03b7e8deb3ee 903 #define VL53L1_SD_CONFIG__RESET_STAGES_MSB 0x0042
jvfausto 0:03b7e8deb3ee 904 /*!<
jvfausto 0:03b7e8deb3ee 905 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 906 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 907 info: \n
jvfausto 0:03b7e8deb3ee 908 - msb = 3
jvfausto 0:03b7e8deb3ee 909 - lsb = 0
jvfausto 0:03b7e8deb3ee 910 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 911 groups: \n
jvfausto 0:03b7e8deb3ee 912 ['static_config', 'sigmadelta_config']
jvfausto 0:03b7e8deb3ee 913 fields: \n
jvfausto 0:03b7e8deb3ee 914 - [3:0] = loop_init__clear_stage
jvfausto 0:03b7e8deb3ee 915 */
jvfausto 0:03b7e8deb3ee 916 #define VL53L1_SD_CONFIG__RESET_STAGES_LSB 0x0043
jvfausto 0:03b7e8deb3ee 917 /*!<
jvfausto 0:03b7e8deb3ee 918 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 919 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 920 info: \n
jvfausto 0:03b7e8deb3ee 921 - msb = 7
jvfausto 0:03b7e8deb3ee 922 - lsb = 0
jvfausto 0:03b7e8deb3ee 923 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 924 groups: \n
jvfausto 0:03b7e8deb3ee 925 ['static_config', 'sigmadelta_config']
jvfausto 0:03b7e8deb3ee 926 fields: \n
jvfausto 0:03b7e8deb3ee 927 - [7:4] = accum_reset__clear_stage
jvfausto 0:03b7e8deb3ee 928 - [3:0] = count_reset__clear_stage
jvfausto 0:03b7e8deb3ee 929 */
jvfausto 0:03b7e8deb3ee 930 #define VL53L1_GPH_CONFIG__STREAM_COUNT_UPDATE_VALUE 0x0044
jvfausto 0:03b7e8deb3ee 931 /*!<
jvfausto 0:03b7e8deb3ee 932 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 933 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 934 info: \n
jvfausto 0:03b7e8deb3ee 935 - msb = 7
jvfausto 0:03b7e8deb3ee 936 - lsb = 0
jvfausto 0:03b7e8deb3ee 937 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 938 groups: \n
jvfausto 0:03b7e8deb3ee 939 ['general_config', 'roi_config']
jvfausto 0:03b7e8deb3ee 940 fields: \n
jvfausto 0:03b7e8deb3ee 941 - [7:0] = stream_count_update_value
jvfausto 0:03b7e8deb3ee 942 */
jvfausto 0:03b7e8deb3ee 943 #define VL53L1_GLOBAL_CONFIG__STREAM_DIVIDER 0x0045
jvfausto 0:03b7e8deb3ee 944 /*!<
jvfausto 0:03b7e8deb3ee 945 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 946 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 947 info: \n
jvfausto 0:03b7e8deb3ee 948 - msb = 7
jvfausto 0:03b7e8deb3ee 949 - lsb = 0
jvfausto 0:03b7e8deb3ee 950 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 951 groups: \n
jvfausto 0:03b7e8deb3ee 952 ['general_config', 'roi_config']
jvfausto 0:03b7e8deb3ee 953 fields: \n
jvfausto 0:03b7e8deb3ee 954 - [7:0] = stream_count_internal_div
jvfausto 0:03b7e8deb3ee 955 */
jvfausto 0:03b7e8deb3ee 956 #define VL53L1_SYSTEM__INTERRUPT_CONFIG_GPIO 0x0046
jvfausto 0:03b7e8deb3ee 957 /*!<
jvfausto 0:03b7e8deb3ee 958 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 959 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 960 info: \n
jvfausto 0:03b7e8deb3ee 961 - msb = 7
jvfausto 0:03b7e8deb3ee 962 - lsb = 0
jvfausto 0:03b7e8deb3ee 963 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 964 groups: \n
jvfausto 0:03b7e8deb3ee 965 ['general_config', 'gph_config']
jvfausto 0:03b7e8deb3ee 966 fields: \n
jvfausto 0:03b7e8deb3ee 967 - [1:0] = int_mode_distance
jvfausto 0:03b7e8deb3ee 968 - [3:2] = int_mode_rate
jvfausto 0:03b7e8deb3ee 969 - [4] = int_spare
jvfausto 0:03b7e8deb3ee 970 - [5] = int_new_measure_ready
jvfausto 0:03b7e8deb3ee 971 - [6] = int_no_target_en
jvfausto 0:03b7e8deb3ee 972 - [7] = int_combined_mode
jvfausto 0:03b7e8deb3ee 973 */
jvfausto 0:03b7e8deb3ee 974 #define VL53L1_CAL_CONFIG__VCSEL_START 0x0047
jvfausto 0:03b7e8deb3ee 975 /*!<
jvfausto 0:03b7e8deb3ee 976 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 977 default: 0x0B \n
jvfausto 0:03b7e8deb3ee 978 info: \n
jvfausto 0:03b7e8deb3ee 979 - msb = 6
jvfausto 0:03b7e8deb3ee 980 - lsb = 0
jvfausto 0:03b7e8deb3ee 981 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 982 groups: \n
jvfausto 0:03b7e8deb3ee 983 ['general_config', 'cal_config']
jvfausto 0:03b7e8deb3ee 984 fields: \n
jvfausto 0:03b7e8deb3ee 985 - [6:0] = cal_config__vcsel_start
jvfausto 0:03b7e8deb3ee 986 */
jvfausto 0:03b7e8deb3ee 987 #define VL53L1_CAL_CONFIG__REPEAT_RATE 0x0048
jvfausto 0:03b7e8deb3ee 988 /*!<
jvfausto 0:03b7e8deb3ee 989 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 990 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 991 info: \n
jvfausto 0:03b7e8deb3ee 992 - msb = 11
jvfausto 0:03b7e8deb3ee 993 - lsb = 0
jvfausto 0:03b7e8deb3ee 994 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 995 groups: \n
jvfausto 0:03b7e8deb3ee 996 ['general_config', 'cal_config']
jvfausto 0:03b7e8deb3ee 997 fields: \n
jvfausto 0:03b7e8deb3ee 998 - [11:0] = cal_config__repeat_rate
jvfausto 0:03b7e8deb3ee 999 */
jvfausto 0:03b7e8deb3ee 1000 #define VL53L1_CAL_CONFIG__REPEAT_RATE_HI 0x0048
jvfausto 0:03b7e8deb3ee 1001 /*!<
jvfausto 0:03b7e8deb3ee 1002 info: \n
jvfausto 0:03b7e8deb3ee 1003 - msb = 0
jvfausto 0:03b7e8deb3ee 1004 - lsb = 0
jvfausto 0:03b7e8deb3ee 1005 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1006 */
jvfausto 0:03b7e8deb3ee 1007 #define VL53L1_CAL_CONFIG__REPEAT_RATE_LO 0x0049
jvfausto 0:03b7e8deb3ee 1008 /*!<
jvfausto 0:03b7e8deb3ee 1009 info: \n
jvfausto 0:03b7e8deb3ee 1010 - msb = 0
jvfausto 0:03b7e8deb3ee 1011 - lsb = 0
jvfausto 0:03b7e8deb3ee 1012 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1013 */
jvfausto 0:03b7e8deb3ee 1014 #define VL53L1_GLOBAL_CONFIG__VCSEL_WIDTH 0x004A
jvfausto 0:03b7e8deb3ee 1015 /*!<
jvfausto 0:03b7e8deb3ee 1016 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1017 default: 0x02 \n
jvfausto 0:03b7e8deb3ee 1018 info: \n
jvfausto 0:03b7e8deb3ee 1019 - msb = 6
jvfausto 0:03b7e8deb3ee 1020 - lsb = 0
jvfausto 0:03b7e8deb3ee 1021 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1022 groups: \n
jvfausto 0:03b7e8deb3ee 1023 ['general_config', 'global_config']
jvfausto 0:03b7e8deb3ee 1024 fields: \n
jvfausto 0:03b7e8deb3ee 1025 - [6:0] = global_config__vcsel_width
jvfausto 0:03b7e8deb3ee 1026 */
jvfausto 0:03b7e8deb3ee 1027 #define VL53L1_PHASECAL_CONFIG__TIMEOUT_MACROP 0x004B
jvfausto 0:03b7e8deb3ee 1028 /*!<
jvfausto 0:03b7e8deb3ee 1029 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1030 default: 0x04 \n
jvfausto 0:03b7e8deb3ee 1031 info: \n
jvfausto 0:03b7e8deb3ee 1032 - msb = 7
jvfausto 0:03b7e8deb3ee 1033 - lsb = 0
jvfausto 0:03b7e8deb3ee 1034 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1035 groups: \n
jvfausto 0:03b7e8deb3ee 1036 ['general_config', 'phasecal_config']
jvfausto 0:03b7e8deb3ee 1037 fields: \n
jvfausto 0:03b7e8deb3ee 1038 - [7:0] = phasecal_config__timeout_macrop
jvfausto 0:03b7e8deb3ee 1039 */
jvfausto 0:03b7e8deb3ee 1040 #define VL53L1_PHASECAL_CONFIG__TARGET 0x004C
jvfausto 0:03b7e8deb3ee 1041 /*!<
jvfausto 0:03b7e8deb3ee 1042 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1043 default: 0x21 \n
jvfausto 0:03b7e8deb3ee 1044 info: \n
jvfausto 0:03b7e8deb3ee 1045 - msb = 7
jvfausto 0:03b7e8deb3ee 1046 - lsb = 0
jvfausto 0:03b7e8deb3ee 1047 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1048 groups: \n
jvfausto 0:03b7e8deb3ee 1049 ['general_config', 'phasecal_config']
jvfausto 0:03b7e8deb3ee 1050 fields: \n
jvfausto 0:03b7e8deb3ee 1051 - [7:0] = algo_phasecal_lim
jvfausto 0:03b7e8deb3ee 1052 */
jvfausto 0:03b7e8deb3ee 1053 #define VL53L1_PHASECAL_CONFIG__OVERRIDE 0x004D
jvfausto 0:03b7e8deb3ee 1054 /*!<
jvfausto 0:03b7e8deb3ee 1055 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1056 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 1057 info: \n
jvfausto 0:03b7e8deb3ee 1058 - msb = 0
jvfausto 0:03b7e8deb3ee 1059 - lsb = 0
jvfausto 0:03b7e8deb3ee 1060 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1061 groups: \n
jvfausto 0:03b7e8deb3ee 1062 ['general_config', 'phasecal_config']
jvfausto 0:03b7e8deb3ee 1063 fields: \n
jvfausto 0:03b7e8deb3ee 1064 - [0] = phasecal_config__override
jvfausto 0:03b7e8deb3ee 1065 */
jvfausto 0:03b7e8deb3ee 1066 #define VL53L1_DSS_CONFIG__ROI_MODE_CONTROL 0x004F
jvfausto 0:03b7e8deb3ee 1067 /*!<
jvfausto 0:03b7e8deb3ee 1068 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1069 default: 0x01 \n
jvfausto 0:03b7e8deb3ee 1070 info: \n
jvfausto 0:03b7e8deb3ee 1071 - msb = 2
jvfausto 0:03b7e8deb3ee 1072 - lsb = 0
jvfausto 0:03b7e8deb3ee 1073 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1074 groups: \n
jvfausto 0:03b7e8deb3ee 1075 ['general_config', 'dss_config']
jvfausto 0:03b7e8deb3ee 1076 fields: \n
jvfausto 0:03b7e8deb3ee 1077 - [1:0] = dss_config__input_mode
jvfausto 0:03b7e8deb3ee 1078 - [2] = calculate_roi_enable
jvfausto 0:03b7e8deb3ee 1079 */
jvfausto 0:03b7e8deb3ee 1080 #define VL53L1_SYSTEM__THRESH_RATE_HIGH 0x0050
jvfausto 0:03b7e8deb3ee 1081 /*!<
jvfausto 0:03b7e8deb3ee 1082 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 1083 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 1084 info: \n
jvfausto 0:03b7e8deb3ee 1085 - msb = 15
jvfausto 0:03b7e8deb3ee 1086 - lsb = 0
jvfausto 0:03b7e8deb3ee 1087 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 1088 groups: \n
jvfausto 0:03b7e8deb3ee 1089 ['general_config', 'gph_config']
jvfausto 0:03b7e8deb3ee 1090 fields: \n
jvfausto 0:03b7e8deb3ee 1091 - [15:0] = thresh_rate_high (fixed point 9.7)
jvfausto 0:03b7e8deb3ee 1092 */
jvfausto 0:03b7e8deb3ee 1093 #define VL53L1_SYSTEM__THRESH_RATE_HIGH_HI 0x0050
jvfausto 0:03b7e8deb3ee 1094 /*!<
jvfausto 0:03b7e8deb3ee 1095 info: \n
jvfausto 0:03b7e8deb3ee 1096 - msb = 0
jvfausto 0:03b7e8deb3ee 1097 - lsb = 0
jvfausto 0:03b7e8deb3ee 1098 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1099 */
jvfausto 0:03b7e8deb3ee 1100 #define VL53L1_SYSTEM__THRESH_RATE_HIGH_LO 0x0051
jvfausto 0:03b7e8deb3ee 1101 /*!<
jvfausto 0:03b7e8deb3ee 1102 info: \n
jvfausto 0:03b7e8deb3ee 1103 - msb = 0
jvfausto 0:03b7e8deb3ee 1104 - lsb = 0
jvfausto 0:03b7e8deb3ee 1105 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1106 */
jvfausto 0:03b7e8deb3ee 1107 #define VL53L1_SYSTEM__THRESH_RATE_LOW 0x0052
jvfausto 0:03b7e8deb3ee 1108 /*!<
jvfausto 0:03b7e8deb3ee 1109 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 1110 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 1111 info: \n
jvfausto 0:03b7e8deb3ee 1112 - msb = 15
jvfausto 0:03b7e8deb3ee 1113 - lsb = 0
jvfausto 0:03b7e8deb3ee 1114 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 1115 groups: \n
jvfausto 0:03b7e8deb3ee 1116 ['general_config', 'gph_config']
jvfausto 0:03b7e8deb3ee 1117 fields: \n
jvfausto 0:03b7e8deb3ee 1118 - [15:0] = thresh_rate_low (fixed point 9.7)
jvfausto 0:03b7e8deb3ee 1119 */
jvfausto 0:03b7e8deb3ee 1120 #define VL53L1_SYSTEM__THRESH_RATE_LOW_HI 0x0052
jvfausto 0:03b7e8deb3ee 1121 /*!<
jvfausto 0:03b7e8deb3ee 1122 info: \n
jvfausto 0:03b7e8deb3ee 1123 - msb = 0
jvfausto 0:03b7e8deb3ee 1124 - lsb = 0
jvfausto 0:03b7e8deb3ee 1125 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1126 */
jvfausto 0:03b7e8deb3ee 1127 #define VL53L1_SYSTEM__THRESH_RATE_LOW_LO 0x0053
jvfausto 0:03b7e8deb3ee 1128 /*!<
jvfausto 0:03b7e8deb3ee 1129 info: \n
jvfausto 0:03b7e8deb3ee 1130 - msb = 0
jvfausto 0:03b7e8deb3ee 1131 - lsb = 0
jvfausto 0:03b7e8deb3ee 1132 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1133 */
jvfausto 0:03b7e8deb3ee 1134 #define VL53L1_DSS_CONFIG__MANUAL_EFFECTIVE_SPADS_SELECT 0x0054
jvfausto 0:03b7e8deb3ee 1135 /*!<
jvfausto 0:03b7e8deb3ee 1136 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 1137 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 1138 info: \n
jvfausto 0:03b7e8deb3ee 1139 - msb = 15
jvfausto 0:03b7e8deb3ee 1140 - lsb = 0
jvfausto 0:03b7e8deb3ee 1141 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 1142 groups: \n
jvfausto 0:03b7e8deb3ee 1143 ['general_config', 'dss_config']
jvfausto 0:03b7e8deb3ee 1144 fields: \n
jvfausto 0:03b7e8deb3ee 1145 - [15:0] = dss_config__manual_effective_spads_select
jvfausto 0:03b7e8deb3ee 1146 */
jvfausto 0:03b7e8deb3ee 1147 #define VL53L1_DSS_CONFIG__MANUAL_EFFECTIVE_SPADS_SELECT_HI 0x0054
jvfausto 0:03b7e8deb3ee 1148 /*!<
jvfausto 0:03b7e8deb3ee 1149 info: \n
jvfausto 0:03b7e8deb3ee 1150 - msb = 0
jvfausto 0:03b7e8deb3ee 1151 - lsb = 0
jvfausto 0:03b7e8deb3ee 1152 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1153 */
jvfausto 0:03b7e8deb3ee 1154 #define VL53L1_DSS_CONFIG__MANUAL_EFFECTIVE_SPADS_SELECT_LO 0x0055
jvfausto 0:03b7e8deb3ee 1155 /*!<
jvfausto 0:03b7e8deb3ee 1156 info: \n
jvfausto 0:03b7e8deb3ee 1157 - msb = 0
jvfausto 0:03b7e8deb3ee 1158 - lsb = 0
jvfausto 0:03b7e8deb3ee 1159 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1160 */
jvfausto 0:03b7e8deb3ee 1161 #define VL53L1_DSS_CONFIG__MANUAL_BLOCK_SELECT 0x0056
jvfausto 0:03b7e8deb3ee 1162 /*!<
jvfausto 0:03b7e8deb3ee 1163 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1164 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 1165 info: \n
jvfausto 0:03b7e8deb3ee 1166 - msb = 7
jvfausto 0:03b7e8deb3ee 1167 - lsb = 0
jvfausto 0:03b7e8deb3ee 1168 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1169 groups: \n
jvfausto 0:03b7e8deb3ee 1170 ['general_config', 'dss_config']
jvfausto 0:03b7e8deb3ee 1171 fields: \n
jvfausto 0:03b7e8deb3ee 1172 - [7:0] = dss_config__manual_block_select
jvfausto 0:03b7e8deb3ee 1173 */
jvfausto 0:03b7e8deb3ee 1174 #define VL53L1_DSS_CONFIG__APERTURE_ATTENUATION 0x0057
jvfausto 0:03b7e8deb3ee 1175 /*!<
jvfausto 0:03b7e8deb3ee 1176 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1177 default: 0x33 \n
jvfausto 0:03b7e8deb3ee 1178 info: \n
jvfausto 0:03b7e8deb3ee 1179 - msb = 7
jvfausto 0:03b7e8deb3ee 1180 - lsb = 0
jvfausto 0:03b7e8deb3ee 1181 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1182 groups: \n
jvfausto 0:03b7e8deb3ee 1183 ['general_config', 'dss_config']
jvfausto 0:03b7e8deb3ee 1184 fields: \n
jvfausto 0:03b7e8deb3ee 1185 - [7:0] = dss_config__aperture_attenuation
jvfausto 0:03b7e8deb3ee 1186 */
jvfausto 0:03b7e8deb3ee 1187 #define VL53L1_DSS_CONFIG__MAX_SPADS_LIMIT 0x0058
jvfausto 0:03b7e8deb3ee 1188 /*!<
jvfausto 0:03b7e8deb3ee 1189 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1190 default: 0xFF \n
jvfausto 0:03b7e8deb3ee 1191 info: \n
jvfausto 0:03b7e8deb3ee 1192 - msb = 7
jvfausto 0:03b7e8deb3ee 1193 - lsb = 0
jvfausto 0:03b7e8deb3ee 1194 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1195 groups: \n
jvfausto 0:03b7e8deb3ee 1196 ['general_config', 'dss_config']
jvfausto 0:03b7e8deb3ee 1197 fields: \n
jvfausto 0:03b7e8deb3ee 1198 - [7:0] = dss_config__max_spads_limit
jvfausto 0:03b7e8deb3ee 1199 */
jvfausto 0:03b7e8deb3ee 1200 #define VL53L1_DSS_CONFIG__MIN_SPADS_LIMIT 0x0059
jvfausto 0:03b7e8deb3ee 1201 /*!<
jvfausto 0:03b7e8deb3ee 1202 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1203 default: 0x01 \n
jvfausto 0:03b7e8deb3ee 1204 info: \n
jvfausto 0:03b7e8deb3ee 1205 - msb = 7
jvfausto 0:03b7e8deb3ee 1206 - lsb = 0
jvfausto 0:03b7e8deb3ee 1207 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1208 groups: \n
jvfausto 0:03b7e8deb3ee 1209 ['general_config', 'dss_config']
jvfausto 0:03b7e8deb3ee 1210 fields: \n
jvfausto 0:03b7e8deb3ee 1211 - [7:0] = dss_config__min_spads_limit
jvfausto 0:03b7e8deb3ee 1212 */
jvfausto 0:03b7e8deb3ee 1213 #define VL53L1_MM_CONFIG__TIMEOUT_MACROP_A_HI 0x005A
jvfausto 0:03b7e8deb3ee 1214 /*!<
jvfausto 0:03b7e8deb3ee 1215 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1216 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 1217 info: \n
jvfausto 0:03b7e8deb3ee 1218 - msb = 3
jvfausto 0:03b7e8deb3ee 1219 - lsb = 0
jvfausto 0:03b7e8deb3ee 1220 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1221 groups: \n
jvfausto 0:03b7e8deb3ee 1222 ['timing_config', 'mm_config']
jvfausto 0:03b7e8deb3ee 1223 fields: \n
jvfausto 0:03b7e8deb3ee 1224 - [3:0] = mm_config__config_timeout_macrop_a_hi
jvfausto 0:03b7e8deb3ee 1225 */
jvfausto 0:03b7e8deb3ee 1226 #define VL53L1_MM_CONFIG__TIMEOUT_MACROP_A_LO 0x005B
jvfausto 0:03b7e8deb3ee 1227 /*!<
jvfausto 0:03b7e8deb3ee 1228 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1229 default: 0x06 \n
jvfausto 0:03b7e8deb3ee 1230 info: \n
jvfausto 0:03b7e8deb3ee 1231 - msb = 7
jvfausto 0:03b7e8deb3ee 1232 - lsb = 0
jvfausto 0:03b7e8deb3ee 1233 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1234 groups: \n
jvfausto 0:03b7e8deb3ee 1235 ['timing_config', 'mm_config']
jvfausto 0:03b7e8deb3ee 1236 fields: \n
jvfausto 0:03b7e8deb3ee 1237 - [7:0] = mm_config__config_timeout_macrop_a_lo
jvfausto 0:03b7e8deb3ee 1238 */
jvfausto 0:03b7e8deb3ee 1239 #define VL53L1_MM_CONFIG__TIMEOUT_MACROP_B_HI 0x005C
jvfausto 0:03b7e8deb3ee 1240 /*!<
jvfausto 0:03b7e8deb3ee 1241 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1242 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 1243 info: \n
jvfausto 0:03b7e8deb3ee 1244 - msb = 3
jvfausto 0:03b7e8deb3ee 1245 - lsb = 0
jvfausto 0:03b7e8deb3ee 1246 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1247 groups: \n
jvfausto 0:03b7e8deb3ee 1248 ['timing_config', 'mm_config']
jvfausto 0:03b7e8deb3ee 1249 fields: \n
jvfausto 0:03b7e8deb3ee 1250 - [3:0] = mm_config__config_timeout_macrop_b_hi
jvfausto 0:03b7e8deb3ee 1251 */
jvfausto 0:03b7e8deb3ee 1252 #define VL53L1_MM_CONFIG__TIMEOUT_MACROP_B_LO 0x005D
jvfausto 0:03b7e8deb3ee 1253 /*!<
jvfausto 0:03b7e8deb3ee 1254 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1255 default: 0x06 \n
jvfausto 0:03b7e8deb3ee 1256 info: \n
jvfausto 0:03b7e8deb3ee 1257 - msb = 7
jvfausto 0:03b7e8deb3ee 1258 - lsb = 0
jvfausto 0:03b7e8deb3ee 1259 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1260 groups: \n
jvfausto 0:03b7e8deb3ee 1261 ['timing_config', 'mm_config']
jvfausto 0:03b7e8deb3ee 1262 fields: \n
jvfausto 0:03b7e8deb3ee 1263 - [7:0] = mm_config__config_timeout_macrop_b_lo
jvfausto 0:03b7e8deb3ee 1264 */
jvfausto 0:03b7e8deb3ee 1265 #define VL53L1_RANGE_CONFIG__TIMEOUT_MACROP_A_HI 0x005E
jvfausto 0:03b7e8deb3ee 1266 /*!<
jvfausto 0:03b7e8deb3ee 1267 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1268 default: 0x01 \n
jvfausto 0:03b7e8deb3ee 1269 info: \n
jvfausto 0:03b7e8deb3ee 1270 - msb = 3
jvfausto 0:03b7e8deb3ee 1271 - lsb = 0
jvfausto 0:03b7e8deb3ee 1272 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1273 groups: \n
jvfausto 0:03b7e8deb3ee 1274 ['timing_config', 'range_config']
jvfausto 0:03b7e8deb3ee 1275 fields: \n
jvfausto 0:03b7e8deb3ee 1276 - [3:0] = range_timeout_overall_periods_macrop_a_hi
jvfausto 0:03b7e8deb3ee 1277 */
jvfausto 0:03b7e8deb3ee 1278 #define VL53L1_RANGE_CONFIG__TIMEOUT_MACROP_A_LO 0x005F
jvfausto 0:03b7e8deb3ee 1279 /*!<
jvfausto 0:03b7e8deb3ee 1280 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1281 default: 0x92 \n
jvfausto 0:03b7e8deb3ee 1282 info: \n
jvfausto 0:03b7e8deb3ee 1283 - msb = 7
jvfausto 0:03b7e8deb3ee 1284 - lsb = 0
jvfausto 0:03b7e8deb3ee 1285 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1286 groups: \n
jvfausto 0:03b7e8deb3ee 1287 ['timing_config', 'range_config']
jvfausto 0:03b7e8deb3ee 1288 fields: \n
jvfausto 0:03b7e8deb3ee 1289 - [7:0] = range_timeout_overall_periods_macrop_a_lo
jvfausto 0:03b7e8deb3ee 1290 */
jvfausto 0:03b7e8deb3ee 1291 #define VL53L1_RANGE_CONFIG__VCSEL_PERIOD_A 0x0060
jvfausto 0:03b7e8deb3ee 1292 /*!<
jvfausto 0:03b7e8deb3ee 1293 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1294 default: 0x0B \n
jvfausto 0:03b7e8deb3ee 1295 info: \n
jvfausto 0:03b7e8deb3ee 1296 - msb = 5
jvfausto 0:03b7e8deb3ee 1297 - lsb = 0
jvfausto 0:03b7e8deb3ee 1298 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1299 groups: \n
jvfausto 0:03b7e8deb3ee 1300 ['timing_config', 'range_config']
jvfausto 0:03b7e8deb3ee 1301 fields: \n
jvfausto 0:03b7e8deb3ee 1302 - [5:0] = range_config__vcsel_period_a
jvfausto 0:03b7e8deb3ee 1303 */
jvfausto 0:03b7e8deb3ee 1304 #define VL53L1_RANGE_CONFIG__TIMEOUT_MACROP_B_HI 0x0061
jvfausto 0:03b7e8deb3ee 1305 /*!<
jvfausto 0:03b7e8deb3ee 1306 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1307 default: 0x01 \n
jvfausto 0:03b7e8deb3ee 1308 info: \n
jvfausto 0:03b7e8deb3ee 1309 - msb = 3
jvfausto 0:03b7e8deb3ee 1310 - lsb = 0
jvfausto 0:03b7e8deb3ee 1311 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1312 groups: \n
jvfausto 0:03b7e8deb3ee 1313 ['timing_config', 'range_config']
jvfausto 0:03b7e8deb3ee 1314 fields: \n
jvfausto 0:03b7e8deb3ee 1315 - [3:0] = range_timeout_overall_periods_macrop_b_hi
jvfausto 0:03b7e8deb3ee 1316 */
jvfausto 0:03b7e8deb3ee 1317 #define VL53L1_RANGE_CONFIG__TIMEOUT_MACROP_B_LO 0x0062
jvfausto 0:03b7e8deb3ee 1318 /*!<
jvfausto 0:03b7e8deb3ee 1319 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1320 default: 0x92 \n
jvfausto 0:03b7e8deb3ee 1321 info: \n
jvfausto 0:03b7e8deb3ee 1322 - msb = 7
jvfausto 0:03b7e8deb3ee 1323 - lsb = 0
jvfausto 0:03b7e8deb3ee 1324 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1325 groups: \n
jvfausto 0:03b7e8deb3ee 1326 ['timing_config', 'range_config']
jvfausto 0:03b7e8deb3ee 1327 fields: \n
jvfausto 0:03b7e8deb3ee 1328 - [7:0] = range_timeout_overall_periods_macrop_b_lo
jvfausto 0:03b7e8deb3ee 1329 */
jvfausto 0:03b7e8deb3ee 1330 #define VL53L1_RANGE_CONFIG__VCSEL_PERIOD_B 0x0063
jvfausto 0:03b7e8deb3ee 1331 /*!<
jvfausto 0:03b7e8deb3ee 1332 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1333 default: 0x09 \n
jvfausto 0:03b7e8deb3ee 1334 info: \n
jvfausto 0:03b7e8deb3ee 1335 - msb = 5
jvfausto 0:03b7e8deb3ee 1336 - lsb = 0
jvfausto 0:03b7e8deb3ee 1337 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1338 groups: \n
jvfausto 0:03b7e8deb3ee 1339 ['timing_config', 'range_config']
jvfausto 0:03b7e8deb3ee 1340 fields: \n
jvfausto 0:03b7e8deb3ee 1341 - [5:0] = range_config__vcsel_period_b
jvfausto 0:03b7e8deb3ee 1342 */
jvfausto 0:03b7e8deb3ee 1343 #define VL53L1_RANGE_CONFIG__SIGMA_THRESH 0x0064
jvfausto 0:03b7e8deb3ee 1344 /*!<
jvfausto 0:03b7e8deb3ee 1345 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 1346 default: 0x0080 \n
jvfausto 0:03b7e8deb3ee 1347 info: \n
jvfausto 0:03b7e8deb3ee 1348 - msb = 15
jvfausto 0:03b7e8deb3ee 1349 - lsb = 0
jvfausto 0:03b7e8deb3ee 1350 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 1351 groups: \n
jvfausto 0:03b7e8deb3ee 1352 ['timing_config', 'range_config']
jvfausto 0:03b7e8deb3ee 1353 fields: \n
jvfausto 0:03b7e8deb3ee 1354 - [15:0] = range_config__sigma_thresh (fixed point 14.2)
jvfausto 0:03b7e8deb3ee 1355 */
jvfausto 0:03b7e8deb3ee 1356 #define VL53L1_RANGE_CONFIG__SIGMA_THRESH_HI 0x0064
jvfausto 0:03b7e8deb3ee 1357 /*!<
jvfausto 0:03b7e8deb3ee 1358 info: \n
jvfausto 0:03b7e8deb3ee 1359 - msb = 0
jvfausto 0:03b7e8deb3ee 1360 - lsb = 0
jvfausto 0:03b7e8deb3ee 1361 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1362 */
jvfausto 0:03b7e8deb3ee 1363 #define VL53L1_RANGE_CONFIG__SIGMA_THRESH_LO 0x0065
jvfausto 0:03b7e8deb3ee 1364 /*!<
jvfausto 0:03b7e8deb3ee 1365 info: \n
jvfausto 0:03b7e8deb3ee 1366 - msb = 0
jvfausto 0:03b7e8deb3ee 1367 - lsb = 0
jvfausto 0:03b7e8deb3ee 1368 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1369 */
jvfausto 0:03b7e8deb3ee 1370 #define VL53L1_RANGE_CONFIG__MIN_COUNT_RATE_RTN_LIMIT_MCPS 0x0066
jvfausto 0:03b7e8deb3ee 1371 /*!<
jvfausto 0:03b7e8deb3ee 1372 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 1373 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 1374 info: \n
jvfausto 0:03b7e8deb3ee 1375 - msb = 15
jvfausto 0:03b7e8deb3ee 1376 - lsb = 0
jvfausto 0:03b7e8deb3ee 1377 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 1378 groups: \n
jvfausto 0:03b7e8deb3ee 1379 ['timing_config', 'range_config']
jvfausto 0:03b7e8deb3ee 1380 fields: \n
jvfausto 0:03b7e8deb3ee 1381 - [15:0] = range_config__min_count_rate_rtn_limit_mcps (fixed point 9.7)
jvfausto 0:03b7e8deb3ee 1382 */
jvfausto 0:03b7e8deb3ee 1383 #define VL53L1_RANGE_CONFIG__MIN_COUNT_RATE_RTN_LIMIT_MCPS_HI 0x0066
jvfausto 0:03b7e8deb3ee 1384 /*!<
jvfausto 0:03b7e8deb3ee 1385 info: \n
jvfausto 0:03b7e8deb3ee 1386 - msb = 0
jvfausto 0:03b7e8deb3ee 1387 - lsb = 0
jvfausto 0:03b7e8deb3ee 1388 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1389 */
jvfausto 0:03b7e8deb3ee 1390 #define VL53L1_RANGE_CONFIG__MIN_COUNT_RATE_RTN_LIMIT_MCPS_LO 0x0067
jvfausto 0:03b7e8deb3ee 1391 /*!<
jvfausto 0:03b7e8deb3ee 1392 info: \n
jvfausto 0:03b7e8deb3ee 1393 - msb = 0
jvfausto 0:03b7e8deb3ee 1394 - lsb = 0
jvfausto 0:03b7e8deb3ee 1395 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1396 */
jvfausto 0:03b7e8deb3ee 1397 #define VL53L1_RANGE_CONFIG__VALID_PHASE_LOW 0x0068
jvfausto 0:03b7e8deb3ee 1398 /*!<
jvfausto 0:03b7e8deb3ee 1399 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1400 default: 0x08 \n
jvfausto 0:03b7e8deb3ee 1401 info: \n
jvfausto 0:03b7e8deb3ee 1402 - msb = 7
jvfausto 0:03b7e8deb3ee 1403 - lsb = 0
jvfausto 0:03b7e8deb3ee 1404 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1405 groups: \n
jvfausto 0:03b7e8deb3ee 1406 ['timing_config', 'range_config']
jvfausto 0:03b7e8deb3ee 1407 fields: \n
jvfausto 0:03b7e8deb3ee 1408 - [7:0] = range_config__valid_phase_low (fixed point 5.3)
jvfausto 0:03b7e8deb3ee 1409 */
jvfausto 0:03b7e8deb3ee 1410 #define VL53L1_RANGE_CONFIG__VALID_PHASE_HIGH 0x0069
jvfausto 0:03b7e8deb3ee 1411 /*!<
jvfausto 0:03b7e8deb3ee 1412 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1413 default: 0x80 \n
jvfausto 0:03b7e8deb3ee 1414 info: \n
jvfausto 0:03b7e8deb3ee 1415 - msb = 7
jvfausto 0:03b7e8deb3ee 1416 - lsb = 0
jvfausto 0:03b7e8deb3ee 1417 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1418 groups: \n
jvfausto 0:03b7e8deb3ee 1419 ['timing_config', 'range_config']
jvfausto 0:03b7e8deb3ee 1420 fields: \n
jvfausto 0:03b7e8deb3ee 1421 - [7:0] = range_config__valid_phase_high (fixed point 5.3)
jvfausto 0:03b7e8deb3ee 1422 */
jvfausto 0:03b7e8deb3ee 1423 #define VL53L1_SYSTEM__INTERMEASUREMENT_PERIOD 0x006C
jvfausto 0:03b7e8deb3ee 1424 /*!<
jvfausto 0:03b7e8deb3ee 1425 type: uint32_t \n
jvfausto 0:03b7e8deb3ee 1426 default: 0x00000000 \n
jvfausto 0:03b7e8deb3ee 1427 info: \n
jvfausto 0:03b7e8deb3ee 1428 - msb = 31
jvfausto 0:03b7e8deb3ee 1429 - lsb = 0
jvfausto 0:03b7e8deb3ee 1430 - i2c_size = 4
jvfausto 0:03b7e8deb3ee 1431 groups: \n
jvfausto 0:03b7e8deb3ee 1432 ['timing_config', 'system_config']
jvfausto 0:03b7e8deb3ee 1433 fields: \n
jvfausto 0:03b7e8deb3ee 1434 - [31:0] = intermeasurement_period
jvfausto 0:03b7e8deb3ee 1435 */
jvfausto 0:03b7e8deb3ee 1436 #define VL53L1_SYSTEM__INTERMEASUREMENT_PERIOD_3 0x006C
jvfausto 0:03b7e8deb3ee 1437 /*!<
jvfausto 0:03b7e8deb3ee 1438 info: \n
jvfausto 0:03b7e8deb3ee 1439 - msb = 0
jvfausto 0:03b7e8deb3ee 1440 - lsb = 0
jvfausto 0:03b7e8deb3ee 1441 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1442 */
jvfausto 0:03b7e8deb3ee 1443 #define VL53L1_SYSTEM__INTERMEASUREMENT_PERIOD_2 0x006D
jvfausto 0:03b7e8deb3ee 1444 /*!<
jvfausto 0:03b7e8deb3ee 1445 info: \n
jvfausto 0:03b7e8deb3ee 1446 - msb = 0
jvfausto 0:03b7e8deb3ee 1447 - lsb = 0
jvfausto 0:03b7e8deb3ee 1448 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1449 */
jvfausto 0:03b7e8deb3ee 1450 #define VL53L1_SYSTEM__INTERMEASUREMENT_PERIOD_1 0x006E
jvfausto 0:03b7e8deb3ee 1451 /*!<
jvfausto 0:03b7e8deb3ee 1452 info: \n
jvfausto 0:03b7e8deb3ee 1453 - msb = 0
jvfausto 0:03b7e8deb3ee 1454 - lsb = 0
jvfausto 0:03b7e8deb3ee 1455 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1456 */
jvfausto 0:03b7e8deb3ee 1457 #define VL53L1_SYSTEM__INTERMEASUREMENT_PERIOD_0 0x006F
jvfausto 0:03b7e8deb3ee 1458 /*!<
jvfausto 0:03b7e8deb3ee 1459 info: \n
jvfausto 0:03b7e8deb3ee 1460 - msb = 0
jvfausto 0:03b7e8deb3ee 1461 - lsb = 0
jvfausto 0:03b7e8deb3ee 1462 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1463 */
jvfausto 0:03b7e8deb3ee 1464 #define VL53L1_SYSTEM__FRACTIONAL_ENABLE 0x0070
jvfausto 0:03b7e8deb3ee 1465 /*!<
jvfausto 0:03b7e8deb3ee 1466 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1467 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 1468 info: \n
jvfausto 0:03b7e8deb3ee 1469 - msb = 0
jvfausto 0:03b7e8deb3ee 1470 - lsb = 0
jvfausto 0:03b7e8deb3ee 1471 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1472 groups: \n
jvfausto 0:03b7e8deb3ee 1473 ['timing_config', 'system_config']
jvfausto 0:03b7e8deb3ee 1474 fields: \n
jvfausto 0:03b7e8deb3ee 1475 - [0] = range_fractional_enable
jvfausto 0:03b7e8deb3ee 1476 */
jvfausto 0:03b7e8deb3ee 1477 #define VL53L1_SYSTEM__GROUPED_PARAMETER_HOLD_0 0x0071
jvfausto 0:03b7e8deb3ee 1478 /*!<
jvfausto 0:03b7e8deb3ee 1479 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1480 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 1481 info: \n
jvfausto 0:03b7e8deb3ee 1482 - msb = 1
jvfausto 0:03b7e8deb3ee 1483 - lsb = 0
jvfausto 0:03b7e8deb3ee 1484 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1485 groups: \n
jvfausto 0:03b7e8deb3ee 1486 ['dynamic_config', 'gph_config']
jvfausto 0:03b7e8deb3ee 1487 fields: \n
jvfausto 0:03b7e8deb3ee 1488 - [0] = grouped_parameter_hold
jvfausto 0:03b7e8deb3ee 1489 - [1] = grouped_parameter_hold_id
jvfausto 0:03b7e8deb3ee 1490 */
jvfausto 0:03b7e8deb3ee 1491 #define VL53L1_SYSTEM__THRESH_HIGH 0x0072
jvfausto 0:03b7e8deb3ee 1492 /*!<
jvfausto 0:03b7e8deb3ee 1493 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 1494 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 1495 info: \n
jvfausto 0:03b7e8deb3ee 1496 - msb = 15
jvfausto 0:03b7e8deb3ee 1497 - lsb = 0
jvfausto 0:03b7e8deb3ee 1498 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 1499 groups: \n
jvfausto 0:03b7e8deb3ee 1500 ['dynamic_config', 'gph_config']
jvfausto 0:03b7e8deb3ee 1501 fields: \n
jvfausto 0:03b7e8deb3ee 1502 - [15:0] = thresh_high
jvfausto 0:03b7e8deb3ee 1503 */
jvfausto 0:03b7e8deb3ee 1504 #define VL53L1_SYSTEM__THRESH_HIGH_HI 0x0072
jvfausto 0:03b7e8deb3ee 1505 /*!<
jvfausto 0:03b7e8deb3ee 1506 info: \n
jvfausto 0:03b7e8deb3ee 1507 - msb = 0
jvfausto 0:03b7e8deb3ee 1508 - lsb = 0
jvfausto 0:03b7e8deb3ee 1509 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1510 */
jvfausto 0:03b7e8deb3ee 1511 #define VL53L1_SYSTEM__THRESH_HIGH_LO 0x0073
jvfausto 0:03b7e8deb3ee 1512 /*!<
jvfausto 0:03b7e8deb3ee 1513 info: \n
jvfausto 0:03b7e8deb3ee 1514 - msb = 0
jvfausto 0:03b7e8deb3ee 1515 - lsb = 0
jvfausto 0:03b7e8deb3ee 1516 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1517 */
jvfausto 0:03b7e8deb3ee 1518 #define VL53L1_SYSTEM__THRESH_LOW 0x0074
jvfausto 0:03b7e8deb3ee 1519 /*!<
jvfausto 0:03b7e8deb3ee 1520 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 1521 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 1522 info: \n
jvfausto 0:03b7e8deb3ee 1523 - msb = 15
jvfausto 0:03b7e8deb3ee 1524 - lsb = 0
jvfausto 0:03b7e8deb3ee 1525 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 1526 groups: \n
jvfausto 0:03b7e8deb3ee 1527 ['dynamic_config', 'gph_config']
jvfausto 0:03b7e8deb3ee 1528 fields: \n
jvfausto 0:03b7e8deb3ee 1529 - [15:0] = thresh_low
jvfausto 0:03b7e8deb3ee 1530 */
jvfausto 0:03b7e8deb3ee 1531 #define VL53L1_SYSTEM__THRESH_LOW_HI 0x0074
jvfausto 0:03b7e8deb3ee 1532 /*!<
jvfausto 0:03b7e8deb3ee 1533 info: \n
jvfausto 0:03b7e8deb3ee 1534 - msb = 0
jvfausto 0:03b7e8deb3ee 1535 - lsb = 0
jvfausto 0:03b7e8deb3ee 1536 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1537 */
jvfausto 0:03b7e8deb3ee 1538 #define VL53L1_SYSTEM__THRESH_LOW_LO 0x0075
jvfausto 0:03b7e8deb3ee 1539 /*!<
jvfausto 0:03b7e8deb3ee 1540 info: \n
jvfausto 0:03b7e8deb3ee 1541 - msb = 0
jvfausto 0:03b7e8deb3ee 1542 - lsb = 0
jvfausto 0:03b7e8deb3ee 1543 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1544 */
jvfausto 0:03b7e8deb3ee 1545 #define VL53L1_SYSTEM__ENABLE_XTALK_PER_QUADRANT 0x0076
jvfausto 0:03b7e8deb3ee 1546 /*!<
jvfausto 0:03b7e8deb3ee 1547 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1548 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 1549 info: \n
jvfausto 0:03b7e8deb3ee 1550 - msb = 0
jvfausto 0:03b7e8deb3ee 1551 - lsb = 0
jvfausto 0:03b7e8deb3ee 1552 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1553 groups: \n
jvfausto 0:03b7e8deb3ee 1554 ['dynamic_config', 'gph_config']
jvfausto 0:03b7e8deb3ee 1555 fields: \n
jvfausto 0:03b7e8deb3ee 1556 - [0] = system__enable_xtalk_per_quadrant
jvfausto 0:03b7e8deb3ee 1557 */
jvfausto 0:03b7e8deb3ee 1558 #define VL53L1_SYSTEM__SEED_CONFIG 0x0077
jvfausto 0:03b7e8deb3ee 1559 /*!<
jvfausto 0:03b7e8deb3ee 1560 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1561 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 1562 info: \n
jvfausto 0:03b7e8deb3ee 1563 - msb = 2
jvfausto 0:03b7e8deb3ee 1564 - lsb = 0
jvfausto 0:03b7e8deb3ee 1565 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1566 groups: \n
jvfausto 0:03b7e8deb3ee 1567 ['dynamic_config', 'gph_config']
jvfausto 0:03b7e8deb3ee 1568 fields: \n
jvfausto 0:03b7e8deb3ee 1569 - [1:0] = system__seed_config
jvfausto 0:03b7e8deb3ee 1570 - [2] = system__fw_pause_ctrl
jvfausto 0:03b7e8deb3ee 1571 */
jvfausto 0:03b7e8deb3ee 1572 #define VL53L1_SD_CONFIG__WOI_SD0 0x0078
jvfausto 0:03b7e8deb3ee 1573 /*!<
jvfausto 0:03b7e8deb3ee 1574 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1575 default: 0x04 \n
jvfausto 0:03b7e8deb3ee 1576 info: \n
jvfausto 0:03b7e8deb3ee 1577 - msb = 7
jvfausto 0:03b7e8deb3ee 1578 - lsb = 0
jvfausto 0:03b7e8deb3ee 1579 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1580 groups: \n
jvfausto 0:03b7e8deb3ee 1581 ['dynamic_config', 'gph_config']
jvfausto 0:03b7e8deb3ee 1582 fields: \n
jvfausto 0:03b7e8deb3ee 1583 - [7:0] = sd_config__woi_sd0
jvfausto 0:03b7e8deb3ee 1584 */
jvfausto 0:03b7e8deb3ee 1585 #define VL53L1_SD_CONFIG__WOI_SD1 0x0079
jvfausto 0:03b7e8deb3ee 1586 /*!<
jvfausto 0:03b7e8deb3ee 1587 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1588 default: 0x04 \n
jvfausto 0:03b7e8deb3ee 1589 info: \n
jvfausto 0:03b7e8deb3ee 1590 - msb = 7
jvfausto 0:03b7e8deb3ee 1591 - lsb = 0
jvfausto 0:03b7e8deb3ee 1592 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1593 groups: \n
jvfausto 0:03b7e8deb3ee 1594 ['dynamic_config', 'gph_config']
jvfausto 0:03b7e8deb3ee 1595 fields: \n
jvfausto 0:03b7e8deb3ee 1596 - [7:0] = sd_config__woi_sd1
jvfausto 0:03b7e8deb3ee 1597 */
jvfausto 0:03b7e8deb3ee 1598 #define VL53L1_SD_CONFIG__INITIAL_PHASE_SD0 0x007A
jvfausto 0:03b7e8deb3ee 1599 /*!<
jvfausto 0:03b7e8deb3ee 1600 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1601 default: 0x03 \n
jvfausto 0:03b7e8deb3ee 1602 info: \n
jvfausto 0:03b7e8deb3ee 1603 - msb = 6
jvfausto 0:03b7e8deb3ee 1604 - lsb = 0
jvfausto 0:03b7e8deb3ee 1605 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1606 groups: \n
jvfausto 0:03b7e8deb3ee 1607 ['dynamic_config', 'gph_config']
jvfausto 0:03b7e8deb3ee 1608 fields: \n
jvfausto 0:03b7e8deb3ee 1609 - [6:0] = sd_config__initial_phase_sd0
jvfausto 0:03b7e8deb3ee 1610 */
jvfausto 0:03b7e8deb3ee 1611 #define VL53L1_SD_CONFIG__INITIAL_PHASE_SD1 0x007B
jvfausto 0:03b7e8deb3ee 1612 /*!<
jvfausto 0:03b7e8deb3ee 1613 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1614 default: 0x03 \n
jvfausto 0:03b7e8deb3ee 1615 info: \n
jvfausto 0:03b7e8deb3ee 1616 - msb = 6
jvfausto 0:03b7e8deb3ee 1617 - lsb = 0
jvfausto 0:03b7e8deb3ee 1618 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1619 groups: \n
jvfausto 0:03b7e8deb3ee 1620 ['dynamic_config', 'gph_config']
jvfausto 0:03b7e8deb3ee 1621 fields: \n
jvfausto 0:03b7e8deb3ee 1622 - [6:0] = sd_config__initial_phase_sd1
jvfausto 0:03b7e8deb3ee 1623 */
jvfausto 0:03b7e8deb3ee 1624 #define VL53L1_SYSTEM__GROUPED_PARAMETER_HOLD_1 0x007C
jvfausto 0:03b7e8deb3ee 1625 /*!<
jvfausto 0:03b7e8deb3ee 1626 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1627 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 1628 info: \n
jvfausto 0:03b7e8deb3ee 1629 - msb = 1
jvfausto 0:03b7e8deb3ee 1630 - lsb = 0
jvfausto 0:03b7e8deb3ee 1631 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1632 groups: \n
jvfausto 0:03b7e8deb3ee 1633 ['dynamic_config', 'gph_config']
jvfausto 0:03b7e8deb3ee 1634 fields: \n
jvfausto 0:03b7e8deb3ee 1635 - [0] = grouped_parameter_hold
jvfausto 0:03b7e8deb3ee 1636 - [1] = grouped_parameter_hold_id
jvfausto 0:03b7e8deb3ee 1637 */
jvfausto 0:03b7e8deb3ee 1638 #define VL53L1_SD_CONFIG__FIRST_ORDER_SELECT 0x007D
jvfausto 0:03b7e8deb3ee 1639 /*!<
jvfausto 0:03b7e8deb3ee 1640 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1641 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 1642 info: \n
jvfausto 0:03b7e8deb3ee 1643 - msb = 1
jvfausto 0:03b7e8deb3ee 1644 - lsb = 0
jvfausto 0:03b7e8deb3ee 1645 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1646 groups: \n
jvfausto 0:03b7e8deb3ee 1647 ['dynamic_config', 'gph_config']
jvfausto 0:03b7e8deb3ee 1648 fields: \n
jvfausto 0:03b7e8deb3ee 1649 - [0] = sd_config__first_order_select_rtn
jvfausto 0:03b7e8deb3ee 1650 - [1] = sd_config__first_order_select_ref
jvfausto 0:03b7e8deb3ee 1651 */
jvfausto 0:03b7e8deb3ee 1652 #define VL53L1_SD_CONFIG__QUANTIFIER 0x007E
jvfausto 0:03b7e8deb3ee 1653 /*!<
jvfausto 0:03b7e8deb3ee 1654 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1655 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 1656 info: \n
jvfausto 0:03b7e8deb3ee 1657 - msb = 3
jvfausto 0:03b7e8deb3ee 1658 - lsb = 0
jvfausto 0:03b7e8deb3ee 1659 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1660 groups: \n
jvfausto 0:03b7e8deb3ee 1661 ['dynamic_config', 'gph_config']
jvfausto 0:03b7e8deb3ee 1662 fields: \n
jvfausto 0:03b7e8deb3ee 1663 - [3:0] = sd_config__quantifier
jvfausto 0:03b7e8deb3ee 1664 */
jvfausto 0:03b7e8deb3ee 1665 #define VL53L1_ROI_CONFIG__USER_ROI_CENTRE_SPAD 0x007F
jvfausto 0:03b7e8deb3ee 1666 /*!<
jvfausto 0:03b7e8deb3ee 1667 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1668 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 1669 info: \n
jvfausto 0:03b7e8deb3ee 1670 - msb = 7
jvfausto 0:03b7e8deb3ee 1671 - lsb = 0
jvfausto 0:03b7e8deb3ee 1672 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1673 groups: \n
jvfausto 0:03b7e8deb3ee 1674 ['dynamic_config', 'gph_config']
jvfausto 0:03b7e8deb3ee 1675 fields: \n
jvfausto 0:03b7e8deb3ee 1676 - [7:0] = user_roi_center_spad
jvfausto 0:03b7e8deb3ee 1677 */
jvfausto 0:03b7e8deb3ee 1678 #define VL53L1_ROI_CONFIG__USER_ROI_REQUESTED_GLOBAL_XY_SIZE 0x0080
jvfausto 0:03b7e8deb3ee 1679 /*!<
jvfausto 0:03b7e8deb3ee 1680 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1681 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 1682 info: \n
jvfausto 0:03b7e8deb3ee 1683 - msb = 7
jvfausto 0:03b7e8deb3ee 1684 - lsb = 0
jvfausto 0:03b7e8deb3ee 1685 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1686 groups: \n
jvfausto 0:03b7e8deb3ee 1687 ['dynamic_config', 'gph_config']
jvfausto 0:03b7e8deb3ee 1688 fields: \n
jvfausto 0:03b7e8deb3ee 1689 - [7:0] = roi_config__user_roi_requested_global_xy_size
jvfausto 0:03b7e8deb3ee 1690 */
jvfausto 0:03b7e8deb3ee 1691 #define VL53L1_SYSTEM__SEQUENCE_CONFIG 0x0081
jvfausto 0:03b7e8deb3ee 1692 /*!<
jvfausto 0:03b7e8deb3ee 1693 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1694 default: 0xFF \n
jvfausto 0:03b7e8deb3ee 1695 info: \n
jvfausto 0:03b7e8deb3ee 1696 - msb = 7
jvfausto 0:03b7e8deb3ee 1697 - lsb = 0
jvfausto 0:03b7e8deb3ee 1698 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1699 groups: \n
jvfausto 0:03b7e8deb3ee 1700 ['dynamic_config', 'gph_config']
jvfausto 0:03b7e8deb3ee 1701 fields: \n
jvfausto 0:03b7e8deb3ee 1702 - [0] = sequence_vhv_en
jvfausto 0:03b7e8deb3ee 1703 - [1] = sequence_phasecal_en
jvfausto 0:03b7e8deb3ee 1704 - [2] = sequence_reference_phase_en
jvfausto 0:03b7e8deb3ee 1705 - [3] = sequence_dss1_en
jvfausto 0:03b7e8deb3ee 1706 - [4] = sequence_dss2_en
jvfausto 0:03b7e8deb3ee 1707 - [5] = sequence_mm1_en
jvfausto 0:03b7e8deb3ee 1708 - [6] = sequence_mm2_en
jvfausto 0:03b7e8deb3ee 1709 - [7] = sequence_range_en
jvfausto 0:03b7e8deb3ee 1710 */
jvfausto 0:03b7e8deb3ee 1711 #define VL53L1_SYSTEM__GROUPED_PARAMETER_HOLD 0x0082
jvfausto 0:03b7e8deb3ee 1712 /*!<
jvfausto 0:03b7e8deb3ee 1713 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1714 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 1715 info: \n
jvfausto 0:03b7e8deb3ee 1716 - msb = 1
jvfausto 0:03b7e8deb3ee 1717 - lsb = 0
jvfausto 0:03b7e8deb3ee 1718 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1719 groups: \n
jvfausto 0:03b7e8deb3ee 1720 ['dynamic_config', 'gph_config']
jvfausto 0:03b7e8deb3ee 1721 fields: \n
jvfausto 0:03b7e8deb3ee 1722 - [0] = grouped_parameter_hold
jvfausto 0:03b7e8deb3ee 1723 - [1] = grouped_parameter_hold_id
jvfausto 0:03b7e8deb3ee 1724 */
jvfausto 0:03b7e8deb3ee 1725 #define VL53L1_POWER_MANAGEMENT__GO1_POWER_FORCE 0x0083
jvfausto 0:03b7e8deb3ee 1726 /*!<
jvfausto 0:03b7e8deb3ee 1727 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1728 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 1729 info: \n
jvfausto 0:03b7e8deb3ee 1730 - msb = 0
jvfausto 0:03b7e8deb3ee 1731 - lsb = 0
jvfausto 0:03b7e8deb3ee 1732 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1733 groups: \n
jvfausto 0:03b7e8deb3ee 1734 ['system_control', 'pwrman_ctrl']
jvfausto 0:03b7e8deb3ee 1735 fields: \n
jvfausto 0:03b7e8deb3ee 1736 - [0] = go1_dig_powerforce
jvfausto 0:03b7e8deb3ee 1737 */
jvfausto 0:03b7e8deb3ee 1738 #define VL53L1_SYSTEM__STREAM_COUNT_CTRL 0x0084
jvfausto 0:03b7e8deb3ee 1739 /*!<
jvfausto 0:03b7e8deb3ee 1740 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1741 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 1742 info: \n
jvfausto 0:03b7e8deb3ee 1743 - msb = 0
jvfausto 0:03b7e8deb3ee 1744 - lsb = 0
jvfausto 0:03b7e8deb3ee 1745 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1746 groups: \n
jvfausto 0:03b7e8deb3ee 1747 ['system_control', 'stream_ctrl']
jvfausto 0:03b7e8deb3ee 1748 fields: \n
jvfausto 0:03b7e8deb3ee 1749 - [0] = retain_stream_count
jvfausto 0:03b7e8deb3ee 1750 */
jvfausto 0:03b7e8deb3ee 1751 #define VL53L1_FIRMWARE__ENABLE 0x0085
jvfausto 0:03b7e8deb3ee 1752 /*!<
jvfausto 0:03b7e8deb3ee 1753 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1754 default: 0x01 \n
jvfausto 0:03b7e8deb3ee 1755 info: \n
jvfausto 0:03b7e8deb3ee 1756 - msb = 0
jvfausto 0:03b7e8deb3ee 1757 - lsb = 0
jvfausto 0:03b7e8deb3ee 1758 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1759 groups: \n
jvfausto 0:03b7e8deb3ee 1760 ['system_control', 'firmware_ctrl']
jvfausto 0:03b7e8deb3ee 1761 fields: \n
jvfausto 0:03b7e8deb3ee 1762 - [0] = firmware_enable
jvfausto 0:03b7e8deb3ee 1763 */
jvfausto 0:03b7e8deb3ee 1764 #define VL53L1_SYSTEM__INTERRUPT_CLEAR 0x0086
jvfausto 0:03b7e8deb3ee 1765 /*!<
jvfausto 0:03b7e8deb3ee 1766 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1767 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 1768 info: \n
jvfausto 0:03b7e8deb3ee 1769 - msb = 1
jvfausto 0:03b7e8deb3ee 1770 - lsb = 0
jvfausto 0:03b7e8deb3ee 1771 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1772 groups: \n
jvfausto 0:03b7e8deb3ee 1773 ['system_control', 'system_int_clr']
jvfausto 0:03b7e8deb3ee 1774 fields: \n
jvfausto 0:03b7e8deb3ee 1775 - [0] = sys_interrupt_clear_range
jvfausto 0:03b7e8deb3ee 1776 - [1] = sys_interrupt_clear_error
jvfausto 0:03b7e8deb3ee 1777 */
jvfausto 0:03b7e8deb3ee 1778 #define VL53L1_SYSTEM__MODE_START 0x0087
jvfausto 0:03b7e8deb3ee 1779 /*!<
jvfausto 0:03b7e8deb3ee 1780 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1781 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 1782 info: \n
jvfausto 0:03b7e8deb3ee 1783 - msb = 7
jvfausto 0:03b7e8deb3ee 1784 - lsb = 0
jvfausto 0:03b7e8deb3ee 1785 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1786 groups: \n
jvfausto 0:03b7e8deb3ee 1787 ['system_control', 'system_start']
jvfausto 0:03b7e8deb3ee 1788 fields: \n
jvfausto 0:03b7e8deb3ee 1789 - [1:0] = scheduler_mode
jvfausto 0:03b7e8deb3ee 1790 - [3:2] = readout_mode
jvfausto 0:03b7e8deb3ee 1791 - [4] = mode_range__single_shot
jvfausto 0:03b7e8deb3ee 1792 - [5] = mode_range__back_to_back
jvfausto 0:03b7e8deb3ee 1793 - [6] = mode_range__timed
jvfausto 0:03b7e8deb3ee 1794 - [7] = mode_range__abort
jvfausto 0:03b7e8deb3ee 1795 */
jvfausto 0:03b7e8deb3ee 1796 #define VL53L1_RESULT__INTERRUPT_STATUS 0x0088
jvfausto 0:03b7e8deb3ee 1797 /*!<
jvfausto 0:03b7e8deb3ee 1798 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1799 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 1800 info: \n
jvfausto 0:03b7e8deb3ee 1801 - msb = 5
jvfausto 0:03b7e8deb3ee 1802 - lsb = 0
jvfausto 0:03b7e8deb3ee 1803 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1804 groups: \n
jvfausto 0:03b7e8deb3ee 1805 ['system_results', 'results']
jvfausto 0:03b7e8deb3ee 1806 fields: \n
jvfausto 0:03b7e8deb3ee 1807 - [2:0] = int_status
jvfausto 0:03b7e8deb3ee 1808 - [4:3] = int_error_status
jvfausto 0:03b7e8deb3ee 1809 - [5] = gph_id_gpio_status
jvfausto 0:03b7e8deb3ee 1810 */
jvfausto 0:03b7e8deb3ee 1811 #define VL53L1_RESULT__RANGE_STATUS 0x0089
jvfausto 0:03b7e8deb3ee 1812 /*!<
jvfausto 0:03b7e8deb3ee 1813 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1814 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 1815 info: \n
jvfausto 0:03b7e8deb3ee 1816 - msb = 7
jvfausto 0:03b7e8deb3ee 1817 - lsb = 0
jvfausto 0:03b7e8deb3ee 1818 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1819 groups: \n
jvfausto 0:03b7e8deb3ee 1820 ['system_results', 'results']
jvfausto 0:03b7e8deb3ee 1821 fields: \n
jvfausto 0:03b7e8deb3ee 1822 - [4:0] = range_status
jvfausto 0:03b7e8deb3ee 1823 - [5] = max_threshold_hit
jvfausto 0:03b7e8deb3ee 1824 - [6] = min_threshold_hit
jvfausto 0:03b7e8deb3ee 1825 - [7] = gph_id_range_status
jvfausto 0:03b7e8deb3ee 1826 */
jvfausto 0:03b7e8deb3ee 1827 #define VL53L1_RESULT__REPORT_STATUS 0x008A
jvfausto 0:03b7e8deb3ee 1828 /*!<
jvfausto 0:03b7e8deb3ee 1829 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1830 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 1831 info: \n
jvfausto 0:03b7e8deb3ee 1832 - msb = 3
jvfausto 0:03b7e8deb3ee 1833 - lsb = 0
jvfausto 0:03b7e8deb3ee 1834 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1835 groups: \n
jvfausto 0:03b7e8deb3ee 1836 ['system_results', 'results']
jvfausto 0:03b7e8deb3ee 1837 fields: \n
jvfausto 0:03b7e8deb3ee 1838 - [3:0] = report_status
jvfausto 0:03b7e8deb3ee 1839 */
jvfausto 0:03b7e8deb3ee 1840 #define VL53L1_RESULT__STREAM_COUNT 0x008B
jvfausto 0:03b7e8deb3ee 1841 /*!<
jvfausto 0:03b7e8deb3ee 1842 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 1843 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 1844 info: \n
jvfausto 0:03b7e8deb3ee 1845 - msb = 7
jvfausto 0:03b7e8deb3ee 1846 - lsb = 0
jvfausto 0:03b7e8deb3ee 1847 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1848 groups: \n
jvfausto 0:03b7e8deb3ee 1849 ['system_results', 'results']
jvfausto 0:03b7e8deb3ee 1850 fields: \n
jvfausto 0:03b7e8deb3ee 1851 - [7:0] = result__stream_count
jvfausto 0:03b7e8deb3ee 1852 */
jvfausto 0:03b7e8deb3ee 1853 #define VL53L1_RESULT__DSS_ACTUAL_EFFECTIVE_SPADS_SD0 0x008C
jvfausto 0:03b7e8deb3ee 1854 /*!<
jvfausto 0:03b7e8deb3ee 1855 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 1856 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 1857 info: \n
jvfausto 0:03b7e8deb3ee 1858 - msb = 15
jvfausto 0:03b7e8deb3ee 1859 - lsb = 0
jvfausto 0:03b7e8deb3ee 1860 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 1861 groups: \n
jvfausto 0:03b7e8deb3ee 1862 ['system_results', 'results']
jvfausto 0:03b7e8deb3ee 1863 fields: \n
jvfausto 0:03b7e8deb3ee 1864 - [15:0] = result__dss_actual_effective_spads_sd0 (fixed point 8.8)
jvfausto 0:03b7e8deb3ee 1865 */
jvfausto 0:03b7e8deb3ee 1866 #define VL53L1_RESULT__DSS_ACTUAL_EFFECTIVE_SPADS_SD0_HI 0x008C
jvfausto 0:03b7e8deb3ee 1867 /*!<
jvfausto 0:03b7e8deb3ee 1868 info: \n
jvfausto 0:03b7e8deb3ee 1869 - msb = 0
jvfausto 0:03b7e8deb3ee 1870 - lsb = 0
jvfausto 0:03b7e8deb3ee 1871 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1872 */
jvfausto 0:03b7e8deb3ee 1873 #define VL53L1_RESULT__DSS_ACTUAL_EFFECTIVE_SPADS_SD0_LO 0x008D
jvfausto 0:03b7e8deb3ee 1874 /*!<
jvfausto 0:03b7e8deb3ee 1875 info: \n
jvfausto 0:03b7e8deb3ee 1876 - msb = 0
jvfausto 0:03b7e8deb3ee 1877 - lsb = 0
jvfausto 0:03b7e8deb3ee 1878 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1879 */
jvfausto 0:03b7e8deb3ee 1880 #define VL53L1_RESULT__PEAK_SIGNAL_COUNT_RATE_MCPS_SD0 0x008E
jvfausto 0:03b7e8deb3ee 1881 /*!<
jvfausto 0:03b7e8deb3ee 1882 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 1883 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 1884 info: \n
jvfausto 0:03b7e8deb3ee 1885 - msb = 15
jvfausto 0:03b7e8deb3ee 1886 - lsb = 0
jvfausto 0:03b7e8deb3ee 1887 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 1888 groups: \n
jvfausto 0:03b7e8deb3ee 1889 ['system_results', 'results']
jvfausto 0:03b7e8deb3ee 1890 fields: \n
jvfausto 0:03b7e8deb3ee 1891 - [15:0] = result__peak_signal_count_rate_mcps_sd0 (fixed point 9.7)
jvfausto 0:03b7e8deb3ee 1892 */
jvfausto 0:03b7e8deb3ee 1893 #define VL53L1_RESULT__PEAK_SIGNAL_COUNT_RATE_MCPS_SD0_HI 0x008E
jvfausto 0:03b7e8deb3ee 1894 /*!<
jvfausto 0:03b7e8deb3ee 1895 info: \n
jvfausto 0:03b7e8deb3ee 1896 - msb = 0
jvfausto 0:03b7e8deb3ee 1897 - lsb = 0
jvfausto 0:03b7e8deb3ee 1898 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1899 */
jvfausto 0:03b7e8deb3ee 1900 #define VL53L1_RESULT__PEAK_SIGNAL_COUNT_RATE_MCPS_SD0_LO 0x008F
jvfausto 0:03b7e8deb3ee 1901 /*!<
jvfausto 0:03b7e8deb3ee 1902 info: \n
jvfausto 0:03b7e8deb3ee 1903 - msb = 0
jvfausto 0:03b7e8deb3ee 1904 - lsb = 0
jvfausto 0:03b7e8deb3ee 1905 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1906 */
jvfausto 0:03b7e8deb3ee 1907 #define VL53L1_RESULT__AMBIENT_COUNT_RATE_MCPS_SD0 0x0090
jvfausto 0:03b7e8deb3ee 1908 /*!<
jvfausto 0:03b7e8deb3ee 1909 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 1910 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 1911 info: \n
jvfausto 0:03b7e8deb3ee 1912 - msb = 15
jvfausto 0:03b7e8deb3ee 1913 - lsb = 0
jvfausto 0:03b7e8deb3ee 1914 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 1915 groups: \n
jvfausto 0:03b7e8deb3ee 1916 ['system_results', 'results']
jvfausto 0:03b7e8deb3ee 1917 fields: \n
jvfausto 0:03b7e8deb3ee 1918 - [15:0] = result__ambient_count_rate_mcps_sd0 (fixed point 9.7)
jvfausto 0:03b7e8deb3ee 1919 */
jvfausto 0:03b7e8deb3ee 1920 #define VL53L1_RESULT__AMBIENT_COUNT_RATE_MCPS_SD0_HI 0x0090
jvfausto 0:03b7e8deb3ee 1921 /*!<
jvfausto 0:03b7e8deb3ee 1922 info: \n
jvfausto 0:03b7e8deb3ee 1923 - msb = 0
jvfausto 0:03b7e8deb3ee 1924 - lsb = 0
jvfausto 0:03b7e8deb3ee 1925 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1926 */
jvfausto 0:03b7e8deb3ee 1927 #define VL53L1_RESULT__AMBIENT_COUNT_RATE_MCPS_SD0_LO 0x0091
jvfausto 0:03b7e8deb3ee 1928 /*!<
jvfausto 0:03b7e8deb3ee 1929 info: \n
jvfausto 0:03b7e8deb3ee 1930 - msb = 0
jvfausto 0:03b7e8deb3ee 1931 - lsb = 0
jvfausto 0:03b7e8deb3ee 1932 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1933 */
jvfausto 0:03b7e8deb3ee 1934 #define VL53L1_RESULT__SIGMA_SD0 0x0092
jvfausto 0:03b7e8deb3ee 1935 /*!<
jvfausto 0:03b7e8deb3ee 1936 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 1937 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 1938 info: \n
jvfausto 0:03b7e8deb3ee 1939 - msb = 15
jvfausto 0:03b7e8deb3ee 1940 - lsb = 0
jvfausto 0:03b7e8deb3ee 1941 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 1942 groups: \n
jvfausto 0:03b7e8deb3ee 1943 ['system_results', 'results']
jvfausto 0:03b7e8deb3ee 1944 fields: \n
jvfausto 0:03b7e8deb3ee 1945 - [15:0] = result__sigma_sd0 (fixed point 14.2)
jvfausto 0:03b7e8deb3ee 1946 */
jvfausto 0:03b7e8deb3ee 1947 #define VL53L1_RESULT__SIGMA_SD0_HI 0x0092
jvfausto 0:03b7e8deb3ee 1948 /*!<
jvfausto 0:03b7e8deb3ee 1949 info: \n
jvfausto 0:03b7e8deb3ee 1950 - msb = 0
jvfausto 0:03b7e8deb3ee 1951 - lsb = 0
jvfausto 0:03b7e8deb3ee 1952 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1953 */
jvfausto 0:03b7e8deb3ee 1954 #define VL53L1_RESULT__SIGMA_SD0_LO 0x0093
jvfausto 0:03b7e8deb3ee 1955 /*!<
jvfausto 0:03b7e8deb3ee 1956 info: \n
jvfausto 0:03b7e8deb3ee 1957 - msb = 0
jvfausto 0:03b7e8deb3ee 1958 - lsb = 0
jvfausto 0:03b7e8deb3ee 1959 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1960 */
jvfausto 0:03b7e8deb3ee 1961 #define VL53L1_RESULT__PHASE_SD0 0x0094
jvfausto 0:03b7e8deb3ee 1962 /*!<
jvfausto 0:03b7e8deb3ee 1963 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 1964 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 1965 info: \n
jvfausto 0:03b7e8deb3ee 1966 - msb = 15
jvfausto 0:03b7e8deb3ee 1967 - lsb = 0
jvfausto 0:03b7e8deb3ee 1968 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 1969 groups: \n
jvfausto 0:03b7e8deb3ee 1970 ['system_results', 'results']
jvfausto 0:03b7e8deb3ee 1971 fields: \n
jvfausto 0:03b7e8deb3ee 1972 - [15:0] = result__phase_sd0 (fixed point 5.11)
jvfausto 0:03b7e8deb3ee 1973 */
jvfausto 0:03b7e8deb3ee 1974 #define VL53L1_RESULT__PHASE_SD0_HI 0x0094
jvfausto 0:03b7e8deb3ee 1975 /*!<
jvfausto 0:03b7e8deb3ee 1976 info: \n
jvfausto 0:03b7e8deb3ee 1977 - msb = 0
jvfausto 0:03b7e8deb3ee 1978 - lsb = 0
jvfausto 0:03b7e8deb3ee 1979 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1980 */
jvfausto 0:03b7e8deb3ee 1981 #define VL53L1_RESULT__PHASE_SD0_LO 0x0095
jvfausto 0:03b7e8deb3ee 1982 /*!<
jvfausto 0:03b7e8deb3ee 1983 info: \n
jvfausto 0:03b7e8deb3ee 1984 - msb = 0
jvfausto 0:03b7e8deb3ee 1985 - lsb = 0
jvfausto 0:03b7e8deb3ee 1986 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 1987 */
jvfausto 0:03b7e8deb3ee 1988 #define VL53L1_RESULT__FINAL_CROSSTALK_CORRECTED_RANGE_MM_SD0 0x0096
jvfausto 0:03b7e8deb3ee 1989 /*!<
jvfausto 0:03b7e8deb3ee 1990 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 1991 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 1992 info: \n
jvfausto 0:03b7e8deb3ee 1993 - msb = 15
jvfausto 0:03b7e8deb3ee 1994 - lsb = 0
jvfausto 0:03b7e8deb3ee 1995 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 1996 groups: \n
jvfausto 0:03b7e8deb3ee 1997 ['system_results', 'results']
jvfausto 0:03b7e8deb3ee 1998 fields: \n
jvfausto 0:03b7e8deb3ee 1999 - [15:0] = result__final_crosstalk_corrected_range_mm_sd0
jvfausto 0:03b7e8deb3ee 2000 */
jvfausto 0:03b7e8deb3ee 2001 #define VL53L1_RESULT__FINAL_CROSSTALK_CORRECTED_RANGE_MM_SD0_HI 0x0096
jvfausto 0:03b7e8deb3ee 2002 /*!<
jvfausto 0:03b7e8deb3ee 2003 info: \n
jvfausto 0:03b7e8deb3ee 2004 - msb = 0
jvfausto 0:03b7e8deb3ee 2005 - lsb = 0
jvfausto 0:03b7e8deb3ee 2006 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2007 */
jvfausto 0:03b7e8deb3ee 2008 #define VL53L1_RESULT__FINAL_CROSSTALK_CORRECTED_RANGE_MM_SD0_LO 0x0097
jvfausto 0:03b7e8deb3ee 2009 /*!<
jvfausto 0:03b7e8deb3ee 2010 info: \n
jvfausto 0:03b7e8deb3ee 2011 - msb = 0
jvfausto 0:03b7e8deb3ee 2012 - lsb = 0
jvfausto 0:03b7e8deb3ee 2013 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2014 */
jvfausto 0:03b7e8deb3ee 2015 #define VL53L1_RESULT__PEAK_SIGNAL_COUNT_RATE_CROSSTALK_CORRECTED_MCPS_SD0 0x0098
jvfausto 0:03b7e8deb3ee 2016 /*!<
jvfausto 0:03b7e8deb3ee 2017 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 2018 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 2019 info: \n
jvfausto 0:03b7e8deb3ee 2020 - msb = 15
jvfausto 0:03b7e8deb3ee 2021 - lsb = 0
jvfausto 0:03b7e8deb3ee 2022 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 2023 groups: \n
jvfausto 0:03b7e8deb3ee 2024 ['system_results', 'results']
jvfausto 0:03b7e8deb3ee 2025 fields: \n
jvfausto 0:03b7e8deb3ee 2026 - [15:0] = result__peak_signal_count_rate_crosstalk_corrected_mcps_sd0 (fixed point 9.7)
jvfausto 0:03b7e8deb3ee 2027 */
jvfausto 0:03b7e8deb3ee 2028 #define VL53L1_RESULT__PEAK_SIGNAL_COUNT_RATE_CROSSTALK_CORRECTED_MCPS_SD0_HI 0x0098
jvfausto 0:03b7e8deb3ee 2029 /*!<
jvfausto 0:03b7e8deb3ee 2030 info: \n
jvfausto 0:03b7e8deb3ee 2031 - msb = 0
jvfausto 0:03b7e8deb3ee 2032 - lsb = 0
jvfausto 0:03b7e8deb3ee 2033 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2034 */
jvfausto 0:03b7e8deb3ee 2035 #define VL53L1_RESULT__PEAK_SIGNAL_COUNT_RATE_CROSSTALK_CORRECTED_MCPS_SD0_LO 0x0099
jvfausto 0:03b7e8deb3ee 2036 /*!<
jvfausto 0:03b7e8deb3ee 2037 info: \n
jvfausto 0:03b7e8deb3ee 2038 - msb = 0
jvfausto 0:03b7e8deb3ee 2039 - lsb = 0
jvfausto 0:03b7e8deb3ee 2040 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2041 */
jvfausto 0:03b7e8deb3ee 2042 #define VL53L1_RESULT__MM_INNER_ACTUAL_EFFECTIVE_SPADS_SD0 0x009A
jvfausto 0:03b7e8deb3ee 2043 /*!<
jvfausto 0:03b7e8deb3ee 2044 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 2045 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 2046 info: \n
jvfausto 0:03b7e8deb3ee 2047 - msb = 15
jvfausto 0:03b7e8deb3ee 2048 - lsb = 0
jvfausto 0:03b7e8deb3ee 2049 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 2050 groups: \n
jvfausto 0:03b7e8deb3ee 2051 ['system_results', 'results']
jvfausto 0:03b7e8deb3ee 2052 fields: \n
jvfausto 0:03b7e8deb3ee 2053 - [15:0] = result__mm_inner_actual_effective_spads_sd0 (fixed point 8.8)
jvfausto 0:03b7e8deb3ee 2054 */
jvfausto 0:03b7e8deb3ee 2055 #define VL53L1_RESULT__MM_INNER_ACTUAL_EFFECTIVE_SPADS_SD0_HI 0x009A
jvfausto 0:03b7e8deb3ee 2056 /*!<
jvfausto 0:03b7e8deb3ee 2057 info: \n
jvfausto 0:03b7e8deb3ee 2058 - msb = 0
jvfausto 0:03b7e8deb3ee 2059 - lsb = 0
jvfausto 0:03b7e8deb3ee 2060 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2061 */
jvfausto 0:03b7e8deb3ee 2062 #define VL53L1_RESULT__MM_INNER_ACTUAL_EFFECTIVE_SPADS_SD0_LO 0x009B
jvfausto 0:03b7e8deb3ee 2063 /*!<
jvfausto 0:03b7e8deb3ee 2064 info: \n
jvfausto 0:03b7e8deb3ee 2065 - msb = 0
jvfausto 0:03b7e8deb3ee 2066 - lsb = 0
jvfausto 0:03b7e8deb3ee 2067 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2068 */
jvfausto 0:03b7e8deb3ee 2069 #define VL53L1_RESULT__MM_OUTER_ACTUAL_EFFECTIVE_SPADS_SD0 0x009C
jvfausto 0:03b7e8deb3ee 2070 /*!<
jvfausto 0:03b7e8deb3ee 2071 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 2072 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 2073 info: \n
jvfausto 0:03b7e8deb3ee 2074 - msb = 15
jvfausto 0:03b7e8deb3ee 2075 - lsb = 0
jvfausto 0:03b7e8deb3ee 2076 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 2077 groups: \n
jvfausto 0:03b7e8deb3ee 2078 ['system_results', 'results']
jvfausto 0:03b7e8deb3ee 2079 fields: \n
jvfausto 0:03b7e8deb3ee 2080 - [15:0] = result__mm_outer_actual_effective_spads_sd0 (fixed point 8.8)
jvfausto 0:03b7e8deb3ee 2081 */
jvfausto 0:03b7e8deb3ee 2082 #define VL53L1_RESULT__MM_OUTER_ACTUAL_EFFECTIVE_SPADS_SD0_HI 0x009C
jvfausto 0:03b7e8deb3ee 2083 /*!<
jvfausto 0:03b7e8deb3ee 2084 info: \n
jvfausto 0:03b7e8deb3ee 2085 - msb = 0
jvfausto 0:03b7e8deb3ee 2086 - lsb = 0
jvfausto 0:03b7e8deb3ee 2087 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2088 */
jvfausto 0:03b7e8deb3ee 2089 #define VL53L1_RESULT__MM_OUTER_ACTUAL_EFFECTIVE_SPADS_SD0_LO 0x009D
jvfausto 0:03b7e8deb3ee 2090 /*!<
jvfausto 0:03b7e8deb3ee 2091 info: \n
jvfausto 0:03b7e8deb3ee 2092 - msb = 0
jvfausto 0:03b7e8deb3ee 2093 - lsb = 0
jvfausto 0:03b7e8deb3ee 2094 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2095 */
jvfausto 0:03b7e8deb3ee 2096 #define VL53L1_RESULT__AVG_SIGNAL_COUNT_RATE_MCPS_SD0 0x009E
jvfausto 0:03b7e8deb3ee 2097 /*!<
jvfausto 0:03b7e8deb3ee 2098 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 2099 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 2100 info: \n
jvfausto 0:03b7e8deb3ee 2101 - msb = 15
jvfausto 0:03b7e8deb3ee 2102 - lsb = 0
jvfausto 0:03b7e8deb3ee 2103 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 2104 groups: \n
jvfausto 0:03b7e8deb3ee 2105 ['system_results', 'results']
jvfausto 0:03b7e8deb3ee 2106 fields: \n
jvfausto 0:03b7e8deb3ee 2107 - [15:0] = result__avg_signal_count_rate_mcps_sd0 (fixed point 9.7)
jvfausto 0:03b7e8deb3ee 2108 */
jvfausto 0:03b7e8deb3ee 2109 #define VL53L1_RESULT__AVG_SIGNAL_COUNT_RATE_MCPS_SD0_HI 0x009E
jvfausto 0:03b7e8deb3ee 2110 /*!<
jvfausto 0:03b7e8deb3ee 2111 info: \n
jvfausto 0:03b7e8deb3ee 2112 - msb = 0
jvfausto 0:03b7e8deb3ee 2113 - lsb = 0
jvfausto 0:03b7e8deb3ee 2114 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2115 */
jvfausto 0:03b7e8deb3ee 2116 #define VL53L1_RESULT__AVG_SIGNAL_COUNT_RATE_MCPS_SD0_LO 0x009F
jvfausto 0:03b7e8deb3ee 2117 /*!<
jvfausto 0:03b7e8deb3ee 2118 info: \n
jvfausto 0:03b7e8deb3ee 2119 - msb = 0
jvfausto 0:03b7e8deb3ee 2120 - lsb = 0
jvfausto 0:03b7e8deb3ee 2121 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2122 */
jvfausto 0:03b7e8deb3ee 2123 #define VL53L1_RESULT__DSS_ACTUAL_EFFECTIVE_SPADS_SD1 0x00A0
jvfausto 0:03b7e8deb3ee 2124 /*!<
jvfausto 0:03b7e8deb3ee 2125 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 2126 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 2127 info: \n
jvfausto 0:03b7e8deb3ee 2128 - msb = 15
jvfausto 0:03b7e8deb3ee 2129 - lsb = 0
jvfausto 0:03b7e8deb3ee 2130 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 2131 groups: \n
jvfausto 0:03b7e8deb3ee 2132 ['system_results', 'results']
jvfausto 0:03b7e8deb3ee 2133 fields: \n
jvfausto 0:03b7e8deb3ee 2134 - [15:0] = result__dss_actual_effective_spads_sd1 (fixed point 8.8)
jvfausto 0:03b7e8deb3ee 2135 */
jvfausto 0:03b7e8deb3ee 2136 #define VL53L1_RESULT__DSS_ACTUAL_EFFECTIVE_SPADS_SD1_HI 0x00A0
jvfausto 0:03b7e8deb3ee 2137 /*!<
jvfausto 0:03b7e8deb3ee 2138 info: \n
jvfausto 0:03b7e8deb3ee 2139 - msb = 0
jvfausto 0:03b7e8deb3ee 2140 - lsb = 0
jvfausto 0:03b7e8deb3ee 2141 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2142 */
jvfausto 0:03b7e8deb3ee 2143 #define VL53L1_RESULT__DSS_ACTUAL_EFFECTIVE_SPADS_SD1_LO 0x00A1
jvfausto 0:03b7e8deb3ee 2144 /*!<
jvfausto 0:03b7e8deb3ee 2145 info: \n
jvfausto 0:03b7e8deb3ee 2146 - msb = 0
jvfausto 0:03b7e8deb3ee 2147 - lsb = 0
jvfausto 0:03b7e8deb3ee 2148 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2149 */
jvfausto 0:03b7e8deb3ee 2150 #define VL53L1_RESULT__PEAK_SIGNAL_COUNT_RATE_MCPS_SD1 0x00A2
jvfausto 0:03b7e8deb3ee 2151 /*!<
jvfausto 0:03b7e8deb3ee 2152 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 2153 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 2154 info: \n
jvfausto 0:03b7e8deb3ee 2155 - msb = 15
jvfausto 0:03b7e8deb3ee 2156 - lsb = 0
jvfausto 0:03b7e8deb3ee 2157 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 2158 groups: \n
jvfausto 0:03b7e8deb3ee 2159 ['system_results', 'results']
jvfausto 0:03b7e8deb3ee 2160 fields: \n
jvfausto 0:03b7e8deb3ee 2161 - [15:0] = result__peak_signal_count_rate_mcps_sd1 (fixed point 9.7)
jvfausto 0:03b7e8deb3ee 2162 */
jvfausto 0:03b7e8deb3ee 2163 #define VL53L1_RESULT__PEAK_SIGNAL_COUNT_RATE_MCPS_SD1_HI 0x00A2
jvfausto 0:03b7e8deb3ee 2164 /*!<
jvfausto 0:03b7e8deb3ee 2165 info: \n
jvfausto 0:03b7e8deb3ee 2166 - msb = 0
jvfausto 0:03b7e8deb3ee 2167 - lsb = 0
jvfausto 0:03b7e8deb3ee 2168 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2169 */
jvfausto 0:03b7e8deb3ee 2170 #define VL53L1_RESULT__PEAK_SIGNAL_COUNT_RATE_MCPS_SD1_LO 0x00A3
jvfausto 0:03b7e8deb3ee 2171 /*!<
jvfausto 0:03b7e8deb3ee 2172 info: \n
jvfausto 0:03b7e8deb3ee 2173 - msb = 0
jvfausto 0:03b7e8deb3ee 2174 - lsb = 0
jvfausto 0:03b7e8deb3ee 2175 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2176 */
jvfausto 0:03b7e8deb3ee 2177 #define VL53L1_RESULT__AMBIENT_COUNT_RATE_MCPS_SD1 0x00A4
jvfausto 0:03b7e8deb3ee 2178 /*!<
jvfausto 0:03b7e8deb3ee 2179 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 2180 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 2181 info: \n
jvfausto 0:03b7e8deb3ee 2182 - msb = 15
jvfausto 0:03b7e8deb3ee 2183 - lsb = 0
jvfausto 0:03b7e8deb3ee 2184 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 2185 groups: \n
jvfausto 0:03b7e8deb3ee 2186 ['system_results', 'results']
jvfausto 0:03b7e8deb3ee 2187 fields: \n
jvfausto 0:03b7e8deb3ee 2188 - [15:0] = result__ambient_count_rate_mcps_sd1 (fixed point 9.7)
jvfausto 0:03b7e8deb3ee 2189 */
jvfausto 0:03b7e8deb3ee 2190 #define VL53L1_RESULT__AMBIENT_COUNT_RATE_MCPS_SD1_HI 0x00A4
jvfausto 0:03b7e8deb3ee 2191 /*!<
jvfausto 0:03b7e8deb3ee 2192 info: \n
jvfausto 0:03b7e8deb3ee 2193 - msb = 0
jvfausto 0:03b7e8deb3ee 2194 - lsb = 0
jvfausto 0:03b7e8deb3ee 2195 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2196 */
jvfausto 0:03b7e8deb3ee 2197 #define VL53L1_RESULT__AMBIENT_COUNT_RATE_MCPS_SD1_LO 0x00A5
jvfausto 0:03b7e8deb3ee 2198 /*!<
jvfausto 0:03b7e8deb3ee 2199 info: \n
jvfausto 0:03b7e8deb3ee 2200 - msb = 0
jvfausto 0:03b7e8deb3ee 2201 - lsb = 0
jvfausto 0:03b7e8deb3ee 2202 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2203 */
jvfausto 0:03b7e8deb3ee 2204 #define VL53L1_RESULT__SIGMA_SD1 0x00A6
jvfausto 0:03b7e8deb3ee 2205 /*!<
jvfausto 0:03b7e8deb3ee 2206 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 2207 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 2208 info: \n
jvfausto 0:03b7e8deb3ee 2209 - msb = 15
jvfausto 0:03b7e8deb3ee 2210 - lsb = 0
jvfausto 0:03b7e8deb3ee 2211 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 2212 groups: \n
jvfausto 0:03b7e8deb3ee 2213 ['system_results', 'results']
jvfausto 0:03b7e8deb3ee 2214 fields: \n
jvfausto 0:03b7e8deb3ee 2215 - [15:0] = result__sigma_sd1 (fixed point 14.2)
jvfausto 0:03b7e8deb3ee 2216 */
jvfausto 0:03b7e8deb3ee 2217 #define VL53L1_RESULT__SIGMA_SD1_HI 0x00A6
jvfausto 0:03b7e8deb3ee 2218 /*!<
jvfausto 0:03b7e8deb3ee 2219 info: \n
jvfausto 0:03b7e8deb3ee 2220 - msb = 0
jvfausto 0:03b7e8deb3ee 2221 - lsb = 0
jvfausto 0:03b7e8deb3ee 2222 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2223 */
jvfausto 0:03b7e8deb3ee 2224 #define VL53L1_RESULT__SIGMA_SD1_LO 0x00A7
jvfausto 0:03b7e8deb3ee 2225 /*!<
jvfausto 0:03b7e8deb3ee 2226 info: \n
jvfausto 0:03b7e8deb3ee 2227 - msb = 0
jvfausto 0:03b7e8deb3ee 2228 - lsb = 0
jvfausto 0:03b7e8deb3ee 2229 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2230 */
jvfausto 0:03b7e8deb3ee 2231 #define VL53L1_RESULT__PHASE_SD1 0x00A8
jvfausto 0:03b7e8deb3ee 2232 /*!<
jvfausto 0:03b7e8deb3ee 2233 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 2234 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 2235 info: \n
jvfausto 0:03b7e8deb3ee 2236 - msb = 15
jvfausto 0:03b7e8deb3ee 2237 - lsb = 0
jvfausto 0:03b7e8deb3ee 2238 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 2239 groups: \n
jvfausto 0:03b7e8deb3ee 2240 ['system_results', 'results']
jvfausto 0:03b7e8deb3ee 2241 fields: \n
jvfausto 0:03b7e8deb3ee 2242 - [15:0] = result__phase_sd1 (fixed point 5.11)
jvfausto 0:03b7e8deb3ee 2243 */
jvfausto 0:03b7e8deb3ee 2244 #define VL53L1_RESULT__PHASE_SD1_HI 0x00A8
jvfausto 0:03b7e8deb3ee 2245 /*!<
jvfausto 0:03b7e8deb3ee 2246 info: \n
jvfausto 0:03b7e8deb3ee 2247 - msb = 0
jvfausto 0:03b7e8deb3ee 2248 - lsb = 0
jvfausto 0:03b7e8deb3ee 2249 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2250 */
jvfausto 0:03b7e8deb3ee 2251 #define VL53L1_RESULT__PHASE_SD1_LO 0x00A9
jvfausto 0:03b7e8deb3ee 2252 /*!<
jvfausto 0:03b7e8deb3ee 2253 info: \n
jvfausto 0:03b7e8deb3ee 2254 - msb = 0
jvfausto 0:03b7e8deb3ee 2255 - lsb = 0
jvfausto 0:03b7e8deb3ee 2256 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2257 */
jvfausto 0:03b7e8deb3ee 2258 #define VL53L1_RESULT__FINAL_CROSSTALK_CORRECTED_RANGE_MM_SD1 0x00AA
jvfausto 0:03b7e8deb3ee 2259 /*!<
jvfausto 0:03b7e8deb3ee 2260 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 2261 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 2262 info: \n
jvfausto 0:03b7e8deb3ee 2263 - msb = 15
jvfausto 0:03b7e8deb3ee 2264 - lsb = 0
jvfausto 0:03b7e8deb3ee 2265 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 2266 groups: \n
jvfausto 0:03b7e8deb3ee 2267 ['system_results', 'results']
jvfausto 0:03b7e8deb3ee 2268 fields: \n
jvfausto 0:03b7e8deb3ee 2269 - [15:0] = result__final_crosstalk_corrected_range_mm_sd1
jvfausto 0:03b7e8deb3ee 2270 */
jvfausto 0:03b7e8deb3ee 2271 #define VL53L1_RESULT__FINAL_CROSSTALK_CORRECTED_RANGE_MM_SD1_HI 0x00AA
jvfausto 0:03b7e8deb3ee 2272 /*!<
jvfausto 0:03b7e8deb3ee 2273 info: \n
jvfausto 0:03b7e8deb3ee 2274 - msb = 0
jvfausto 0:03b7e8deb3ee 2275 - lsb = 0
jvfausto 0:03b7e8deb3ee 2276 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2277 */
jvfausto 0:03b7e8deb3ee 2278 #define VL53L1_RESULT__FINAL_CROSSTALK_CORRECTED_RANGE_MM_SD1_LO 0x00AB
jvfausto 0:03b7e8deb3ee 2279 /*!<
jvfausto 0:03b7e8deb3ee 2280 info: \n
jvfausto 0:03b7e8deb3ee 2281 - msb = 0
jvfausto 0:03b7e8deb3ee 2282 - lsb = 0
jvfausto 0:03b7e8deb3ee 2283 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2284 */
jvfausto 0:03b7e8deb3ee 2285 #define VL53L1_RESULT__SPARE_0_SD1 0x00AC
jvfausto 0:03b7e8deb3ee 2286 /*!<
jvfausto 0:03b7e8deb3ee 2287 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 2288 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 2289 info: \n
jvfausto 0:03b7e8deb3ee 2290 - msb = 15
jvfausto 0:03b7e8deb3ee 2291 - lsb = 0
jvfausto 0:03b7e8deb3ee 2292 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 2293 groups: \n
jvfausto 0:03b7e8deb3ee 2294 ['system_results', 'results']
jvfausto 0:03b7e8deb3ee 2295 fields: \n
jvfausto 0:03b7e8deb3ee 2296 - [15:0] = result__spare_0_sd1
jvfausto 0:03b7e8deb3ee 2297 */
jvfausto 0:03b7e8deb3ee 2298 #define VL53L1_RESULT__SPARE_0_SD1_HI 0x00AC
jvfausto 0:03b7e8deb3ee 2299 /*!<
jvfausto 0:03b7e8deb3ee 2300 info: \n
jvfausto 0:03b7e8deb3ee 2301 - msb = 0
jvfausto 0:03b7e8deb3ee 2302 - lsb = 0
jvfausto 0:03b7e8deb3ee 2303 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2304 */
jvfausto 0:03b7e8deb3ee 2305 #define VL53L1_RESULT__SPARE_0_SD1_LO 0x00AD
jvfausto 0:03b7e8deb3ee 2306 /*!<
jvfausto 0:03b7e8deb3ee 2307 info: \n
jvfausto 0:03b7e8deb3ee 2308 - msb = 0
jvfausto 0:03b7e8deb3ee 2309 - lsb = 0
jvfausto 0:03b7e8deb3ee 2310 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2311 */
jvfausto 0:03b7e8deb3ee 2312 #define VL53L1_RESULT__SPARE_1_SD1 0x00AE
jvfausto 0:03b7e8deb3ee 2313 /*!<
jvfausto 0:03b7e8deb3ee 2314 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 2315 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 2316 info: \n
jvfausto 0:03b7e8deb3ee 2317 - msb = 15
jvfausto 0:03b7e8deb3ee 2318 - lsb = 0
jvfausto 0:03b7e8deb3ee 2319 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 2320 groups: \n
jvfausto 0:03b7e8deb3ee 2321 ['system_results', 'results']
jvfausto 0:03b7e8deb3ee 2322 fields: \n
jvfausto 0:03b7e8deb3ee 2323 - [15:0] = result__spare_1_sd1
jvfausto 0:03b7e8deb3ee 2324 */
jvfausto 0:03b7e8deb3ee 2325 #define VL53L1_RESULT__SPARE_1_SD1_HI 0x00AE
jvfausto 0:03b7e8deb3ee 2326 /*!<
jvfausto 0:03b7e8deb3ee 2327 info: \n
jvfausto 0:03b7e8deb3ee 2328 - msb = 0
jvfausto 0:03b7e8deb3ee 2329 - lsb = 0
jvfausto 0:03b7e8deb3ee 2330 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2331 */
jvfausto 0:03b7e8deb3ee 2332 #define VL53L1_RESULT__SPARE_1_SD1_LO 0x00AF
jvfausto 0:03b7e8deb3ee 2333 /*!<
jvfausto 0:03b7e8deb3ee 2334 info: \n
jvfausto 0:03b7e8deb3ee 2335 - msb = 0
jvfausto 0:03b7e8deb3ee 2336 - lsb = 0
jvfausto 0:03b7e8deb3ee 2337 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2338 */
jvfausto 0:03b7e8deb3ee 2339 #define VL53L1_RESULT__SPARE_2_SD1 0x00B0
jvfausto 0:03b7e8deb3ee 2340 /*!<
jvfausto 0:03b7e8deb3ee 2341 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 2342 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 2343 info: \n
jvfausto 0:03b7e8deb3ee 2344 - msb = 15
jvfausto 0:03b7e8deb3ee 2345 - lsb = 0
jvfausto 0:03b7e8deb3ee 2346 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 2347 groups: \n
jvfausto 0:03b7e8deb3ee 2348 ['system_results', 'results']
jvfausto 0:03b7e8deb3ee 2349 fields: \n
jvfausto 0:03b7e8deb3ee 2350 - [15:0] = result__spare_2_sd1
jvfausto 0:03b7e8deb3ee 2351 */
jvfausto 0:03b7e8deb3ee 2352 #define VL53L1_RESULT__SPARE_2_SD1_HI 0x00B0
jvfausto 0:03b7e8deb3ee 2353 /*!<
jvfausto 0:03b7e8deb3ee 2354 info: \n
jvfausto 0:03b7e8deb3ee 2355 - msb = 0
jvfausto 0:03b7e8deb3ee 2356 - lsb = 0
jvfausto 0:03b7e8deb3ee 2357 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2358 */
jvfausto 0:03b7e8deb3ee 2359 #define VL53L1_RESULT__SPARE_2_SD1_LO 0x00B1
jvfausto 0:03b7e8deb3ee 2360 /*!<
jvfausto 0:03b7e8deb3ee 2361 info: \n
jvfausto 0:03b7e8deb3ee 2362 - msb = 0
jvfausto 0:03b7e8deb3ee 2363 - lsb = 0
jvfausto 0:03b7e8deb3ee 2364 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2365 */
jvfausto 0:03b7e8deb3ee 2366 #define VL53L1_RESULT__SPARE_3_SD1 0x00B2
jvfausto 0:03b7e8deb3ee 2367 /*!<
jvfausto 0:03b7e8deb3ee 2368 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 2369 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 2370 info: \n
jvfausto 0:03b7e8deb3ee 2371 - msb = 7
jvfausto 0:03b7e8deb3ee 2372 - lsb = 0
jvfausto 0:03b7e8deb3ee 2373 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2374 groups: \n
jvfausto 0:03b7e8deb3ee 2375 ['system_results', 'results']
jvfausto 0:03b7e8deb3ee 2376 fields: \n
jvfausto 0:03b7e8deb3ee 2377 - [7:0] = result__spare_3_sd1
jvfausto 0:03b7e8deb3ee 2378 */
jvfausto 0:03b7e8deb3ee 2379 #define VL53L1_RESULT__THRESH_INFO 0x00B3
jvfausto 0:03b7e8deb3ee 2380 /*!<
jvfausto 0:03b7e8deb3ee 2381 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 2382 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 2383 info: \n
jvfausto 0:03b7e8deb3ee 2384 - msb = 7
jvfausto 0:03b7e8deb3ee 2385 - lsb = 0
jvfausto 0:03b7e8deb3ee 2386 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2387 groups: \n
jvfausto 0:03b7e8deb3ee 2388 ['system_results', 'results']
jvfausto 0:03b7e8deb3ee 2389 fields: \n
jvfausto 0:03b7e8deb3ee 2390 - [3:0] = result__distance_int_info
jvfausto 0:03b7e8deb3ee 2391 - [7:4] = result__rate_int_info
jvfausto 0:03b7e8deb3ee 2392 */
jvfausto 0:03b7e8deb3ee 2393 #define VL53L1_RESULT_CORE__AMBIENT_WINDOW_EVENTS_SD0 0x00B4
jvfausto 0:03b7e8deb3ee 2394 /*!<
jvfausto 0:03b7e8deb3ee 2395 type: uint32_t \n
jvfausto 0:03b7e8deb3ee 2396 default: 0x00000000 \n
jvfausto 0:03b7e8deb3ee 2397 info: \n
jvfausto 0:03b7e8deb3ee 2398 - msb = 31
jvfausto 0:03b7e8deb3ee 2399 - lsb = 0
jvfausto 0:03b7e8deb3ee 2400 - i2c_size = 4
jvfausto 0:03b7e8deb3ee 2401 groups: \n
jvfausto 0:03b7e8deb3ee 2402 ['core_results', 'ranging_core_results']
jvfausto 0:03b7e8deb3ee 2403 fields: \n
jvfausto 0:03b7e8deb3ee 2404 - [31:0] = result_core__ambient_window_events_sd0
jvfausto 0:03b7e8deb3ee 2405 */
jvfausto 0:03b7e8deb3ee 2406 #define VL53L1_RESULT_CORE__AMBIENT_WINDOW_EVENTS_SD0_3 0x00B4
jvfausto 0:03b7e8deb3ee 2407 /*!<
jvfausto 0:03b7e8deb3ee 2408 info: \n
jvfausto 0:03b7e8deb3ee 2409 - msb = 0
jvfausto 0:03b7e8deb3ee 2410 - lsb = 0
jvfausto 0:03b7e8deb3ee 2411 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2412 */
jvfausto 0:03b7e8deb3ee 2413 #define VL53L1_RESULT_CORE__AMBIENT_WINDOW_EVENTS_SD0_2 0x00B5
jvfausto 0:03b7e8deb3ee 2414 /*!<
jvfausto 0:03b7e8deb3ee 2415 info: \n
jvfausto 0:03b7e8deb3ee 2416 - msb = 0
jvfausto 0:03b7e8deb3ee 2417 - lsb = 0
jvfausto 0:03b7e8deb3ee 2418 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2419 */
jvfausto 0:03b7e8deb3ee 2420 #define VL53L1_RESULT_CORE__AMBIENT_WINDOW_EVENTS_SD0_1 0x00B6
jvfausto 0:03b7e8deb3ee 2421 /*!<
jvfausto 0:03b7e8deb3ee 2422 info: \n
jvfausto 0:03b7e8deb3ee 2423 - msb = 0
jvfausto 0:03b7e8deb3ee 2424 - lsb = 0
jvfausto 0:03b7e8deb3ee 2425 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2426 */
jvfausto 0:03b7e8deb3ee 2427 #define VL53L1_RESULT_CORE__AMBIENT_WINDOW_EVENTS_SD0_0 0x00B7
jvfausto 0:03b7e8deb3ee 2428 /*!<
jvfausto 0:03b7e8deb3ee 2429 info: \n
jvfausto 0:03b7e8deb3ee 2430 - msb = 0
jvfausto 0:03b7e8deb3ee 2431 - lsb = 0
jvfausto 0:03b7e8deb3ee 2432 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2433 */
jvfausto 0:03b7e8deb3ee 2434 #define VL53L1_RESULT_CORE__RANGING_TOTAL_EVENTS_SD0 0x00B8
jvfausto 0:03b7e8deb3ee 2435 /*!<
jvfausto 0:03b7e8deb3ee 2436 type: uint32_t \n
jvfausto 0:03b7e8deb3ee 2437 default: 0x00000000 \n
jvfausto 0:03b7e8deb3ee 2438 info: \n
jvfausto 0:03b7e8deb3ee 2439 - msb = 31
jvfausto 0:03b7e8deb3ee 2440 - lsb = 0
jvfausto 0:03b7e8deb3ee 2441 - i2c_size = 4
jvfausto 0:03b7e8deb3ee 2442 groups: \n
jvfausto 0:03b7e8deb3ee 2443 ['core_results', 'ranging_core_results']
jvfausto 0:03b7e8deb3ee 2444 fields: \n
jvfausto 0:03b7e8deb3ee 2445 - [31:0] = result_core__ranging_total_events_sd0
jvfausto 0:03b7e8deb3ee 2446 */
jvfausto 0:03b7e8deb3ee 2447 #define VL53L1_RESULT_CORE__RANGING_TOTAL_EVENTS_SD0_3 0x00B8
jvfausto 0:03b7e8deb3ee 2448 /*!<
jvfausto 0:03b7e8deb3ee 2449 info: \n
jvfausto 0:03b7e8deb3ee 2450 - msb = 0
jvfausto 0:03b7e8deb3ee 2451 - lsb = 0
jvfausto 0:03b7e8deb3ee 2452 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2453 */
jvfausto 0:03b7e8deb3ee 2454 #define VL53L1_RESULT_CORE__RANGING_TOTAL_EVENTS_SD0_2 0x00B9
jvfausto 0:03b7e8deb3ee 2455 /*!<
jvfausto 0:03b7e8deb3ee 2456 info: \n
jvfausto 0:03b7e8deb3ee 2457 - msb = 0
jvfausto 0:03b7e8deb3ee 2458 - lsb = 0
jvfausto 0:03b7e8deb3ee 2459 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2460 */
jvfausto 0:03b7e8deb3ee 2461 #define VL53L1_RESULT_CORE__RANGING_TOTAL_EVENTS_SD0_1 0x00BA
jvfausto 0:03b7e8deb3ee 2462 /*!<
jvfausto 0:03b7e8deb3ee 2463 info: \n
jvfausto 0:03b7e8deb3ee 2464 - msb = 0
jvfausto 0:03b7e8deb3ee 2465 - lsb = 0
jvfausto 0:03b7e8deb3ee 2466 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2467 */
jvfausto 0:03b7e8deb3ee 2468 #define VL53L1_RESULT_CORE__RANGING_TOTAL_EVENTS_SD0_0 0x00BB
jvfausto 0:03b7e8deb3ee 2469 /*!<
jvfausto 0:03b7e8deb3ee 2470 info: \n
jvfausto 0:03b7e8deb3ee 2471 - msb = 0
jvfausto 0:03b7e8deb3ee 2472 - lsb = 0
jvfausto 0:03b7e8deb3ee 2473 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2474 */
jvfausto 0:03b7e8deb3ee 2475 #define VL53L1_RESULT_CORE__SIGNAL_TOTAL_EVENTS_SD0 0x00BC
jvfausto 0:03b7e8deb3ee 2476 /*!<
jvfausto 0:03b7e8deb3ee 2477 type: int32_t \n
jvfausto 0:03b7e8deb3ee 2478 default: 0x00000000 \n
jvfausto 0:03b7e8deb3ee 2479 info: \n
jvfausto 0:03b7e8deb3ee 2480 - msb = 31
jvfausto 0:03b7e8deb3ee 2481 - lsb = 0
jvfausto 0:03b7e8deb3ee 2482 - i2c_size = 4
jvfausto 0:03b7e8deb3ee 2483 groups: \n
jvfausto 0:03b7e8deb3ee 2484 ['core_results', 'ranging_core_results']
jvfausto 0:03b7e8deb3ee 2485 fields: \n
jvfausto 0:03b7e8deb3ee 2486 - [31:0] = result_core__signal_total_events_sd0
jvfausto 0:03b7e8deb3ee 2487 */
jvfausto 0:03b7e8deb3ee 2488 #define VL53L1_RESULT_CORE__SIGNAL_TOTAL_EVENTS_SD0_3 0x00BC
jvfausto 0:03b7e8deb3ee 2489 /*!<
jvfausto 0:03b7e8deb3ee 2490 info: \n
jvfausto 0:03b7e8deb3ee 2491 - msb = 0
jvfausto 0:03b7e8deb3ee 2492 - lsb = 0
jvfausto 0:03b7e8deb3ee 2493 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2494 */
jvfausto 0:03b7e8deb3ee 2495 #define VL53L1_RESULT_CORE__SIGNAL_TOTAL_EVENTS_SD0_2 0x00BD
jvfausto 0:03b7e8deb3ee 2496 /*!<
jvfausto 0:03b7e8deb3ee 2497 info: \n
jvfausto 0:03b7e8deb3ee 2498 - msb = 0
jvfausto 0:03b7e8deb3ee 2499 - lsb = 0
jvfausto 0:03b7e8deb3ee 2500 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2501 */
jvfausto 0:03b7e8deb3ee 2502 #define VL53L1_RESULT_CORE__SIGNAL_TOTAL_EVENTS_SD0_1 0x00BE
jvfausto 0:03b7e8deb3ee 2503 /*!<
jvfausto 0:03b7e8deb3ee 2504 info: \n
jvfausto 0:03b7e8deb3ee 2505 - msb = 0
jvfausto 0:03b7e8deb3ee 2506 - lsb = 0
jvfausto 0:03b7e8deb3ee 2507 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2508 */
jvfausto 0:03b7e8deb3ee 2509 #define VL53L1_RESULT_CORE__SIGNAL_TOTAL_EVENTS_SD0_0 0x00BF
jvfausto 0:03b7e8deb3ee 2510 /*!<
jvfausto 0:03b7e8deb3ee 2511 info: \n
jvfausto 0:03b7e8deb3ee 2512 - msb = 0
jvfausto 0:03b7e8deb3ee 2513 - lsb = 0
jvfausto 0:03b7e8deb3ee 2514 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2515 */
jvfausto 0:03b7e8deb3ee 2516 #define VL53L1_RESULT_CORE__TOTAL_PERIODS_ELAPSED_SD0 0x00C0
jvfausto 0:03b7e8deb3ee 2517 /*!<
jvfausto 0:03b7e8deb3ee 2518 type: uint32_t \n
jvfausto 0:03b7e8deb3ee 2519 default: 0x00000000 \n
jvfausto 0:03b7e8deb3ee 2520 info: \n
jvfausto 0:03b7e8deb3ee 2521 - msb = 31
jvfausto 0:03b7e8deb3ee 2522 - lsb = 0
jvfausto 0:03b7e8deb3ee 2523 - i2c_size = 4
jvfausto 0:03b7e8deb3ee 2524 groups: \n
jvfausto 0:03b7e8deb3ee 2525 ['core_results', 'ranging_core_results']
jvfausto 0:03b7e8deb3ee 2526 fields: \n
jvfausto 0:03b7e8deb3ee 2527 - [31:0] = result_core__total_periods_elapsed_sd0
jvfausto 0:03b7e8deb3ee 2528 */
jvfausto 0:03b7e8deb3ee 2529 #define VL53L1_RESULT_CORE__TOTAL_PERIODS_ELAPSED_SD0_3 0x00C0
jvfausto 0:03b7e8deb3ee 2530 /*!<
jvfausto 0:03b7e8deb3ee 2531 info: \n
jvfausto 0:03b7e8deb3ee 2532 - msb = 0
jvfausto 0:03b7e8deb3ee 2533 - lsb = 0
jvfausto 0:03b7e8deb3ee 2534 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2535 */
jvfausto 0:03b7e8deb3ee 2536 #define VL53L1_RESULT_CORE__TOTAL_PERIODS_ELAPSED_SD0_2 0x00C1
jvfausto 0:03b7e8deb3ee 2537 /*!<
jvfausto 0:03b7e8deb3ee 2538 info: \n
jvfausto 0:03b7e8deb3ee 2539 - msb = 0
jvfausto 0:03b7e8deb3ee 2540 - lsb = 0
jvfausto 0:03b7e8deb3ee 2541 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2542 */
jvfausto 0:03b7e8deb3ee 2543 #define VL53L1_RESULT_CORE__TOTAL_PERIODS_ELAPSED_SD0_1 0x00C2
jvfausto 0:03b7e8deb3ee 2544 /*!<
jvfausto 0:03b7e8deb3ee 2545 info: \n
jvfausto 0:03b7e8deb3ee 2546 - msb = 0
jvfausto 0:03b7e8deb3ee 2547 - lsb = 0
jvfausto 0:03b7e8deb3ee 2548 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2549 */
jvfausto 0:03b7e8deb3ee 2550 #define VL53L1_RESULT_CORE__TOTAL_PERIODS_ELAPSED_SD0_0 0x00C3
jvfausto 0:03b7e8deb3ee 2551 /*!<
jvfausto 0:03b7e8deb3ee 2552 info: \n
jvfausto 0:03b7e8deb3ee 2553 - msb = 0
jvfausto 0:03b7e8deb3ee 2554 - lsb = 0
jvfausto 0:03b7e8deb3ee 2555 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2556 */
jvfausto 0:03b7e8deb3ee 2557 #define VL53L1_RESULT_CORE__AMBIENT_WINDOW_EVENTS_SD1 0x00C4
jvfausto 0:03b7e8deb3ee 2558 /*!<
jvfausto 0:03b7e8deb3ee 2559 type: uint32_t \n
jvfausto 0:03b7e8deb3ee 2560 default: 0x00000000 \n
jvfausto 0:03b7e8deb3ee 2561 info: \n
jvfausto 0:03b7e8deb3ee 2562 - msb = 31
jvfausto 0:03b7e8deb3ee 2563 - lsb = 0
jvfausto 0:03b7e8deb3ee 2564 - i2c_size = 4
jvfausto 0:03b7e8deb3ee 2565 groups: \n
jvfausto 0:03b7e8deb3ee 2566 ['core_results', 'ranging_core_results']
jvfausto 0:03b7e8deb3ee 2567 fields: \n
jvfausto 0:03b7e8deb3ee 2568 - [31:0] = result_core__ambient_window_events_sd1
jvfausto 0:03b7e8deb3ee 2569 */
jvfausto 0:03b7e8deb3ee 2570 #define VL53L1_RESULT_CORE__AMBIENT_WINDOW_EVENTS_SD1_3 0x00C4
jvfausto 0:03b7e8deb3ee 2571 /*!<
jvfausto 0:03b7e8deb3ee 2572 info: \n
jvfausto 0:03b7e8deb3ee 2573 - msb = 0
jvfausto 0:03b7e8deb3ee 2574 - lsb = 0
jvfausto 0:03b7e8deb3ee 2575 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2576 */
jvfausto 0:03b7e8deb3ee 2577 #define VL53L1_RESULT_CORE__AMBIENT_WINDOW_EVENTS_SD1_2 0x00C5
jvfausto 0:03b7e8deb3ee 2578 /*!<
jvfausto 0:03b7e8deb3ee 2579 info: \n
jvfausto 0:03b7e8deb3ee 2580 - msb = 0
jvfausto 0:03b7e8deb3ee 2581 - lsb = 0
jvfausto 0:03b7e8deb3ee 2582 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2583 */
jvfausto 0:03b7e8deb3ee 2584 #define VL53L1_RESULT_CORE__AMBIENT_WINDOW_EVENTS_SD1_1 0x00C6
jvfausto 0:03b7e8deb3ee 2585 /*!<
jvfausto 0:03b7e8deb3ee 2586 info: \n
jvfausto 0:03b7e8deb3ee 2587 - msb = 0
jvfausto 0:03b7e8deb3ee 2588 - lsb = 0
jvfausto 0:03b7e8deb3ee 2589 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2590 */
jvfausto 0:03b7e8deb3ee 2591 #define VL53L1_RESULT_CORE__AMBIENT_WINDOW_EVENTS_SD1_0 0x00C7
jvfausto 0:03b7e8deb3ee 2592 /*!<
jvfausto 0:03b7e8deb3ee 2593 info: \n
jvfausto 0:03b7e8deb3ee 2594 - msb = 0
jvfausto 0:03b7e8deb3ee 2595 - lsb = 0
jvfausto 0:03b7e8deb3ee 2596 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2597 */
jvfausto 0:03b7e8deb3ee 2598 #define VL53L1_RESULT_CORE__RANGING_TOTAL_EVENTS_SD1 0x00C8
jvfausto 0:03b7e8deb3ee 2599 /*!<
jvfausto 0:03b7e8deb3ee 2600 type: uint32_t \n
jvfausto 0:03b7e8deb3ee 2601 default: 0x00000000 \n
jvfausto 0:03b7e8deb3ee 2602 info: \n
jvfausto 0:03b7e8deb3ee 2603 - msb = 31
jvfausto 0:03b7e8deb3ee 2604 - lsb = 0
jvfausto 0:03b7e8deb3ee 2605 - i2c_size = 4
jvfausto 0:03b7e8deb3ee 2606 groups: \n
jvfausto 0:03b7e8deb3ee 2607 ['core_results', 'ranging_core_results']
jvfausto 0:03b7e8deb3ee 2608 fields: \n
jvfausto 0:03b7e8deb3ee 2609 - [31:0] = result_core__ranging_total_events_sd1
jvfausto 0:03b7e8deb3ee 2610 */
jvfausto 0:03b7e8deb3ee 2611 #define VL53L1_RESULT_CORE__RANGING_TOTAL_EVENTS_SD1_3 0x00C8
jvfausto 0:03b7e8deb3ee 2612 /*!<
jvfausto 0:03b7e8deb3ee 2613 info: \n
jvfausto 0:03b7e8deb3ee 2614 - msb = 0
jvfausto 0:03b7e8deb3ee 2615 - lsb = 0
jvfausto 0:03b7e8deb3ee 2616 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2617 */
jvfausto 0:03b7e8deb3ee 2618 #define VL53L1_RESULT_CORE__RANGING_TOTAL_EVENTS_SD1_2 0x00C9
jvfausto 0:03b7e8deb3ee 2619 /*!<
jvfausto 0:03b7e8deb3ee 2620 info: \n
jvfausto 0:03b7e8deb3ee 2621 - msb = 0
jvfausto 0:03b7e8deb3ee 2622 - lsb = 0
jvfausto 0:03b7e8deb3ee 2623 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2624 */
jvfausto 0:03b7e8deb3ee 2625 #define VL53L1_RESULT_CORE__RANGING_TOTAL_EVENTS_SD1_1 0x00CA
jvfausto 0:03b7e8deb3ee 2626 /*!<
jvfausto 0:03b7e8deb3ee 2627 info: \n
jvfausto 0:03b7e8deb3ee 2628 - msb = 0
jvfausto 0:03b7e8deb3ee 2629 - lsb = 0
jvfausto 0:03b7e8deb3ee 2630 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2631 */
jvfausto 0:03b7e8deb3ee 2632 #define VL53L1_RESULT_CORE__RANGING_TOTAL_EVENTS_SD1_0 0x00CB
jvfausto 0:03b7e8deb3ee 2633 /*!<
jvfausto 0:03b7e8deb3ee 2634 info: \n
jvfausto 0:03b7e8deb3ee 2635 - msb = 0
jvfausto 0:03b7e8deb3ee 2636 - lsb = 0
jvfausto 0:03b7e8deb3ee 2637 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2638 */
jvfausto 0:03b7e8deb3ee 2639 #define VL53L1_RESULT_CORE__SIGNAL_TOTAL_EVENTS_SD1 0x00CC
jvfausto 0:03b7e8deb3ee 2640 /*!<
jvfausto 0:03b7e8deb3ee 2641 type: int32_t \n
jvfausto 0:03b7e8deb3ee 2642 default: 0x00000000 \n
jvfausto 0:03b7e8deb3ee 2643 info: \n
jvfausto 0:03b7e8deb3ee 2644 - msb = 31
jvfausto 0:03b7e8deb3ee 2645 - lsb = 0
jvfausto 0:03b7e8deb3ee 2646 - i2c_size = 4
jvfausto 0:03b7e8deb3ee 2647 groups: \n
jvfausto 0:03b7e8deb3ee 2648 ['core_results', 'ranging_core_results']
jvfausto 0:03b7e8deb3ee 2649 fields: \n
jvfausto 0:03b7e8deb3ee 2650 - [31:0] = result_core__signal_total_events_sd1
jvfausto 0:03b7e8deb3ee 2651 */
jvfausto 0:03b7e8deb3ee 2652 #define VL53L1_RESULT_CORE__SIGNAL_TOTAL_EVENTS_SD1_3 0x00CC
jvfausto 0:03b7e8deb3ee 2653 /*!<
jvfausto 0:03b7e8deb3ee 2654 info: \n
jvfausto 0:03b7e8deb3ee 2655 - msb = 0
jvfausto 0:03b7e8deb3ee 2656 - lsb = 0
jvfausto 0:03b7e8deb3ee 2657 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2658 */
jvfausto 0:03b7e8deb3ee 2659 #define VL53L1_RESULT_CORE__SIGNAL_TOTAL_EVENTS_SD1_2 0x00CD
jvfausto 0:03b7e8deb3ee 2660 /*!<
jvfausto 0:03b7e8deb3ee 2661 info: \n
jvfausto 0:03b7e8deb3ee 2662 - msb = 0
jvfausto 0:03b7e8deb3ee 2663 - lsb = 0
jvfausto 0:03b7e8deb3ee 2664 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2665 */
jvfausto 0:03b7e8deb3ee 2666 #define VL53L1_RESULT_CORE__SIGNAL_TOTAL_EVENTS_SD1_1 0x00CE
jvfausto 0:03b7e8deb3ee 2667 /*!<
jvfausto 0:03b7e8deb3ee 2668 info: \n
jvfausto 0:03b7e8deb3ee 2669 - msb = 0
jvfausto 0:03b7e8deb3ee 2670 - lsb = 0
jvfausto 0:03b7e8deb3ee 2671 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2672 */
jvfausto 0:03b7e8deb3ee 2673 #define VL53L1_RESULT_CORE__SIGNAL_TOTAL_EVENTS_SD1_0 0x00CF
jvfausto 0:03b7e8deb3ee 2674 /*!<
jvfausto 0:03b7e8deb3ee 2675 info: \n
jvfausto 0:03b7e8deb3ee 2676 - msb = 0
jvfausto 0:03b7e8deb3ee 2677 - lsb = 0
jvfausto 0:03b7e8deb3ee 2678 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2679 */
jvfausto 0:03b7e8deb3ee 2680 #define VL53L1_RESULT_CORE__TOTAL_PERIODS_ELAPSED_SD1 0x00D0
jvfausto 0:03b7e8deb3ee 2681 /*!<
jvfausto 0:03b7e8deb3ee 2682 type: uint32_t \n
jvfausto 0:03b7e8deb3ee 2683 default: 0x00000000 \n
jvfausto 0:03b7e8deb3ee 2684 info: \n
jvfausto 0:03b7e8deb3ee 2685 - msb = 31
jvfausto 0:03b7e8deb3ee 2686 - lsb = 0
jvfausto 0:03b7e8deb3ee 2687 - i2c_size = 4
jvfausto 0:03b7e8deb3ee 2688 groups: \n
jvfausto 0:03b7e8deb3ee 2689 ['core_results', 'ranging_core_results']
jvfausto 0:03b7e8deb3ee 2690 fields: \n
jvfausto 0:03b7e8deb3ee 2691 - [31:0] = result_core__total_periods_elapsed_sd1
jvfausto 0:03b7e8deb3ee 2692 */
jvfausto 0:03b7e8deb3ee 2693 #define VL53L1_RESULT_CORE__TOTAL_PERIODS_ELAPSED_SD1_3 0x00D0
jvfausto 0:03b7e8deb3ee 2694 /*!<
jvfausto 0:03b7e8deb3ee 2695 info: \n
jvfausto 0:03b7e8deb3ee 2696 - msb = 0
jvfausto 0:03b7e8deb3ee 2697 - lsb = 0
jvfausto 0:03b7e8deb3ee 2698 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2699 */
jvfausto 0:03b7e8deb3ee 2700 #define VL53L1_RESULT_CORE__TOTAL_PERIODS_ELAPSED_SD1_2 0x00D1
jvfausto 0:03b7e8deb3ee 2701 /*!<
jvfausto 0:03b7e8deb3ee 2702 info: \n
jvfausto 0:03b7e8deb3ee 2703 - msb = 0
jvfausto 0:03b7e8deb3ee 2704 - lsb = 0
jvfausto 0:03b7e8deb3ee 2705 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2706 */
jvfausto 0:03b7e8deb3ee 2707 #define VL53L1_RESULT_CORE__TOTAL_PERIODS_ELAPSED_SD1_1 0x00D2
jvfausto 0:03b7e8deb3ee 2708 /*!<
jvfausto 0:03b7e8deb3ee 2709 info: \n
jvfausto 0:03b7e8deb3ee 2710 - msb = 0
jvfausto 0:03b7e8deb3ee 2711 - lsb = 0
jvfausto 0:03b7e8deb3ee 2712 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2713 */
jvfausto 0:03b7e8deb3ee 2714 #define VL53L1_RESULT_CORE__TOTAL_PERIODS_ELAPSED_SD1_0 0x00D3
jvfausto 0:03b7e8deb3ee 2715 /*!<
jvfausto 0:03b7e8deb3ee 2716 info: \n
jvfausto 0:03b7e8deb3ee 2717 - msb = 0
jvfausto 0:03b7e8deb3ee 2718 - lsb = 0
jvfausto 0:03b7e8deb3ee 2719 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2720 */
jvfausto 0:03b7e8deb3ee 2721 #define VL53L1_RESULT_CORE__SPARE_0 0x00D4
jvfausto 0:03b7e8deb3ee 2722 /*!<
jvfausto 0:03b7e8deb3ee 2723 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 2724 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 2725 info: \n
jvfausto 0:03b7e8deb3ee 2726 - msb = 7
jvfausto 0:03b7e8deb3ee 2727 - lsb = 0
jvfausto 0:03b7e8deb3ee 2728 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2729 groups: \n
jvfausto 0:03b7e8deb3ee 2730 ['core_results', 'ranging_core_results']
jvfausto 0:03b7e8deb3ee 2731 fields: \n
jvfausto 0:03b7e8deb3ee 2732 - [7:0] = result_core__spare_0
jvfausto 0:03b7e8deb3ee 2733 */
jvfausto 0:03b7e8deb3ee 2734 #define VL53L1_PHASECAL_RESULT__REFERENCE_PHASE 0x00D6
jvfausto 0:03b7e8deb3ee 2735 /*!<
jvfausto 0:03b7e8deb3ee 2736 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 2737 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 2738 info: \n
jvfausto 0:03b7e8deb3ee 2739 - msb = 15
jvfausto 0:03b7e8deb3ee 2740 - lsb = 0
jvfausto 0:03b7e8deb3ee 2741 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 2742 groups: \n
jvfausto 0:03b7e8deb3ee 2743 ['debug_results', 'phasecal_results']
jvfausto 0:03b7e8deb3ee 2744 fields: \n
jvfausto 0:03b7e8deb3ee 2745 - [15:0] = result_phasecal__reference_phase (fixed point 5.11)
jvfausto 0:03b7e8deb3ee 2746 */
jvfausto 0:03b7e8deb3ee 2747 #define VL53L1_PHASECAL_RESULT__REFERENCE_PHASE_HI 0x00D6
jvfausto 0:03b7e8deb3ee 2748 /*!<
jvfausto 0:03b7e8deb3ee 2749 info: \n
jvfausto 0:03b7e8deb3ee 2750 - msb = 0
jvfausto 0:03b7e8deb3ee 2751 - lsb = 0
jvfausto 0:03b7e8deb3ee 2752 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2753 */
jvfausto 0:03b7e8deb3ee 2754 #define VL53L1_PHASECAL_RESULT__REFERENCE_PHASE_LO 0x00D7
jvfausto 0:03b7e8deb3ee 2755 /*!<
jvfausto 0:03b7e8deb3ee 2756 info: \n
jvfausto 0:03b7e8deb3ee 2757 - msb = 0
jvfausto 0:03b7e8deb3ee 2758 - lsb = 0
jvfausto 0:03b7e8deb3ee 2759 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2760 */
jvfausto 0:03b7e8deb3ee 2761 #define VL53L1_PHASECAL_RESULT__VCSEL_START 0x00D8
jvfausto 0:03b7e8deb3ee 2762 /*!<
jvfausto 0:03b7e8deb3ee 2763 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 2764 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 2765 info: \n
jvfausto 0:03b7e8deb3ee 2766 - msb = 6
jvfausto 0:03b7e8deb3ee 2767 - lsb = 0
jvfausto 0:03b7e8deb3ee 2768 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2769 groups: \n
jvfausto 0:03b7e8deb3ee 2770 ['debug_results', 'phasecal_results']
jvfausto 0:03b7e8deb3ee 2771 fields: \n
jvfausto 0:03b7e8deb3ee 2772 - [6:0] = result_phasecal__vcsel_start
jvfausto 0:03b7e8deb3ee 2773 */
jvfausto 0:03b7e8deb3ee 2774 #define VL53L1_REF_SPAD_CHAR_RESULT__NUM_ACTUAL_REF_SPADS 0x00D9
jvfausto 0:03b7e8deb3ee 2775 /*!<
jvfausto 0:03b7e8deb3ee 2776 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 2777 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 2778 info: \n
jvfausto 0:03b7e8deb3ee 2779 - msb = 5
jvfausto 0:03b7e8deb3ee 2780 - lsb = 0
jvfausto 0:03b7e8deb3ee 2781 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2782 groups: \n
jvfausto 0:03b7e8deb3ee 2783 ['debug_results', 'ref_spad_status']
jvfausto 0:03b7e8deb3ee 2784 fields: \n
jvfausto 0:03b7e8deb3ee 2785 - [5:0] = ref_spad_char_result__num_actual_ref_spads
jvfausto 0:03b7e8deb3ee 2786 */
jvfausto 0:03b7e8deb3ee 2787 #define VL53L1_REF_SPAD_CHAR_RESULT__REF_LOCATION 0x00DA
jvfausto 0:03b7e8deb3ee 2788 /*!<
jvfausto 0:03b7e8deb3ee 2789 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 2790 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 2791 info: \n
jvfausto 0:03b7e8deb3ee 2792 - msb = 1
jvfausto 0:03b7e8deb3ee 2793 - lsb = 0
jvfausto 0:03b7e8deb3ee 2794 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2795 groups: \n
jvfausto 0:03b7e8deb3ee 2796 ['debug_results', 'ref_spad_status']
jvfausto 0:03b7e8deb3ee 2797 fields: \n
jvfausto 0:03b7e8deb3ee 2798 - [1:0] = ref_spad_char_result__ref_location
jvfausto 0:03b7e8deb3ee 2799 */
jvfausto 0:03b7e8deb3ee 2800 #define VL53L1_VHV_RESULT__COLDBOOT_STATUS 0x00DB
jvfausto 0:03b7e8deb3ee 2801 /*!<
jvfausto 0:03b7e8deb3ee 2802 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 2803 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 2804 info: \n
jvfausto 0:03b7e8deb3ee 2805 - msb = 0
jvfausto 0:03b7e8deb3ee 2806 - lsb = 0
jvfausto 0:03b7e8deb3ee 2807 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2808 groups: \n
jvfausto 0:03b7e8deb3ee 2809 ['debug_results', 'vhv_results']
jvfausto 0:03b7e8deb3ee 2810 fields: \n
jvfausto 0:03b7e8deb3ee 2811 - [0] = vhv_result__coldboot_status
jvfausto 0:03b7e8deb3ee 2812 */
jvfausto 0:03b7e8deb3ee 2813 #define VL53L1_VHV_RESULT__SEARCH_RESULT 0x00DC
jvfausto 0:03b7e8deb3ee 2814 /*!<
jvfausto 0:03b7e8deb3ee 2815 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 2816 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 2817 info: \n
jvfausto 0:03b7e8deb3ee 2818 - msb = 5
jvfausto 0:03b7e8deb3ee 2819 - lsb = 0
jvfausto 0:03b7e8deb3ee 2820 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2821 groups: \n
jvfausto 0:03b7e8deb3ee 2822 ['debug_results', 'vhv_results']
jvfausto 0:03b7e8deb3ee 2823 fields: \n
jvfausto 0:03b7e8deb3ee 2824 - [5:0] = cp_sel_result
jvfausto 0:03b7e8deb3ee 2825 */
jvfausto 0:03b7e8deb3ee 2826 #define VL53L1_VHV_RESULT__LATEST_SETTING 0x00DD
jvfausto 0:03b7e8deb3ee 2827 /*!<
jvfausto 0:03b7e8deb3ee 2828 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 2829 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 2830 info: \n
jvfausto 0:03b7e8deb3ee 2831 - msb = 5
jvfausto 0:03b7e8deb3ee 2832 - lsb = 0
jvfausto 0:03b7e8deb3ee 2833 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2834 groups: \n
jvfausto 0:03b7e8deb3ee 2835 ['debug_results', 'vhv_results']
jvfausto 0:03b7e8deb3ee 2836 fields: \n
jvfausto 0:03b7e8deb3ee 2837 - [5:0] = cp_sel_latest_setting
jvfausto 0:03b7e8deb3ee 2838 */
jvfausto 0:03b7e8deb3ee 2839 #define VL53L1_RESULT__OSC_CALIBRATE_VAL 0x00DE
jvfausto 0:03b7e8deb3ee 2840 /*!<
jvfausto 0:03b7e8deb3ee 2841 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 2842 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 2843 info: \n
jvfausto 0:03b7e8deb3ee 2844 - msb = 9
jvfausto 0:03b7e8deb3ee 2845 - lsb = 0
jvfausto 0:03b7e8deb3ee 2846 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 2847 groups: \n
jvfausto 0:03b7e8deb3ee 2848 ['debug_results', 'misc_results']
jvfausto 0:03b7e8deb3ee 2849 fields: \n
jvfausto 0:03b7e8deb3ee 2850 - [9:0] = osc_calibrate_val
jvfausto 0:03b7e8deb3ee 2851 */
jvfausto 0:03b7e8deb3ee 2852 #define VL53L1_RESULT__OSC_CALIBRATE_VAL_HI 0x00DE
jvfausto 0:03b7e8deb3ee 2853 /*!<
jvfausto 0:03b7e8deb3ee 2854 info: \n
jvfausto 0:03b7e8deb3ee 2855 - msb = 0
jvfausto 0:03b7e8deb3ee 2856 - lsb = 0
jvfausto 0:03b7e8deb3ee 2857 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2858 */
jvfausto 0:03b7e8deb3ee 2859 #define VL53L1_RESULT__OSC_CALIBRATE_VAL_LO 0x00DF
jvfausto 0:03b7e8deb3ee 2860 /*!<
jvfausto 0:03b7e8deb3ee 2861 info: \n
jvfausto 0:03b7e8deb3ee 2862 - msb = 0
jvfausto 0:03b7e8deb3ee 2863 - lsb = 0
jvfausto 0:03b7e8deb3ee 2864 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2865 */
jvfausto 0:03b7e8deb3ee 2866 #define VL53L1_ANA_CONFIG__POWERDOWN_GO1 0x00E0
jvfausto 0:03b7e8deb3ee 2867 /*!<
jvfausto 0:03b7e8deb3ee 2868 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 2869 default: 0x02 \n
jvfausto 0:03b7e8deb3ee 2870 info: \n
jvfausto 0:03b7e8deb3ee 2871 - msb = 1
jvfausto 0:03b7e8deb3ee 2872 - lsb = 0
jvfausto 0:03b7e8deb3ee 2873 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2874 groups: \n
jvfausto 0:03b7e8deb3ee 2875 ['debug_results', 'analog_config']
jvfausto 0:03b7e8deb3ee 2876 fields: \n
jvfausto 0:03b7e8deb3ee 2877 - [0] = go2_ref_bg_disable_avdd
jvfausto 0:03b7e8deb3ee 2878 - [1] = go2_regdvdd1v2_enable_avdd
jvfausto 0:03b7e8deb3ee 2879 */
jvfausto 0:03b7e8deb3ee 2880 #define VL53L1_ANA_CONFIG__REF_BG_CTRL 0x00E1
jvfausto 0:03b7e8deb3ee 2881 /*!<
jvfausto 0:03b7e8deb3ee 2882 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 2883 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 2884 info: \n
jvfausto 0:03b7e8deb3ee 2885 - msb = 1
jvfausto 0:03b7e8deb3ee 2886 - lsb = 0
jvfausto 0:03b7e8deb3ee 2887 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2888 groups: \n
jvfausto 0:03b7e8deb3ee 2889 ['debug_results', 'analog_config']
jvfausto 0:03b7e8deb3ee 2890 fields: \n
jvfausto 0:03b7e8deb3ee 2891 - [0] = go2_ref_overdrvbg_avdd
jvfausto 0:03b7e8deb3ee 2892 - [1] = go2_ref_forcebgison_avdd
jvfausto 0:03b7e8deb3ee 2893 */
jvfausto 0:03b7e8deb3ee 2894 #define VL53L1_ANA_CONFIG__REGDVDD1V2_CTRL 0x00E2
jvfausto 0:03b7e8deb3ee 2895 /*!<
jvfausto 0:03b7e8deb3ee 2896 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 2897 default: 0x01 \n
jvfausto 0:03b7e8deb3ee 2898 info: \n
jvfausto 0:03b7e8deb3ee 2899 - msb = 3
jvfausto 0:03b7e8deb3ee 2900 - lsb = 0
jvfausto 0:03b7e8deb3ee 2901 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2902 groups: \n
jvfausto 0:03b7e8deb3ee 2903 ['debug_results', 'analog_config']
jvfausto 0:03b7e8deb3ee 2904 fields: \n
jvfausto 0:03b7e8deb3ee 2905 - [0] = go2_regdvdd1v2_sel_pulldown_avdd
jvfausto 0:03b7e8deb3ee 2906 - [1] = go2_regdvdd1v2_sel_boost_avdd
jvfausto 0:03b7e8deb3ee 2907 - [3:2] = go2_regdvdd1v2_selv_avdd
jvfausto 0:03b7e8deb3ee 2908 */
jvfausto 0:03b7e8deb3ee 2909 #define VL53L1_ANA_CONFIG__OSC_SLOW_CTRL 0x00E3
jvfausto 0:03b7e8deb3ee 2910 /*!<
jvfausto 0:03b7e8deb3ee 2911 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 2912 default: 0x02 \n
jvfausto 0:03b7e8deb3ee 2913 info: \n
jvfausto 0:03b7e8deb3ee 2914 - msb = 2
jvfausto 0:03b7e8deb3ee 2915 - lsb = 0
jvfausto 0:03b7e8deb3ee 2916 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2917 groups: \n
jvfausto 0:03b7e8deb3ee 2918 ['debug_results', 'analog_config']
jvfausto 0:03b7e8deb3ee 2919 fields: \n
jvfausto 0:03b7e8deb3ee 2920 - [0] = osc_slow_en
jvfausto 0:03b7e8deb3ee 2921 - [1] = osc_slow_op_en
jvfausto 0:03b7e8deb3ee 2922 - [2] = osc_slow_freq_sel
jvfausto 0:03b7e8deb3ee 2923 */
jvfausto 0:03b7e8deb3ee 2924 #define VL53L1_TEST_MODE__STATUS 0x00E4
jvfausto 0:03b7e8deb3ee 2925 /*!<
jvfausto 0:03b7e8deb3ee 2926 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 2927 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 2928 info: \n
jvfausto 0:03b7e8deb3ee 2929 - msb = 0
jvfausto 0:03b7e8deb3ee 2930 - lsb = 0
jvfausto 0:03b7e8deb3ee 2931 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2932 groups: \n
jvfausto 0:03b7e8deb3ee 2933 ['debug_results', 'test_mode_status']
jvfausto 0:03b7e8deb3ee 2934 fields: \n
jvfausto 0:03b7e8deb3ee 2935 - [0] = test_mode_status
jvfausto 0:03b7e8deb3ee 2936 */
jvfausto 0:03b7e8deb3ee 2937 #define VL53L1_FIRMWARE__SYSTEM_STATUS 0x00E5
jvfausto 0:03b7e8deb3ee 2938 /*!<
jvfausto 0:03b7e8deb3ee 2939 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 2940 default: 0x02 \n
jvfausto 0:03b7e8deb3ee 2941 info: \n
jvfausto 0:03b7e8deb3ee 2942 - msb = 1
jvfausto 0:03b7e8deb3ee 2943 - lsb = 0
jvfausto 0:03b7e8deb3ee 2944 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2945 groups: \n
jvfausto 0:03b7e8deb3ee 2946 ['debug_results', 'firmware_status']
jvfausto 0:03b7e8deb3ee 2947 fields: \n
jvfausto 0:03b7e8deb3ee 2948 - [0] = firmware_bootup
jvfausto 0:03b7e8deb3ee 2949 - [1] = firmware_first_range
jvfausto 0:03b7e8deb3ee 2950 */
jvfausto 0:03b7e8deb3ee 2951 #define VL53L1_FIRMWARE__MODE_STATUS 0x00E6
jvfausto 0:03b7e8deb3ee 2952 /*!<
jvfausto 0:03b7e8deb3ee 2953 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 2954 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 2955 info: \n
jvfausto 0:03b7e8deb3ee 2956 - msb = 7
jvfausto 0:03b7e8deb3ee 2957 - lsb = 0
jvfausto 0:03b7e8deb3ee 2958 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2959 groups: \n
jvfausto 0:03b7e8deb3ee 2960 ['debug_results', 'firmware_status']
jvfausto 0:03b7e8deb3ee 2961 fields: \n
jvfausto 0:03b7e8deb3ee 2962 - [7:0] = firmware_mode_status
jvfausto 0:03b7e8deb3ee 2963 */
jvfausto 0:03b7e8deb3ee 2964 #define VL53L1_FIRMWARE__SECONDARY_MODE_STATUS 0x00E7
jvfausto 0:03b7e8deb3ee 2965 /*!<
jvfausto 0:03b7e8deb3ee 2966 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 2967 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 2968 info: \n
jvfausto 0:03b7e8deb3ee 2969 - msb = 7
jvfausto 0:03b7e8deb3ee 2970 - lsb = 0
jvfausto 0:03b7e8deb3ee 2971 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2972 groups: \n
jvfausto 0:03b7e8deb3ee 2973 ['debug_results', 'firmware_status']
jvfausto 0:03b7e8deb3ee 2974 fields: \n
jvfausto 0:03b7e8deb3ee 2975 - [7:0] = fw_secondary_mode_status
jvfausto 0:03b7e8deb3ee 2976 */
jvfausto 0:03b7e8deb3ee 2977 #define VL53L1_FIRMWARE__CAL_REPEAT_RATE_COUNTER 0x00E8
jvfausto 0:03b7e8deb3ee 2978 /*!<
jvfausto 0:03b7e8deb3ee 2979 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 2980 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 2981 info: \n
jvfausto 0:03b7e8deb3ee 2982 - msb = 11
jvfausto 0:03b7e8deb3ee 2983 - lsb = 0
jvfausto 0:03b7e8deb3ee 2984 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 2985 groups: \n
jvfausto 0:03b7e8deb3ee 2986 ['debug_results', 'firmware_status']
jvfausto 0:03b7e8deb3ee 2987 fields: \n
jvfausto 0:03b7e8deb3ee 2988 - [11:0] = firmware_cal_repeat_rate
jvfausto 0:03b7e8deb3ee 2989 */
jvfausto 0:03b7e8deb3ee 2990 #define VL53L1_FIRMWARE__CAL_REPEAT_RATE_COUNTER_HI 0x00E8
jvfausto 0:03b7e8deb3ee 2991 /*!<
jvfausto 0:03b7e8deb3ee 2992 info: \n
jvfausto 0:03b7e8deb3ee 2993 - msb = 0
jvfausto 0:03b7e8deb3ee 2994 - lsb = 0
jvfausto 0:03b7e8deb3ee 2995 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 2996 */
jvfausto 0:03b7e8deb3ee 2997 #define VL53L1_FIRMWARE__CAL_REPEAT_RATE_COUNTER_LO 0x00E9
jvfausto 0:03b7e8deb3ee 2998 /*!<
jvfausto 0:03b7e8deb3ee 2999 info: \n
jvfausto 0:03b7e8deb3ee 3000 - msb = 0
jvfausto 0:03b7e8deb3ee 3001 - lsb = 0
jvfausto 0:03b7e8deb3ee 3002 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 3003 */
jvfausto 0:03b7e8deb3ee 3004 #define VL53L1_FIRMWARE__HISTOGRAM_BIN 0x00EA
jvfausto 0:03b7e8deb3ee 3005 /*!<
jvfausto 0:03b7e8deb3ee 3006 info: \n
jvfausto 0:03b7e8deb3ee 3007 - msb = 0
jvfausto 0:03b7e8deb3ee 3008 - lsb = 0
jvfausto 0:03b7e8deb3ee 3009 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 3010 */
jvfausto 0:03b7e8deb3ee 3011 #define VL53L1_GPH__SYSTEM__THRESH_HIGH 0x00EC
jvfausto 0:03b7e8deb3ee 3012 /*!<
jvfausto 0:03b7e8deb3ee 3013 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 3014 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 3015 info: \n
jvfausto 0:03b7e8deb3ee 3016 - msb = 15
jvfausto 0:03b7e8deb3ee 3017 - lsb = 0
jvfausto 0:03b7e8deb3ee 3018 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 3019 groups: \n
jvfausto 0:03b7e8deb3ee 3020 ['debug_results', 'gph_actual']
jvfausto 0:03b7e8deb3ee 3021 fields: \n
jvfausto 0:03b7e8deb3ee 3022 - [15:0] = shadow_thresh_high
jvfausto 0:03b7e8deb3ee 3023 */
jvfausto 0:03b7e8deb3ee 3024 #define VL53L1_GPH__SYSTEM__THRESH_HIGH_HI 0x00EC
jvfausto 0:03b7e8deb3ee 3025 /*!<
jvfausto 0:03b7e8deb3ee 3026 info: \n
jvfausto 0:03b7e8deb3ee 3027 - msb = 0
jvfausto 0:03b7e8deb3ee 3028 - lsb = 0
jvfausto 0:03b7e8deb3ee 3029 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 3030 */
jvfausto 0:03b7e8deb3ee 3031 #define VL53L1_GPH__SYSTEM__THRESH_HIGH_LO 0x00ED
jvfausto 0:03b7e8deb3ee 3032 /*!<
jvfausto 0:03b7e8deb3ee 3033 info: \n
jvfausto 0:03b7e8deb3ee 3034 - msb = 0
jvfausto 0:03b7e8deb3ee 3035 - lsb = 0
jvfausto 0:03b7e8deb3ee 3036 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 3037 */
jvfausto 0:03b7e8deb3ee 3038 #define VL53L1_GPH__SYSTEM__THRESH_LOW 0x00EE
jvfausto 0:03b7e8deb3ee 3039 /*!<
jvfausto 0:03b7e8deb3ee 3040 type: uint16_t \n
jvfausto 0:03b7e8deb3ee 3041 default: 0x0000 \n
jvfausto 0:03b7e8deb3ee 3042 info: \n
jvfausto 0:03b7e8deb3ee 3043 - msb = 15
jvfausto 0:03b7e8deb3ee 3044 - lsb = 0
jvfausto 0:03b7e8deb3ee 3045 - i2c_size = 2
jvfausto 0:03b7e8deb3ee 3046 groups: \n
jvfausto 0:03b7e8deb3ee 3047 ['debug_results', 'gph_actual']
jvfausto 0:03b7e8deb3ee 3048 fields: \n
jvfausto 0:03b7e8deb3ee 3049 - [15:0] = shadow_thresh_low
jvfausto 0:03b7e8deb3ee 3050 */
jvfausto 0:03b7e8deb3ee 3051 #define VL53L1_GPH__SYSTEM__THRESH_LOW_HI 0x00EE
jvfausto 0:03b7e8deb3ee 3052 /*!<
jvfausto 0:03b7e8deb3ee 3053 info: \n
jvfausto 0:03b7e8deb3ee 3054 - msb = 0
jvfausto 0:03b7e8deb3ee 3055 - lsb = 0
jvfausto 0:03b7e8deb3ee 3056 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 3057 */
jvfausto 0:03b7e8deb3ee 3058 #define VL53L1_GPH__SYSTEM__THRESH_LOW_LO 0x00EF
jvfausto 0:03b7e8deb3ee 3059 /*!<
jvfausto 0:03b7e8deb3ee 3060 info: \n
jvfausto 0:03b7e8deb3ee 3061 - msb = 0
jvfausto 0:03b7e8deb3ee 3062 - lsb = 0
jvfausto 0:03b7e8deb3ee 3063 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 3064 */
jvfausto 0:03b7e8deb3ee 3065 #define VL53L1_GPH__SYSTEM__ENABLE_XTALK_PER_QUADRANT 0x00F0
jvfausto 0:03b7e8deb3ee 3066 /*!<
jvfausto 0:03b7e8deb3ee 3067 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 3068 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 3069 info: \n
jvfausto 0:03b7e8deb3ee 3070 - msb = 0
jvfausto 0:03b7e8deb3ee 3071 - lsb = 0
jvfausto 0:03b7e8deb3ee 3072 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 3073 groups: \n
jvfausto 0:03b7e8deb3ee 3074 ['debug_results', 'gph_actual']
jvfausto 0:03b7e8deb3ee 3075 fields: \n
jvfausto 0:03b7e8deb3ee 3076 - [0] = shadow__enable_xtalk_per_quadrant
jvfausto 0:03b7e8deb3ee 3077 */
jvfausto 0:03b7e8deb3ee 3078 #define VL53L1_GPH__SPARE_0 0x00F1
jvfausto 0:03b7e8deb3ee 3079 /*!<
jvfausto 0:03b7e8deb3ee 3080 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 3081 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 3082 info: \n
jvfausto 0:03b7e8deb3ee 3083 - msb = 2
jvfausto 0:03b7e8deb3ee 3084 - lsb = 0
jvfausto 0:03b7e8deb3ee 3085 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 3086 groups: \n
jvfausto 0:03b7e8deb3ee 3087 ['debug_results', 'gph_actual']
jvfausto 0:03b7e8deb3ee 3088 fields: \n
jvfausto 0:03b7e8deb3ee 3089 - [0] = fw_safe_to_disable
jvfausto 0:03b7e8deb3ee 3090 - [1] = shadow__spare_0
jvfausto 0:03b7e8deb3ee 3091 - [2] = shadow__spare_1
jvfausto 0:03b7e8deb3ee 3092 */
jvfausto 0:03b7e8deb3ee 3093 #define VL53L1_GPH__SD_CONFIG__WOI_SD0 0x00F2
jvfausto 0:03b7e8deb3ee 3094 /*!<
jvfausto 0:03b7e8deb3ee 3095 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 3096 default: 0x04 \n
jvfausto 0:03b7e8deb3ee 3097 info: \n
jvfausto 0:03b7e8deb3ee 3098 - msb = 7
jvfausto 0:03b7e8deb3ee 3099 - lsb = 0
jvfausto 0:03b7e8deb3ee 3100 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 3101 groups: \n
jvfausto 0:03b7e8deb3ee 3102 ['debug_results', 'gph_actual']
jvfausto 0:03b7e8deb3ee 3103 fields: \n
jvfausto 0:03b7e8deb3ee 3104 - [7:0] = shadow_sd_config__woi_sd0
jvfausto 0:03b7e8deb3ee 3105 */
jvfausto 0:03b7e8deb3ee 3106 #define VL53L1_GPH__SD_CONFIG__WOI_SD1 0x00F3
jvfausto 0:03b7e8deb3ee 3107 /*!<
jvfausto 0:03b7e8deb3ee 3108 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 3109 default: 0x04 \n
jvfausto 0:03b7e8deb3ee 3110 info: \n
jvfausto 0:03b7e8deb3ee 3111 - msb = 7
jvfausto 0:03b7e8deb3ee 3112 - lsb = 0
jvfausto 0:03b7e8deb3ee 3113 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 3114 groups: \n
jvfausto 0:03b7e8deb3ee 3115 ['debug_results', 'gph_actual']
jvfausto 0:03b7e8deb3ee 3116 fields: \n
jvfausto 0:03b7e8deb3ee 3117 - [7:0] = shadow_sd_config__woi_sd1
jvfausto 0:03b7e8deb3ee 3118 */
jvfausto 0:03b7e8deb3ee 3119 #define VL53L1_GPH__SD_CONFIG__INITIAL_PHASE_SD0 0x00F4
jvfausto 0:03b7e8deb3ee 3120 /*!<
jvfausto 0:03b7e8deb3ee 3121 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 3122 default: 0x03 \n
jvfausto 0:03b7e8deb3ee 3123 info: \n
jvfausto 0:03b7e8deb3ee 3124 - msb = 6
jvfausto 0:03b7e8deb3ee 3125 - lsb = 0
jvfausto 0:03b7e8deb3ee 3126 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 3127 groups: \n
jvfausto 0:03b7e8deb3ee 3128 ['debug_results', 'gph_actual']
jvfausto 0:03b7e8deb3ee 3129 fields: \n
jvfausto 0:03b7e8deb3ee 3130 - [6:0] = shadow_sd_config__initial_phase_sd0
jvfausto 0:03b7e8deb3ee 3131 */
jvfausto 0:03b7e8deb3ee 3132 #define VL53L1_GPH__SD_CONFIG__INITIAL_PHASE_SD1 0x00F5
jvfausto 0:03b7e8deb3ee 3133 /*!<
jvfausto 0:03b7e8deb3ee 3134 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 3135 default: 0x03 \n
jvfausto 0:03b7e8deb3ee 3136 info: \n
jvfausto 0:03b7e8deb3ee 3137 - msb = 6
jvfausto 0:03b7e8deb3ee 3138 - lsb = 0
jvfausto 0:03b7e8deb3ee 3139 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 3140 groups: \n
jvfausto 0:03b7e8deb3ee 3141 ['debug_results', 'gph_actual']
jvfausto 0:03b7e8deb3ee 3142 fields: \n
jvfausto 0:03b7e8deb3ee 3143 - [6:0] = shadow_sd_config__initial_phase_sd1
jvfausto 0:03b7e8deb3ee 3144 */
jvfausto 0:03b7e8deb3ee 3145 #define VL53L1_GPH__SD_CONFIG__FIRST_ORDER_SELECT 0x00F6
jvfausto 0:03b7e8deb3ee 3146 /*!<
jvfausto 0:03b7e8deb3ee 3147 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 3148 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 3149 info: \n
jvfausto 0:03b7e8deb3ee 3150 - msb = 1
jvfausto 0:03b7e8deb3ee 3151 - lsb = 0
jvfausto 0:03b7e8deb3ee 3152 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 3153 groups: \n
jvfausto 0:03b7e8deb3ee 3154 ['debug_results', 'gph_actual']
jvfausto 0:03b7e8deb3ee 3155 fields: \n
jvfausto 0:03b7e8deb3ee 3156 - [0] = shadow_sd_config__first_order_select_rtn
jvfausto 0:03b7e8deb3ee 3157 - [1] = shadow_sd_config__first_order_select_ref
jvfausto 0:03b7e8deb3ee 3158 */
jvfausto 0:03b7e8deb3ee 3159 #define VL53L1_GPH__SD_CONFIG__QUANTIFIER 0x00F7
jvfausto 0:03b7e8deb3ee 3160 /*!<
jvfausto 0:03b7e8deb3ee 3161 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 3162 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 3163 info: \n
jvfausto 0:03b7e8deb3ee 3164 - msb = 3
jvfausto 0:03b7e8deb3ee 3165 - lsb = 0
jvfausto 0:03b7e8deb3ee 3166 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 3167 groups: \n
jvfausto 0:03b7e8deb3ee 3168 ['debug_results', 'gph_actual']
jvfausto 0:03b7e8deb3ee 3169 fields: \n
jvfausto 0:03b7e8deb3ee 3170 - [3:0] = shadow_sd_config__quantifier
jvfausto 0:03b7e8deb3ee 3171 */
jvfausto 0:03b7e8deb3ee 3172 #define VL53L1_GPH__ROI_CONFIG__USER_ROI_CENTRE_SPAD 0x00F8
jvfausto 0:03b7e8deb3ee 3173 /*!<
jvfausto 0:03b7e8deb3ee 3174 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 3175 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 3176 info: \n
jvfausto 0:03b7e8deb3ee 3177 - msb = 7
jvfausto 0:03b7e8deb3ee 3178 - lsb = 0
jvfausto 0:03b7e8deb3ee 3179 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 3180 groups: \n
jvfausto 0:03b7e8deb3ee 3181 ['debug_results', 'gph_actual']
jvfausto 0:03b7e8deb3ee 3182 fields: \n
jvfausto 0:03b7e8deb3ee 3183 - [7:0] = shadow_user_roi_center_spad_q0
jvfausto 0:03b7e8deb3ee 3184 */
jvfausto 0:03b7e8deb3ee 3185 #define VL53L1_GPH__ROI_CONFIG__USER_ROI_REQUESTED_GLOBAL_XY_SIZE 0x00F9
jvfausto 0:03b7e8deb3ee 3186 /*!<
jvfausto 0:03b7e8deb3ee 3187 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 3188 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 3189 info: \n
jvfausto 0:03b7e8deb3ee 3190 - msb = 7
jvfausto 0:03b7e8deb3ee 3191 - lsb = 0
jvfausto 0:03b7e8deb3ee 3192 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 3193 groups: \n
jvfausto 0:03b7e8deb3ee 3194 ['debug_results', 'gph_actual']
jvfausto 0:03b7e8deb3ee 3195 fields: \n
jvfausto 0:03b7e8deb3ee 3196 - [7:0] = shadow_user_roi_requested_global_xy_size
jvfausto 0:03b7e8deb3ee 3197 */
jvfausto 0:03b7e8deb3ee 3198 #define VL53L1_GPH__SYSTEM__SEQUENCE_CONFIG 0x00FA
jvfausto 0:03b7e8deb3ee 3199 /*!<
jvfausto 0:03b7e8deb3ee 3200 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 3201 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 3202 info: \n
jvfausto 0:03b7e8deb3ee 3203 - msb = 7
jvfausto 0:03b7e8deb3ee 3204 - lsb = 0
jvfausto 0:03b7e8deb3ee 3205 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 3206 groups: \n
jvfausto 0:03b7e8deb3ee 3207 ['debug_results', 'gph_actual']
jvfausto 0:03b7e8deb3ee 3208 fields: \n
jvfausto 0:03b7e8deb3ee 3209 - [0] = shadow_sequence_vhv_en
jvfausto 0:03b7e8deb3ee 3210 - [1] = shadow_sequence_phasecal_en
jvfausto 0:03b7e8deb3ee 3211 - [2] = shadow_sequence_reference_phase_en
jvfausto 0:03b7e8deb3ee 3212 - [3] = shadow_sequence_dss1_en
jvfausto 0:03b7e8deb3ee 3213 - [4] = shadow_sequence_dss2_en
jvfausto 0:03b7e8deb3ee 3214 - [5] = shadow_sequence_mm1_en
jvfausto 0:03b7e8deb3ee 3215 - [6] = shadow_sequence_mm2_en
jvfausto 0:03b7e8deb3ee 3216 - [7] = shadow_sequence_range_en
jvfausto 0:03b7e8deb3ee 3217 */
jvfausto 0:03b7e8deb3ee 3218 #define VL53L1_GPH__GPH_ID 0x00FB
jvfausto 0:03b7e8deb3ee 3219 /*!<
jvfausto 0:03b7e8deb3ee 3220 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 3221 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 3222 info: \n
jvfausto 0:03b7e8deb3ee 3223 - msb = 0
jvfausto 0:03b7e8deb3ee 3224 - lsb = 0
jvfausto 0:03b7e8deb3ee 3225 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 3226 groups: \n
jvfausto 0:03b7e8deb3ee 3227 ['debug_results', 'gph_actual']
jvfausto 0:03b7e8deb3ee 3228 fields: \n
jvfausto 0:03b7e8deb3ee 3229 - [0] = shadow_gph_id
jvfausto 0:03b7e8deb3ee 3230 */
jvfausto 0:03b7e8deb3ee 3231 #define VL53L1_SYSTEM__INTERRUPT_SET 0x00FC
jvfausto 0:03b7e8deb3ee 3232 /*!<
jvfausto 0:03b7e8deb3ee 3233 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 3234 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 3235 info: \n
jvfausto 0:03b7e8deb3ee 3236 - msb = 1
jvfausto 0:03b7e8deb3ee 3237 - lsb = 0
jvfausto 0:03b7e8deb3ee 3238 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 3239 groups: \n
jvfausto 0:03b7e8deb3ee 3240 ['debug_results', 'system_int_set']
jvfausto 0:03b7e8deb3ee 3241 fields: \n
jvfausto 0:03b7e8deb3ee 3242 - [0] = sys_interrupt_set_range
jvfausto 0:03b7e8deb3ee 3243 - [1] = sys_interrupt_set_error
jvfausto 0:03b7e8deb3ee 3244 */
jvfausto 0:03b7e8deb3ee 3245 #define VL53L1_INTERRUPT_MANAGER__ENABLES 0x00FD
jvfausto 0:03b7e8deb3ee 3246 /*!<
jvfausto 0:03b7e8deb3ee 3247 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 3248 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 3249 info: \n
jvfausto 0:03b7e8deb3ee 3250 - msb = 4
jvfausto 0:03b7e8deb3ee 3251 - lsb = 0
jvfausto 0:03b7e8deb3ee 3252 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 3253 groups: \n
jvfausto 0:03b7e8deb3ee 3254 ['debug_results', 'interrupt_manager']
jvfausto 0:03b7e8deb3ee 3255 fields: \n
jvfausto 0:03b7e8deb3ee 3256 - [0] = interrupt_enable__single_shot
jvfausto 0:03b7e8deb3ee 3257 - [1] = interrupt_enable__back_to_back
jvfausto 0:03b7e8deb3ee 3258 - [2] = interrupt_enable__timed
jvfausto 0:03b7e8deb3ee 3259 - [3] = interrupt_enable__abort
jvfausto 0:03b7e8deb3ee 3260 - [4] = interrupt_enable__test
jvfausto 0:03b7e8deb3ee 3261 */
jvfausto 0:03b7e8deb3ee 3262 #define VL53L1_INTERRUPT_MANAGER__CLEAR 0x00FE
jvfausto 0:03b7e8deb3ee 3263 /*!<
jvfausto 0:03b7e8deb3ee 3264 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 3265 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 3266 info: \n
jvfausto 0:03b7e8deb3ee 3267 - msb = 4
jvfausto 0:03b7e8deb3ee 3268 - lsb = 0
jvfausto 0:03b7e8deb3ee 3269 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 3270 groups: \n
jvfausto 0:03b7e8deb3ee 3271 ['debug_results', 'interrupt_manager']
jvfausto 0:03b7e8deb3ee 3272 fields: \n
jvfausto 0:03b7e8deb3ee 3273 - [0] = interrupt_clear__single_shot
jvfausto 0:03b7e8deb3ee 3274 - [1] = interrupt_clear__back_to_back
jvfausto 0:03b7e8deb3ee 3275 - [2] = interrupt_clear__timed
jvfausto 0:03b7e8deb3ee 3276 - [3] = interrupt_clear__abort
jvfausto 0:03b7e8deb3ee 3277 - [4] = interrupt_clear__test
jvfausto 0:03b7e8deb3ee 3278 */
jvfausto 0:03b7e8deb3ee 3279 #define VL53L1_INTERRUPT_MANAGER__STATUS 0x00FF
jvfausto 0:03b7e8deb3ee 3280 /*!<
jvfausto 0:03b7e8deb3ee 3281 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 3282 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 3283 info: \n
jvfausto 0:03b7e8deb3ee 3284 - msb = 4
jvfausto 0:03b7e8deb3ee 3285 - lsb = 0
jvfausto 0:03b7e8deb3ee 3286 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 3287 groups: \n
jvfausto 0:03b7e8deb3ee 3288 ['debug_results', 'interrupt_manager']
jvfausto 0:03b7e8deb3ee 3289 fields: \n
jvfausto 0:03b7e8deb3ee 3290 - [0] = interrupt_status__single_shot
jvfausto 0:03b7e8deb3ee 3291 - [1] = interrupt_status__back_to_back
jvfausto 0:03b7e8deb3ee 3292 - [2] = interrupt_status__timed
jvfausto 0:03b7e8deb3ee 3293 - [3] = interrupt_status__abort
jvfausto 0:03b7e8deb3ee 3294 - [4] = interrupt_status__test
jvfausto 0:03b7e8deb3ee 3295 */
jvfausto 0:03b7e8deb3ee 3296 #define VL53L1_MCU_TO_HOST_BANK__WR_ACCESS_EN 0x0100
jvfausto 0:03b7e8deb3ee 3297 /*!<
jvfausto 0:03b7e8deb3ee 3298 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 3299 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 3300 info: \n
jvfausto 0:03b7e8deb3ee 3301 - msb = 0
jvfausto 0:03b7e8deb3ee 3302 - lsb = 0
jvfausto 0:03b7e8deb3ee 3303 - i2c_size = 1
jvfausto 0:03b7e8deb3ee 3304 groups: \n
jvfausto 0:03b7e8deb3ee 3305 ['debug_results', 'host_bank_ctrl']
jvfausto 0:03b7e8deb3ee 3306 fields: \n
jvfausto 0:03b7e8deb3ee 3307 - [0] = mcu_to_host_bank_wr_en
jvfausto 0:03b7e8deb3ee 3308 */
jvfausto 0:03b7e8deb3ee 3309 #define VL53L1_POWER_MANAGEMENT__GO1_RESET_STATUS 0x0101
jvfausto 0:03b7e8deb3ee 3310 /*!<
jvfausto 0:03b7e8deb3ee 3311 type: uint8_t \n
jvfausto 0:03b7e8deb3ee 3312 default: 0x00 \n
jvfausto 0:03b7e8deb3ee 3313 info: \n