Rename library

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Dependents:   VL53L3CX_NoShield_1Sensor_poll_Mb06x VL53L3_NoShield_1Sensor_polling_Mb63 X_NUCLEO_53L3A2 53L3A2_Ranging

Committer:
Charles MacNeill
Date:
Wed Jul 14 12:45:49 2021 +0100
Revision:
5:89031b2f5316
The class files now just are wrappers for the files in the "MODULES" directory.The porting directory includes the mbed interface

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Charles MacNeill 5:89031b2f5316 1
Charles MacNeill 5:89031b2f5316 2 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
Charles MacNeill 5:89031b2f5316 3 /******************************************************************************
Charles MacNeill 5:89031b2f5316 4 * Copyright (c) 2020, STMicroelectronics - All Rights Reserved
Charles MacNeill 5:89031b2f5316 5
Charles MacNeill 5:89031b2f5316 6 This file is part of VL53LX and is dual licensed,
Charles MacNeill 5:89031b2f5316 7 either GPL-2.0+
Charles MacNeill 5:89031b2f5316 8 or 'BSD 3-clause "New" or "Revised" License' , at your option.
Charles MacNeill 5:89031b2f5316 9 ******************************************************************************
Charles MacNeill 5:89031b2f5316 10 */
Charles MacNeill 5:89031b2f5316 11
Charles MacNeill 5:89031b2f5316 12
Charles MacNeill 5:89031b2f5316 13
Charles MacNeill 5:89031b2f5316 14
Charles MacNeill 5:89031b2f5316 15
Charles MacNeill 5:89031b2f5316 16
Charles MacNeill 5:89031b2f5316 17
Charles MacNeill 5:89031b2f5316 18 #ifndef _VL53LX_NVM_MAP_H_
Charles MacNeill 5:89031b2f5316 19 #define _VL53LX_NVM_MAP_H_
Charles MacNeill 5:89031b2f5316 20
Charles MacNeill 5:89031b2f5316 21
Charles MacNeill 5:89031b2f5316 22 #ifdef __cplusplus
Charles MacNeill 5:89031b2f5316 23 extern "C"
Charles MacNeill 5:89031b2f5316 24 {
Charles MacNeill 5:89031b2f5316 25 #endif
Charles MacNeill 5:89031b2f5316 26
Charles MacNeill 5:89031b2f5316 27
Charles MacNeill 5:89031b2f5316 28
Charles MacNeill 5:89031b2f5316 29
Charles MacNeill 5:89031b2f5316 30 #define VL53LX_NVM__IDENTIFICATION__MODEL_ID 0x0008
Charles MacNeill 5:89031b2f5316 31
Charles MacNeill 5:89031b2f5316 32 #define VL53LX_NVM__IDENTIFICATION__MODULE_TYPE 0x000C
Charles MacNeill 5:89031b2f5316 33
Charles MacNeill 5:89031b2f5316 34 #define VL53LX_NVM__IDENTIFICATION__REVISION_ID 0x000D
Charles MacNeill 5:89031b2f5316 35
Charles MacNeill 5:89031b2f5316 36 #define VL53LX_NVM__IDENTIFICATION__MODULE_ID 0x000E
Charles MacNeill 5:89031b2f5316 37
Charles MacNeill 5:89031b2f5316 38 #define VL53LX_NVM__I2C_VALID 0x0010
Charles MacNeill 5:89031b2f5316 39
Charles MacNeill 5:89031b2f5316 40 #define VL53LX_NVM__I2C_SLAVE__DEVICE_ADDRESS 0x0011
Charles MacNeill 5:89031b2f5316 41
Charles MacNeill 5:89031b2f5316 42 #define VL53LX_NVM__EWS__OSC_MEASURED__FAST_OSC_FREQUENCY 0x0014
Charles MacNeill 5:89031b2f5316 43
Charles MacNeill 5:89031b2f5316 44 #define VL53LX_NVM__EWS__FAST_OSC_TRIM_MAX 0x0016
Charles MacNeill 5:89031b2f5316 45
Charles MacNeill 5:89031b2f5316 46 #define VL53LX_NVM__EWS__FAST_OSC_FREQ_SET 0x0017
Charles MacNeill 5:89031b2f5316 47
Charles MacNeill 5:89031b2f5316 48 #define VL53LX_NVM__EWS__SLOW_OSC_CALIBRATION 0x0018
Charles MacNeill 5:89031b2f5316 49
Charles MacNeill 5:89031b2f5316 50 #define VL53LX_NVM__FMT__OSC_MEASURED__FAST_OSC_FREQUENCY 0x001C
Charles MacNeill 5:89031b2f5316 51
Charles MacNeill 5:89031b2f5316 52 #define VL53LX_NVM__FMT__FAST_OSC_TRIM_MAX 0x001E
Charles MacNeill 5:89031b2f5316 53
Charles MacNeill 5:89031b2f5316 54 #define VL53LX_NVM__FMT__FAST_OSC_FREQ_SET 0x001F
Charles MacNeill 5:89031b2f5316 55
Charles MacNeill 5:89031b2f5316 56 #define VL53LX_NVM__FMT__SLOW_OSC_CALIBRATION 0x0020
Charles MacNeill 5:89031b2f5316 57
Charles MacNeill 5:89031b2f5316 58 #define VL53LX_NVM__VHV_CONFIG_UNLOCK 0x0028
Charles MacNeill 5:89031b2f5316 59
Charles MacNeill 5:89031b2f5316 60 #define VL53LX_NVM__REF_SELVDDPIX 0x0029
Charles MacNeill 5:89031b2f5316 61
Charles MacNeill 5:89031b2f5316 62 #define VL53LX_NVM__REF_SELVQUENCH 0x002A
Charles MacNeill 5:89031b2f5316 63
Charles MacNeill 5:89031b2f5316 64 #define VL53LX_NVM__REGAVDD1V2_SEL_REGDVDD1V2_SEL 0x002B
Charles MacNeill 5:89031b2f5316 65
Charles MacNeill 5:89031b2f5316 66 #define VL53LX_NVM__VHV_CONFIG__TIMEOUT_MACROP_LOOP_BOUND 0x002C
Charles MacNeill 5:89031b2f5316 67
Charles MacNeill 5:89031b2f5316 68 #define VL53LX_NVM__VHV_CONFIG__COUNT_THRESH 0x002D
Charles MacNeill 5:89031b2f5316 69
Charles MacNeill 5:89031b2f5316 70 #define VL53LX_NVM__VHV_CONFIG__OFFSET 0x002E
Charles MacNeill 5:89031b2f5316 71
Charles MacNeill 5:89031b2f5316 72 #define VL53LX_NVM__VHV_CONFIG__INIT 0x002F
Charles MacNeill 5:89031b2f5316 73
Charles MacNeill 5:89031b2f5316 74 #define VL53LX_NVM__LASER_SAFETY__VCSEL_TRIM_LL 0x0030
Charles MacNeill 5:89031b2f5316 75
Charles MacNeill 5:89031b2f5316 76 #define VL53LX_NVM__LASER_SAFETY__VCSEL_SELION_LL 0x0031
Charles MacNeill 5:89031b2f5316 77
Charles MacNeill 5:89031b2f5316 78 #define VL53LX_NVM__LASER_SAFETY__VCSEL_SELION_MAX_LL 0x0032
Charles MacNeill 5:89031b2f5316 79
Charles MacNeill 5:89031b2f5316 80 #define VL53LX_NVM__LASER_SAFETY__MULT_LL 0x0034
Charles MacNeill 5:89031b2f5316 81
Charles MacNeill 5:89031b2f5316 82 #define VL53LX_NVM__LASER_SAFETY__CLIP_LL 0x0035
Charles MacNeill 5:89031b2f5316 83
Charles MacNeill 5:89031b2f5316 84 #define VL53LX_NVM__LASER_SAFETY__VCSEL_TRIM_LD 0x0038
Charles MacNeill 5:89031b2f5316 85
Charles MacNeill 5:89031b2f5316 86 #define VL53LX_NVM__LASER_SAFETY__VCSEL_SELION_LD 0x0039
Charles MacNeill 5:89031b2f5316 87
Charles MacNeill 5:89031b2f5316 88 #define VL53LX_NVM__LASER_SAFETY__VCSEL_SELION_MAX_LD 0x003A
Charles MacNeill 5:89031b2f5316 89
Charles MacNeill 5:89031b2f5316 90 #define VL53LX_NVM__LASER_SAFETY__MULT_LD 0x003C
Charles MacNeill 5:89031b2f5316 91
Charles MacNeill 5:89031b2f5316 92 #define VL53LX_NVM__LASER_SAFETY__CLIP_LD 0x003D
Charles MacNeill 5:89031b2f5316 93
Charles MacNeill 5:89031b2f5316 94 #define VL53LX_NVM__LASER_SAFETY_LOCK_BYTE 0x0040
Charles MacNeill 5:89031b2f5316 95
Charles MacNeill 5:89031b2f5316 96 #define VL53LX_NVM__LASER_SAFETY_UNLOCK_BYTE 0x0044
Charles MacNeill 5:89031b2f5316 97
Charles MacNeill 5:89031b2f5316 98 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_0_ 0x0048
Charles MacNeill 5:89031b2f5316 99
Charles MacNeill 5:89031b2f5316 100 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_1_ 0x0049
Charles MacNeill 5:89031b2f5316 101
Charles MacNeill 5:89031b2f5316 102 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_2_ 0x004A
Charles MacNeill 5:89031b2f5316 103
Charles MacNeill 5:89031b2f5316 104 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_3_ 0x004B
Charles MacNeill 5:89031b2f5316 105
Charles MacNeill 5:89031b2f5316 106 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_4_ 0x004C
Charles MacNeill 5:89031b2f5316 107
Charles MacNeill 5:89031b2f5316 108 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_5_ 0x004D
Charles MacNeill 5:89031b2f5316 109
Charles MacNeill 5:89031b2f5316 110 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_6_ 0x004E
Charles MacNeill 5:89031b2f5316 111
Charles MacNeill 5:89031b2f5316 112 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_7_ 0x004F
Charles MacNeill 5:89031b2f5316 113
Charles MacNeill 5:89031b2f5316 114 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_8_ 0x0050
Charles MacNeill 5:89031b2f5316 115
Charles MacNeill 5:89031b2f5316 116 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_9_ 0x0051
Charles MacNeill 5:89031b2f5316 117
Charles MacNeill 5:89031b2f5316 118 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_10_ 0x0052
Charles MacNeill 5:89031b2f5316 119
Charles MacNeill 5:89031b2f5316 120 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_11_ 0x0053
Charles MacNeill 5:89031b2f5316 121
Charles MacNeill 5:89031b2f5316 122 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_12_ 0x0054
Charles MacNeill 5:89031b2f5316 123
Charles MacNeill 5:89031b2f5316 124 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_13_ 0x0055
Charles MacNeill 5:89031b2f5316 125
Charles MacNeill 5:89031b2f5316 126 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_14_ 0x0056
Charles MacNeill 5:89031b2f5316 127
Charles MacNeill 5:89031b2f5316 128 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_15_ 0x0057
Charles MacNeill 5:89031b2f5316 129
Charles MacNeill 5:89031b2f5316 130 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_16_ 0x0058
Charles MacNeill 5:89031b2f5316 131
Charles MacNeill 5:89031b2f5316 132 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_17_ 0x0059
Charles MacNeill 5:89031b2f5316 133
Charles MacNeill 5:89031b2f5316 134 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_18_ 0x005A
Charles MacNeill 5:89031b2f5316 135
Charles MacNeill 5:89031b2f5316 136 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_19_ 0x005B
Charles MacNeill 5:89031b2f5316 137
Charles MacNeill 5:89031b2f5316 138 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_20_ 0x005C
Charles MacNeill 5:89031b2f5316 139
Charles MacNeill 5:89031b2f5316 140 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_21_ 0x005D
Charles MacNeill 5:89031b2f5316 141
Charles MacNeill 5:89031b2f5316 142 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_22_ 0x005E
Charles MacNeill 5:89031b2f5316 143
Charles MacNeill 5:89031b2f5316 144 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_23_ 0x005F
Charles MacNeill 5:89031b2f5316 145
Charles MacNeill 5:89031b2f5316 146 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_24_ 0x0060
Charles MacNeill 5:89031b2f5316 147
Charles MacNeill 5:89031b2f5316 148 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_25_ 0x0061
Charles MacNeill 5:89031b2f5316 149
Charles MacNeill 5:89031b2f5316 150 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_26_ 0x0062
Charles MacNeill 5:89031b2f5316 151
Charles MacNeill 5:89031b2f5316 152 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_27_ 0x0063
Charles MacNeill 5:89031b2f5316 153
Charles MacNeill 5:89031b2f5316 154 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_28_ 0x0064
Charles MacNeill 5:89031b2f5316 155
Charles MacNeill 5:89031b2f5316 156 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_29_ 0x0065
Charles MacNeill 5:89031b2f5316 157
Charles MacNeill 5:89031b2f5316 158 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_30_ 0x0066
Charles MacNeill 5:89031b2f5316 159
Charles MacNeill 5:89031b2f5316 160 #define VL53LX_NVM__EWS__SPAD_ENABLES_RTN_31_ 0x0067
Charles MacNeill 5:89031b2f5316 161
Charles MacNeill 5:89031b2f5316 162 #define VL53LX_NVM__EWS__SPAD_ENABLES_REF__LOC1_0_ 0x0068
Charles MacNeill 5:89031b2f5316 163
Charles MacNeill 5:89031b2f5316 164 #define VL53LX_NVM__EWS__SPAD_ENABLES_REF__LOC1_1_ 0x0069
Charles MacNeill 5:89031b2f5316 165
Charles MacNeill 5:89031b2f5316 166 #define VL53LX_NVM__EWS__SPAD_ENABLES_REF__LOC1_2_ 0x006A
Charles MacNeill 5:89031b2f5316 167
Charles MacNeill 5:89031b2f5316 168 #define VL53LX_NVM__EWS__SPAD_ENABLES_REF__LOC1_3_ 0x006B
Charles MacNeill 5:89031b2f5316 169
Charles MacNeill 5:89031b2f5316 170 #define VL53LX_NVM__EWS__SPAD_ENABLES_REF__LOC1_4_ 0x006C
Charles MacNeill 5:89031b2f5316 171
Charles MacNeill 5:89031b2f5316 172 #define VL53LX_NVM__EWS__SPAD_ENABLES_REF__LOC1_5_ 0x006D
Charles MacNeill 5:89031b2f5316 173
Charles MacNeill 5:89031b2f5316 174 #define VL53LX_NVM__EWS__SPAD_ENABLES_REF__LOC2_0_ 0x0070
Charles MacNeill 5:89031b2f5316 175
Charles MacNeill 5:89031b2f5316 176 #define VL53LX_NVM__EWS__SPAD_ENABLES_REF__LOC2_1_ 0x0071
Charles MacNeill 5:89031b2f5316 177
Charles MacNeill 5:89031b2f5316 178 #define VL53LX_NVM__EWS__SPAD_ENABLES_REF__LOC2_2_ 0x0072
Charles MacNeill 5:89031b2f5316 179
Charles MacNeill 5:89031b2f5316 180 #define VL53LX_NVM__EWS__SPAD_ENABLES_REF__LOC2_3_ 0x0073
Charles MacNeill 5:89031b2f5316 181
Charles MacNeill 5:89031b2f5316 182 #define VL53LX_NVM__EWS__SPAD_ENABLES_REF__LOC2_4_ 0x0074
Charles MacNeill 5:89031b2f5316 183
Charles MacNeill 5:89031b2f5316 184 #define VL53LX_NVM__EWS__SPAD_ENABLES_REF__LOC2_5_ 0x0075
Charles MacNeill 5:89031b2f5316 185
Charles MacNeill 5:89031b2f5316 186 #define VL53LX_NVM__EWS__SPAD_ENABLES_REF__LOC3_0_ 0x0078
Charles MacNeill 5:89031b2f5316 187
Charles MacNeill 5:89031b2f5316 188 #define VL53LX_NVM__EWS__SPAD_ENABLES_REF__LOC3_1_ 0x0079
Charles MacNeill 5:89031b2f5316 189
Charles MacNeill 5:89031b2f5316 190 #define VL53LX_NVM__EWS__SPAD_ENABLES_REF__LOC3_2_ 0x007A
Charles MacNeill 5:89031b2f5316 191
Charles MacNeill 5:89031b2f5316 192 #define VL53LX_NVM__EWS__SPAD_ENABLES_REF__LOC3_3_ 0x007B
Charles MacNeill 5:89031b2f5316 193
Charles MacNeill 5:89031b2f5316 194 #define VL53LX_NVM__EWS__SPAD_ENABLES_REF__LOC3_4_ 0x007C
Charles MacNeill 5:89031b2f5316 195
Charles MacNeill 5:89031b2f5316 196 #define VL53LX_NVM__EWS__SPAD_ENABLES_REF__LOC3_5_ 0x007D
Charles MacNeill 5:89031b2f5316 197
Charles MacNeill 5:89031b2f5316 198 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_0_ 0x0080
Charles MacNeill 5:89031b2f5316 199
Charles MacNeill 5:89031b2f5316 200 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_1_ 0x0081
Charles MacNeill 5:89031b2f5316 201
Charles MacNeill 5:89031b2f5316 202 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_2_ 0x0082
Charles MacNeill 5:89031b2f5316 203
Charles MacNeill 5:89031b2f5316 204 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_3_ 0x0083
Charles MacNeill 5:89031b2f5316 205
Charles MacNeill 5:89031b2f5316 206 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_4_ 0x0084
Charles MacNeill 5:89031b2f5316 207
Charles MacNeill 5:89031b2f5316 208 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_5_ 0x0085
Charles MacNeill 5:89031b2f5316 209
Charles MacNeill 5:89031b2f5316 210 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_6_ 0x0086
Charles MacNeill 5:89031b2f5316 211
Charles MacNeill 5:89031b2f5316 212 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_7_ 0x0087
Charles MacNeill 5:89031b2f5316 213
Charles MacNeill 5:89031b2f5316 214 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_8_ 0x0088
Charles MacNeill 5:89031b2f5316 215
Charles MacNeill 5:89031b2f5316 216 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_9_ 0x0089
Charles MacNeill 5:89031b2f5316 217
Charles MacNeill 5:89031b2f5316 218 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_10_ 0x008A
Charles MacNeill 5:89031b2f5316 219
Charles MacNeill 5:89031b2f5316 220 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_11_ 0x008B
Charles MacNeill 5:89031b2f5316 221
Charles MacNeill 5:89031b2f5316 222 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_12_ 0x008C
Charles MacNeill 5:89031b2f5316 223
Charles MacNeill 5:89031b2f5316 224 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_13_ 0x008D
Charles MacNeill 5:89031b2f5316 225
Charles MacNeill 5:89031b2f5316 226 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_14_ 0x008E
Charles MacNeill 5:89031b2f5316 227
Charles MacNeill 5:89031b2f5316 228 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_15_ 0x008F
Charles MacNeill 5:89031b2f5316 229
Charles MacNeill 5:89031b2f5316 230 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_16_ 0x0090
Charles MacNeill 5:89031b2f5316 231
Charles MacNeill 5:89031b2f5316 232 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_17_ 0x0091
Charles MacNeill 5:89031b2f5316 233
Charles MacNeill 5:89031b2f5316 234 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_18_ 0x0092
Charles MacNeill 5:89031b2f5316 235
Charles MacNeill 5:89031b2f5316 236 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_19_ 0x0093
Charles MacNeill 5:89031b2f5316 237
Charles MacNeill 5:89031b2f5316 238 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_20_ 0x0094
Charles MacNeill 5:89031b2f5316 239
Charles MacNeill 5:89031b2f5316 240 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_21_ 0x0095
Charles MacNeill 5:89031b2f5316 241
Charles MacNeill 5:89031b2f5316 242 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_22_ 0x0096
Charles MacNeill 5:89031b2f5316 243
Charles MacNeill 5:89031b2f5316 244 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_23_ 0x0097
Charles MacNeill 5:89031b2f5316 245
Charles MacNeill 5:89031b2f5316 246 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_24_ 0x0098
Charles MacNeill 5:89031b2f5316 247
Charles MacNeill 5:89031b2f5316 248 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_25_ 0x0099
Charles MacNeill 5:89031b2f5316 249
Charles MacNeill 5:89031b2f5316 250 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_26_ 0x009A
Charles MacNeill 5:89031b2f5316 251
Charles MacNeill 5:89031b2f5316 252 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_27_ 0x009B
Charles MacNeill 5:89031b2f5316 253
Charles MacNeill 5:89031b2f5316 254 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_28_ 0x009C
Charles MacNeill 5:89031b2f5316 255
Charles MacNeill 5:89031b2f5316 256 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_29_ 0x009D
Charles MacNeill 5:89031b2f5316 257
Charles MacNeill 5:89031b2f5316 258 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_30_ 0x009E
Charles MacNeill 5:89031b2f5316 259
Charles MacNeill 5:89031b2f5316 260 #define VL53LX_NVM__FMT__SPAD_ENABLES_RTN_31_ 0x009F
Charles MacNeill 5:89031b2f5316 261
Charles MacNeill 5:89031b2f5316 262 #define VL53LX_NVM__FMT__SPAD_ENABLES_REF__LOC1_0_ 0x00A0
Charles MacNeill 5:89031b2f5316 263
Charles MacNeill 5:89031b2f5316 264 #define VL53LX_NVM__FMT__SPAD_ENABLES_REF__LOC1_1_ 0x00A1
Charles MacNeill 5:89031b2f5316 265
Charles MacNeill 5:89031b2f5316 266 #define VL53LX_NVM__FMT__SPAD_ENABLES_REF__LOC1_2_ 0x00A2
Charles MacNeill 5:89031b2f5316 267
Charles MacNeill 5:89031b2f5316 268 #define VL53LX_NVM__FMT__SPAD_ENABLES_REF__LOC1_3_ 0x00A3
Charles MacNeill 5:89031b2f5316 269
Charles MacNeill 5:89031b2f5316 270 #define VL53LX_NVM__FMT__SPAD_ENABLES_REF__LOC1_4_ 0x00A4
Charles MacNeill 5:89031b2f5316 271
Charles MacNeill 5:89031b2f5316 272 #define VL53LX_NVM__FMT__SPAD_ENABLES_REF__LOC1_5_ 0x00A5
Charles MacNeill 5:89031b2f5316 273
Charles MacNeill 5:89031b2f5316 274 #define VL53LX_NVM__FMT__SPAD_ENABLES_REF__LOC2_0_ 0x00A8
Charles MacNeill 5:89031b2f5316 275
Charles MacNeill 5:89031b2f5316 276 #define VL53LX_NVM__FMT__SPAD_ENABLES_REF__LOC2_1_ 0x00A9
Charles MacNeill 5:89031b2f5316 277
Charles MacNeill 5:89031b2f5316 278 #define VL53LX_NVM__FMT__SPAD_ENABLES_REF__LOC2_2_ 0x00AA
Charles MacNeill 5:89031b2f5316 279
Charles MacNeill 5:89031b2f5316 280 #define VL53LX_NVM__FMT__SPAD_ENABLES_REF__LOC2_3_ 0x00AB
Charles MacNeill 5:89031b2f5316 281
Charles MacNeill 5:89031b2f5316 282 #define VL53LX_NVM__FMT__SPAD_ENABLES_REF__LOC2_4_ 0x00AC
Charles MacNeill 5:89031b2f5316 283
Charles MacNeill 5:89031b2f5316 284 #define VL53LX_NVM__FMT__SPAD_ENABLES_REF__LOC2_5_ 0x00AD
Charles MacNeill 5:89031b2f5316 285
Charles MacNeill 5:89031b2f5316 286 #define VL53LX_NVM__FMT__SPAD_ENABLES_REF__LOC3_0_ 0x00B0
Charles MacNeill 5:89031b2f5316 287
Charles MacNeill 5:89031b2f5316 288 #define VL53LX_NVM__FMT__SPAD_ENABLES_REF__LOC3_1_ 0x00B1
Charles MacNeill 5:89031b2f5316 289
Charles MacNeill 5:89031b2f5316 290 #define VL53LX_NVM__FMT__SPAD_ENABLES_REF__LOC3_2_ 0x00B2
Charles MacNeill 5:89031b2f5316 291
Charles MacNeill 5:89031b2f5316 292 #define VL53LX_NVM__FMT__SPAD_ENABLES_REF__LOC3_3_ 0x00B3
Charles MacNeill 5:89031b2f5316 293
Charles MacNeill 5:89031b2f5316 294 #define VL53LX_NVM__FMT__SPAD_ENABLES_REF__LOC3_4_ 0x00B4
Charles MacNeill 5:89031b2f5316 295
Charles MacNeill 5:89031b2f5316 296 #define VL53LX_NVM__FMT__SPAD_ENABLES_REF__LOC3_5_ 0x00B5
Charles MacNeill 5:89031b2f5316 297
Charles MacNeill 5:89031b2f5316 298 #define VL53LX_NVM__FMT__ROI_CONFIG__MODE_ROI_CENTRE_SPAD 0x00B8
Charles MacNeill 5:89031b2f5316 299
Charles MacNeill 5:89031b2f5316 300 #define VL53LX_NVM__FMT__ROI_CONFIG__MODE_ROI_XY_SIZE 0x00B9
Charles MacNeill 5:89031b2f5316 301
Charles MacNeill 5:89031b2f5316 302 #define VL53LX_NVM__FMT__REF_SPAD_APPLY__NUM_REQUESTED_REF_SPAD 0x00BC
Charles MacNeill 5:89031b2f5316 303
Charles MacNeill 5:89031b2f5316 304 #define VL53LX_NVM__FMT__REF_SPAD_MAN__REF_LOCATION 0x00BD
Charles MacNeill 5:89031b2f5316 305
Charles MacNeill 5:89031b2f5316 306 #define VL53LX_NVM__FMT__MM_CONFIG__INNER_OFFSET_MM 0x00C0
Charles MacNeill 5:89031b2f5316 307
Charles MacNeill 5:89031b2f5316 308 #define VL53LX_NVM__FMT__MM_CONFIG__OUTER_OFFSET_MM 0x00C2
Charles MacNeill 5:89031b2f5316 309
Charles MacNeill 5:89031b2f5316 310 #define VL53LX_NVM__FMT__ALGO__PART_TO_PART_RANGE_OFFSET_MM 0x00C4
Charles MacNeill 5:89031b2f5316 311
Charles MacNeill 5:89031b2f5316 312 #define VL53LX_NVM__FMT__ALGO__CROSSTALK_COMPENSATION_PLANE_OFFSET_KCPS 0x00C8
Charles MacNeill 5:89031b2f5316 313
Charles MacNeill 5:89031b2f5316 314 #define VL53LX_NVM__FMT__ALGO__CROSSTALK_COMPENSATION_X_PLANE_GRADIENT_KCPS \
Charles MacNeill 5:89031b2f5316 315 0x00CA
Charles MacNeill 5:89031b2f5316 316
Charles MacNeill 5:89031b2f5316 317 #define VL53LX_NVM__FMT__ALGO__CROSSTALK_COMPENSATION_Y_PLANE_GRADIENT_KCPS \
Charles MacNeill 5:89031b2f5316 318 0x00CC
Charles MacNeill 5:89031b2f5316 319
Charles MacNeill 5:89031b2f5316 320 #define VL53LX_NVM__FMT__SPARE_HOST_CONFIG__NVM_CONFIG_SPARE_0 0x00CE
Charles MacNeill 5:89031b2f5316 321
Charles MacNeill 5:89031b2f5316 322 #define VL53LX_NVM__FMT__SPARE_HOST_CONFIG__NVM_CONFIG_SPARE_1 0x00CF
Charles MacNeill 5:89031b2f5316 323
Charles MacNeill 5:89031b2f5316 324 #define VL53LX_NVM__CUSTOMER_NVM_SPACE_PROGRAMMED 0x00E0
Charles MacNeill 5:89031b2f5316 325
Charles MacNeill 5:89031b2f5316 326 #define VL53LX_NVM__CUST__I2C_SLAVE__DEVICE_ADDRESS 0x00E4
Charles MacNeill 5:89031b2f5316 327
Charles MacNeill 5:89031b2f5316 328 #define VL53LX_NVM__CUST__REF_SPAD_APPLY__NUM_REQUESTED_REF_SPAD 0x00E8
Charles MacNeill 5:89031b2f5316 329
Charles MacNeill 5:89031b2f5316 330 #define VL53LX_NVM__CUST__REF_SPAD_MAN__REF_LOCATION 0x00E9
Charles MacNeill 5:89031b2f5316 331
Charles MacNeill 5:89031b2f5316 332 #define VL53LX_NVM__CUST__MM_CONFIG__INNER_OFFSET_MM 0x00EC
Charles MacNeill 5:89031b2f5316 333
Charles MacNeill 5:89031b2f5316 334 #define VL53LX_NVM__CUST__MM_CONFIG__OUTER_OFFSET_MM 0x00EE
Charles MacNeill 5:89031b2f5316 335
Charles MacNeill 5:89031b2f5316 336 #define VL53LX_NVM__CUST__ALGO__PART_TO_PART_RANGE_OFFSET_MM 0x00F0
Charles MacNeill 5:89031b2f5316 337
Charles MacNeill 5:89031b2f5316 338 #define VL53LX_NVM__CUST__ALGO__CROSSTALK_COMPENSATION_PLANE_OFFSET_KCPS 0x00F4
Charles MacNeill 5:89031b2f5316 339
Charles MacNeill 5:89031b2f5316 340 #define VL53LX_NVM__CUST__ALGO__CROSSTALK_COMPENSATION_X_PLANE_GRADIENT_KCPS \
Charles MacNeill 5:89031b2f5316 341 0x00F6
Charles MacNeill 5:89031b2f5316 342
Charles MacNeill 5:89031b2f5316 343 #define VL53LX_NVM__CUST__ALGO__CROSSTALK_COMPENSATION_Y_PLANE_GRADIENT_KCPS \
Charles MacNeill 5:89031b2f5316 344 0x00F8
Charles MacNeill 5:89031b2f5316 345
Charles MacNeill 5:89031b2f5316 346 #define VL53LX_NVM__CUST__SPARE_HOST_CONFIG__NVM_CONFIG_SPARE_0 0x00FA
Charles MacNeill 5:89031b2f5316 347
Charles MacNeill 5:89031b2f5316 348 #define VL53LX_NVM__CUST__SPARE_HOST_CONFIG__NVM_CONFIG_SPARE_1 0x00FB
Charles MacNeill 5:89031b2f5316 349
Charles MacNeill 5:89031b2f5316 350 #define VL53LX_NVM__FMT__FGC__BYTE_0 0x01DC
Charles MacNeill 5:89031b2f5316 351
Charles MacNeill 5:89031b2f5316 352 #define VL53LX_NVM__FMT__FGC__BYTE_1 0x01DD
Charles MacNeill 5:89031b2f5316 353
Charles MacNeill 5:89031b2f5316 354 #define VL53LX_NVM__FMT__FGC__BYTE_2 0x01DE
Charles MacNeill 5:89031b2f5316 355
Charles MacNeill 5:89031b2f5316 356 #define VL53LX_NVM__FMT__FGC__BYTE_3 0x01DF
Charles MacNeill 5:89031b2f5316 357
Charles MacNeill 5:89031b2f5316 358 #define VL53LX_NVM__FMT__FGC__BYTE_4 0x01E0
Charles MacNeill 5:89031b2f5316 359
Charles MacNeill 5:89031b2f5316 360 #define VL53LX_NVM__FMT__FGC__BYTE_5 0x01E1
Charles MacNeill 5:89031b2f5316 361
Charles MacNeill 5:89031b2f5316 362 #define VL53LX_NVM__FMT__FGC__BYTE_6 0x01E2
Charles MacNeill 5:89031b2f5316 363
Charles MacNeill 5:89031b2f5316 364 #define VL53LX_NVM__FMT__FGC__BYTE_7 0x01E3
Charles MacNeill 5:89031b2f5316 365
Charles MacNeill 5:89031b2f5316 366 #define VL53LX_NVM__FMT__FGC__BYTE_8 0x01E4
Charles MacNeill 5:89031b2f5316 367
Charles MacNeill 5:89031b2f5316 368 #define VL53LX_NVM__FMT__FGC__BYTE_9 0x01E5
Charles MacNeill 5:89031b2f5316 369
Charles MacNeill 5:89031b2f5316 370 #define VL53LX_NVM__FMT__FGC__BYTE_10 0x01E6
Charles MacNeill 5:89031b2f5316 371
Charles MacNeill 5:89031b2f5316 372 #define VL53LX_NVM__FMT__FGC__BYTE_11 0x01E7
Charles MacNeill 5:89031b2f5316 373
Charles MacNeill 5:89031b2f5316 374 #define VL53LX_NVM__FMT__FGC__BYTE_12 0x01E8
Charles MacNeill 5:89031b2f5316 375
Charles MacNeill 5:89031b2f5316 376 #define VL53LX_NVM__FMT__FGC__BYTE_13 0x01E9
Charles MacNeill 5:89031b2f5316 377
Charles MacNeill 5:89031b2f5316 378 #define VL53LX_NVM__FMT__FGC__BYTE_14 0x01EA
Charles MacNeill 5:89031b2f5316 379
Charles MacNeill 5:89031b2f5316 380 #define VL53LX_NVM__FMT__FGC__BYTE_15 0x01EB
Charles MacNeill 5:89031b2f5316 381
Charles MacNeill 5:89031b2f5316 382 #define VL53LX_NVM__FMT__TEST_PROGRAM_MAJOR_MINOR 0x01EC
Charles MacNeill 5:89031b2f5316 383
Charles MacNeill 5:89031b2f5316 384 #define VL53LX_NVM__FMT__MAP_MAJOR_MINOR 0x01ED
Charles MacNeill 5:89031b2f5316 385
Charles MacNeill 5:89031b2f5316 386 #define VL53LX_NVM__FMT__YEAR_MONTH 0x01EE
Charles MacNeill 5:89031b2f5316 387
Charles MacNeill 5:89031b2f5316 388 #define VL53LX_NVM__FMT__DAY_MODULE_DATE_PHASE 0x01EF
Charles MacNeill 5:89031b2f5316 389
Charles MacNeill 5:89031b2f5316 390 #define VL53LX_NVM__FMT__TIME 0x01F0
Charles MacNeill 5:89031b2f5316 391
Charles MacNeill 5:89031b2f5316 392 #define VL53LX_NVM__FMT__TESTER_ID 0x01F2
Charles MacNeill 5:89031b2f5316 393
Charles MacNeill 5:89031b2f5316 394 #define VL53LX_NVM__FMT__SITE_ID 0x01F3
Charles MacNeill 5:89031b2f5316 395
Charles MacNeill 5:89031b2f5316 396 #define VL53LX_NVM__EWS__TEST_PROGRAM_MAJOR_MINOR 0x01F4
Charles MacNeill 5:89031b2f5316 397
Charles MacNeill 5:89031b2f5316 398 #define VL53LX_NVM__EWS__PROBE_CARD_MAJOR_MINOR 0x01F5
Charles MacNeill 5:89031b2f5316 399
Charles MacNeill 5:89031b2f5316 400 #define VL53LX_NVM__EWS__TESTER_ID 0x01F6
Charles MacNeill 5:89031b2f5316 401
Charles MacNeill 5:89031b2f5316 402 #define VL53LX_NVM__EWS__LOT__BYTE_0 0x01F8
Charles MacNeill 5:89031b2f5316 403
Charles MacNeill 5:89031b2f5316 404 #define VL53LX_NVM__EWS__LOT__BYTE_1 0x01F9
Charles MacNeill 5:89031b2f5316 405
Charles MacNeill 5:89031b2f5316 406 #define VL53LX_NVM__EWS__LOT__BYTE_2 0x01FA
Charles MacNeill 5:89031b2f5316 407
Charles MacNeill 5:89031b2f5316 408 #define VL53LX_NVM__EWS__LOT__BYTE_3 0x01FB
Charles MacNeill 5:89031b2f5316 409
Charles MacNeill 5:89031b2f5316 410 #define VL53LX_NVM__EWS__LOT__BYTE_4 0x01FC
Charles MacNeill 5:89031b2f5316 411
Charles MacNeill 5:89031b2f5316 412 #define VL53LX_NVM__EWS__LOT__BYTE_5 0x01FD
Charles MacNeill 5:89031b2f5316 413
Charles MacNeill 5:89031b2f5316 414 #define VL53LX_NVM__EWS__WAFER 0x01FD
Charles MacNeill 5:89031b2f5316 415
Charles MacNeill 5:89031b2f5316 416 #define VL53LX_NVM__EWS__XCOORD 0x01FE
Charles MacNeill 5:89031b2f5316 417
Charles MacNeill 5:89031b2f5316 418 #define VL53LX_NVM__EWS__YCOORD 0x01FF
Charles MacNeill 5:89031b2f5316 419
Charles MacNeill 5:89031b2f5316 420
Charles MacNeill 5:89031b2f5316 421 #define VL53LX_NVM__FMT__OPTICAL_CENTRE_DATA_INDEX 0x00B8
Charles MacNeill 5:89031b2f5316 422 #define VL53LX_NVM__FMT__OPTICAL_CENTRE_DATA_SIZE 4
Charles MacNeill 5:89031b2f5316 423
Charles MacNeill 5:89031b2f5316 424 #define VL53LX_NVM__FMT__CAL_PEAK_RATE_MAP_DATA_INDEX 0x015C
Charles MacNeill 5:89031b2f5316 425 #define VL53LX_NVM__FMT__CAL_PEAK_RATE_MAP_DATA_SIZE 56
Charles MacNeill 5:89031b2f5316 426
Charles MacNeill 5:89031b2f5316 427 #define VL53LX_NVM__FMT__ADDITIONAL_OFFSET_CAL_DATA_INDEX 0x0194
Charles MacNeill 5:89031b2f5316 428 #define VL53LX_NVM__FMT__ADDITIONAL_OFFSET_CAL_DATA_SIZE 8
Charles MacNeill 5:89031b2f5316 429
Charles MacNeill 5:89031b2f5316 430 #define VL53LX_NVM__FMT__RANGE_RESULTS__140MM_MM_PRE_RANGE 0x019C
Charles MacNeill 5:89031b2f5316 431 #define VL53LX_NVM__FMT__RANGE_RESULTS__140MM_DARK 0x01AC
Charles MacNeill 5:89031b2f5316 432 #define VL53LX_NVM__FMT__RANGE_RESULTS__400MM_DARK 0x01BC
Charles MacNeill 5:89031b2f5316 433 #define VL53LX_NVM__FMT__RANGE_RESULTS__400MM_AMBIENT 0x01CC
Charles MacNeill 5:89031b2f5316 434 #define VL53LX_NVM__FMT__RANGE_RESULTS__SIZE_BYTES 16
Charles MacNeill 5:89031b2f5316 435
Charles MacNeill 5:89031b2f5316 436
Charles MacNeill 5:89031b2f5316 437
Charles MacNeill 5:89031b2f5316 438
Charles MacNeill 5:89031b2f5316 439
Charles MacNeill 5:89031b2f5316 440
Charles MacNeill 5:89031b2f5316 441
Charles MacNeill 5:89031b2f5316 442 #ifdef __cplusplus
Charles MacNeill 5:89031b2f5316 443 }
Charles MacNeill 5:89031b2f5316 444 #endif
Charles MacNeill 5:89031b2f5316 445
Charles MacNeill 5:89031b2f5316 446 #endif
Charles MacNeill 5:89031b2f5316 447