39#ifdef PREINIT_SUPPORTED
43#ifdef MikroCCoreVersion
44 #if MikroCCoreVersion >= 1
49#include "drv_digital_out.h"
50#include "drv_digital_in.h"
51#include "drv_i2c_master.h"
74#define LIGHTRANGER8_SOFT_RESET 0x0000
75#define LIGHTRANGER8_I2C_SLAVE_DEVICE_ADDRESS 0x0001
76#define LIGHTRANGER8_ANA_CONFIG_VHV_REF_SEL_VDDPIX 0x0002
77#define LIGHTRANGER8_ANA_CONFIG_VHV_REF_SEL_VQUENCH 0x0003
78#define LIGHTRANGER8_ANA_CONFIG_REG_AVDD1V2_SEL 0x0004
79#define LIGHTRANGER8_ANA_CONFIG_FAST_OSC_TRIM 0x0005
80#define LIGHTRANGER8_OSC_MEASURED_FAST_OSC_FREQUENCY 0x0006
81#define LIGHTRANGER8_OSC_MEASURED_FAST_OSC_FREQUENCY_HI 0x0006
82#define LIGHTRANGER8_OSC_MEASURED_FAST_OSC_FREQUENCY_LO 0x0007
83#define LIGHTRANGER8_VHV_CONFIG_TIMEOUT_MACROP_LOOP_BOUND 0x0008
84#define LIGHTRANGER8_VHV_CONFIG_COUNT_THRESH 0x0009
85#define LIGHTRANGER8_VHV_CONFIG_OFFSET 0x000A
86#define LIGHTRANGER8_VHV_CONFIG_INIT 0x000B
87#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_REF_0 0x000D
88#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_REF_1 0x000E
89#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_REF_2 0x000F
90#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_REF_3 0x0010
91#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_REF_4 0x0011
92#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_REF_5 0x0012
93#define LIGHTRANGER8_GLOBAL_CONFIG_REF_EN_START_SELECT 0x0013
94#define LIGHTRANGER8_REF_SPAD_MAN_NUM_REQUESTED_REF_SPADS 0x0014
95#define LIGHTRANGER8_REF_SPAD_MAN_REF_LOCATION 0x0015
96#define LIGHTRANGER8_ALGO_CROSSTALK_COMPENSATION_PLANE_OFFSET_KCPS 0x0016
97#define LIGHTRANGER8_ALGO_CROSSTALK_COMPENSATION_PLANE_OFFSET_KCPS_HI 0x0016
98#define LIGHTRANGER8_ALGO_CROSSTALK_COMPENSATION_PLANE_OFFSET_KCPS_LO 0x0017
99#define LIGHTRANGER8_ALGO_CROSSTALK_COMPENSATION_X_PLANE_GRADIENT_KCPS 0x0018
100#define LIGHTRANGER8_ALGO_CROSSTALK_COMPENSATION_X_PLANE_GRADIENT_KCPS_HI 0x0018
101#define LIGHTRANGER8_ALGO_CROSSTALK_COMPENSATION_X_PLANE_GRADIENT_KCPS_LO 0x0019
102#define LIGHTRANGER8_ALGO_CROSSTALK_COMPENSATION_Y_PLANE_GRADIENT_KCPS 0x001A
103#define LIGHTRANGER8_ALGO_CROSSTALK_COMPENSATION_Y_PLANE_GRADIENT_KCPS_HI 0x001A
104#define LIGHTRANGER8_ALGO_CROSSTALK_COMPENSATION_Y_PLANE_GRADIENT_KCPS_LO 0x001B
105#define LIGHTRANGER8_REF_SPAD_CHAR_TOTAL_RATE_TARGET_MCPS 0x001C
106#define LIGHTRANGER8_REF_SPAD_CHAR_TOTAL_RATE_TARGET_MCPS_HI 0x001C
107#define LIGHTRANGER8_REF_SPAD_CHAR_TOTAL_RATE_TARGET_MCPS_LO 0x001D
108#define LIGHTRANGER8_ALGO_PART_TO_PART_RANGE_OFFSET_MM 0x001E
109#define LIGHTRANGER8_ALGO_PART_TO_PART_RANGE_OFFSET_MM_HI 0x001E
110#define LIGHTRANGER8_ALGO_PART_TO_PART_RANGE_OFFSET_MM_LO 0x001F
111#define LIGHTRANGER8_MM_CONFIG_INNER_OFFSET_MM 0x0020
112#define LIGHTRANGER8_MM_CONFIG_INNER_OFFSET_MM_HI 0x0020
113#define LIGHTRANGER8_MM_CONFIG_INNER_OFFSET_MM_LO 0x0021
114#define LIGHTRANGER8_MM_CONFIG_OUTER_OFFSET_MM 0x0022
115#define LIGHTRANGER8_MM_CONFIG_OUTER_OFFSET_MM_HI 0x0022
116#define LIGHTRANGER8_MM_CONFIG_OUTER_OFFSET_MM_LO 0x0023
117#define LIGHTRANGER8_DSS_CONFIG_TARGET_TOTAL_RATE_MCPS 0x0024
118#define LIGHTRANGER8_DSS_CONFIG_TARGET_TOTAL_RATE_MCPS_HI 0x0024
119#define LIGHTRANGER8_DSS_CONFIG_TARGET_TOTAL_RATE_MCPS_LO 0x0025
120#define LIGHTRANGER8_DEBUG_CTRL 0x0026
121#define LIGHTRANGER8_TEST_MODE_CTRL 0x0027
122#define LIGHTRANGER8_CLK_GATING_CTRL 0x0028
123#define LIGHTRANGER8_NVM_BIST_CTRL 0x0029
124#define LIGHTRANGER8_NVM_BIST_NUM_NVM_WORDS 0x002A
125#define LIGHTRANGER8_NVM_BIST_START_ADDRESS 0x002B
126#define LIGHTRANGER8_HOST_IF_STATUS 0x002C
127#define LIGHTRANGER8_PAD_I2C_HV_CONFIG 0x002D
128#define LIGHTRANGER8_PAD_I2C_HV_EXTSUP_CONFIG 0x002E
129#define LIGHTRANGER8_GPIO_HV_PAD_CTRL 0x002F
130#define LIGHTRANGER8_GPIO_HV_MUX_CTRL 0x0030
131#define LIGHTRANGER8_GPIO_TIO_HV_STATUS 0x0031
132#define LIGHTRANGER8_GPIO_FIO_HV_STATUS 0x0032
133#define LIGHTRANGER8_ANA_CONFIG_SPAD_SEL_PSWIDTH 0x0033
134#define LIGHTRANGER8_ANA_CONFIG_VCSEL_PULSE_WIDTH_OFFSET 0x0034
135#define LIGHTRANGER8_ANA_CONFIG_FAST_OSC_CONFIG_CTRL 0x0035
136#define LIGHTRANGER8_SIGMA_ESTIMATOR_EFFECTIVE_PULSE_WIDTH_NS 0x0036
137#define LIGHTRANGER8_SIGMA_ESTIMATOR_EFFECTIVE_AMBIENT_WIDTH_NS 0x0037
138#define LIGHTRANGER8_SIGMA_ESTIMATOR_SIGMA_REF_MM 0x0038
139#define LIGHTRANGER8_ALGO_CROSSTALK_COMPENSATION_VALID_HEIGHT_MM 0x0039
140#define LIGHTRANGER8_SPARE_HOST_CONFIG_STATIC_CONFIG_SPARE_0 0x003A
141#define LIGHTRANGER8_SPARE_HOST_CONFIG_STATIC_CONFIG_SPARE_1 0x003B
142#define LIGHTRANGER8_ALGO_RANGE_IGNORE_THRESHOLD_MCPS 0x003C
143#define LIGHTRANGER8_ALGO_RANGE_IGNORE_THRESHOLD_MCPS_HI 0x003C
144#define LIGHTRANGER8_ALGO_RANGE_IGNORE_THRESHOLD_MCPS_LO 0x003D
145#define LIGHTRANGER8_ALGO_RANGE_IGNORE_VALID_HEIGHT_MM 0x003E
146#define LIGHTRANGER8_ALGO_RANGE_MIN_CLIP 0x003F
147#define LIGHTRANGER8_ALGO_CONSISTENCY_CHECK_TOLERANCE 0x0040
148#define LIGHTRANGER8_SPARE_HOST_CONFIG_STATIC_CONFIG_SPARE_2 0x0041
149#define LIGHTRANGER8_SD_CONFIG_RESET_STAGES_MSB 0x0042
150#define LIGHTRANGER8_SD_CONFIG_RESET_STAGES_LSB 0x0043
151#define LIGHTRANGER8_GPH_CONFIG_STREAM_COUNT_UPDATE_VALUE 0x0044
152#define LIGHTRANGER8_GLOBAL_CONFIG_STREAM_DIVIDER 0x0045
153#define LIGHTRANGER8_SYSTEM_INTERRUPT_CONFIG_GPIO 0x0046
154#define LIGHTRANGER8_CAL_CONFIG_VCSEL_START 0x0047
155#define LIGHTRANGER8_CAL_CONFIG_REPEAT_RATE 0x0048
156#define LIGHTRANGER8_CAL_CONFIG_REPEAT_RATE_HI 0x0048
157#define LIGHTRANGER8_CAL_CONFIG_REPEAT_RATE_LO 0x0049
158#define LIGHTRANGER8_GLOBAL_CONFIG_VCSEL_WIDTH 0x004A
159#define LIGHTRANGER8_PHASECAL_CONFIG_TIMEOUT_MACROP 0x004B
160#define LIGHTRANGER8_PHASECAL_CONFIG_TARGET 0x004C
161#define LIGHTRANGER8_PHASECAL_CONFIG_OVERRIDE 0x004D
162#define LIGHTRANGER8_DSS_CONFIG_ROI_MODE_CONTROL 0x004F
163#define LIGHTRANGER8_SYSTEM_THRESH_RATE_HIGH 0x0050
164#define LIGHTRANGER8_SYSTEM_THRESH_RATE_HIGH_HI 0x0050
165#define LIGHTRANGER8_SYSTEM_THRESH_RATE_HIGH_LO 0x0051
166#define LIGHTRANGER8_SYSTEM_THRESH_RATE_LOW 0x0052
167#define LIGHTRANGER8_SYSTEM_THRESH_RATE_LOW_HI 0x0052
168#define LIGHTRANGER8_SYSTEM_THRESH_RATE_LOW_LO 0x0053
169#define LIGHTRANGER8_DSS_CONFIG_MANUAL_EFFECTIVE_SPADS_SELECT 0x0054
170#define LIGHTRANGER8_DSS_CONFIG_MANUAL_EFFECTIVE_SPADS_SELECT_HI 0x0054
171#define LIGHTRANGER8_DSS_CONFIG_MANUAL_EFFECTIVE_SPADS_SELECT_LO 0x0055
172#define LIGHTRANGER8_DSS_CONFIG_MANUAL_BLOCK_SELECT 0x0056
173#define LIGHTRANGER8_DSS_CONFIG_APERTURE_ATTENUATION 0x0057
174#define LIGHTRANGER8_DSS_CONFIG_MAX_SPADS_LIMIT 0x0058
175#define LIGHTRANGER8_DSS_CONFIG_MIN_SPADS_LIMIT 0x0059
176#define LIGHTRANGER8_MM_CONFIG_TIMEOUT_MACROP_A_HI 0x005A
177#define LIGHTRANGER8_MM_CONFIG_TIMEOUT_MACROP_A_LO 0x005B
178#define LIGHTRANGER8_MM_CONFIG_TIMEOUT_MACROP_B_HI 0x005C
179#define LIGHTRANGER8_MM_CONFIG_TIMEOUT_MACROP_B_LO 0x005D
180#define LIGHTRANGER8_RANGE_CONFIG_TIMEOUT_MACROP_A_HI 0x005E
181#define LIGHTRANGER8_RANGE_CONFIG_TIMEOUT_MACROP_A_LO 0x005F
182#define LIGHTRANGER8_RANGE_CONFIG_VCSEL_PERIOD_A 0x0060
183#define LIGHTRANGER8_RANGE_CONFIG_TIMEOUT_MACROP_B_HI 0x0061
184#define LIGHTRANGER8_RANGE_CONFIG_TIMEOUT_MACROP_B_LO 0x0062
185#define LIGHTRANGER8_RANGE_CONFIG_VCSEL_PERIOD_B 0x0063
186#define LIGHTRANGER8_RANGE_CONFIG_SIGMA_THRESH 0x0064
187#define LIGHTRANGER8_RANGE_CONFIG_SIGMA_THRESH_HI 0x0064
188#define LIGHTRANGER8_RANGE_CONFIG_SIGMA_THRESH_LO 0x0065
189#define LIGHTRANGER8_RANGE_CONFIG_MIN_COUNT_RATE_RTN_LIMIT_MCPS 0x0066
190#define LIGHTRANGER8_RANGE_CONFIG_MIN_COUNT_RATE_RTN_LIMIT_MCPS_HI 0x0066
191#define LIGHTRANGER8_RANGE_CONFIG_MIN_COUNT_RATE_RTN_LIMIT_MCPS_LO 0x0067
192#define LIGHTRANGER8_RANGE_CONFIG_VALID_PHASE_LOW 0x0068
193#define LIGHTRANGER8_RANGE_CONFIG_VALID_PHASE_HIGH 0x0069
194#define LIGHTRANGER8_SYSTEM_INTERMEASUREMENT_PERIOD 0x006C
195#define LIGHTRANGER8_SYSTEM_INTERMEASUREMENT_PERIOD_3 0x006C
196#define LIGHTRANGER8_SYSTEM_INTERMEASUREMENT_PERIOD_2 0x006D
197#define LIGHTRANGER8_SYSTEM_INTERMEASUREMENT_PERIOD_1 0x006E
198#define LIGHTRANGER8_SYSTEM_INTERMEASUREMENT_PERIOD_0 0x006F
199#define LIGHTRANGER8_SYSTEM_FRACTIONAL_ENABLE 0x0070
200#define LIGHTRANGER8_SYSTEM_GROUPED_PARAMETER_HOLD_0 0x0071
201#define LIGHTRANGER8_SYSTEM_THRESH_HIGH 0x0072
202#define LIGHTRANGER8_SYSTEM_THRESH_HIGH_HI 0x0072
203#define LIGHTRANGER8_SYSTEM_THRESH_HIGH_LO 0x0073
204#define LIGHTRANGER8_SYSTEM_THRESH_LOW 0x0074
205#define LIGHTRANGER8_SYSTEM_THRESH_LOW_HI 0x0074
206#define LIGHTRANGER8_SYSTEM_THRESH_LOW_LO 0x0075
207#define LIGHTRANGER8_SYSTEM_ENABLE_XTALK_PER_QUADRANT 0x0076
208#define LIGHTRANGER8_SYSTEM_SEED_CONFIG 0x0077
209#define LIGHTRANGER8_SD_CONFIG_WOI_SD0 0x0078
210#define LIGHTRANGER8_SD_CONFIG_WOI_SD1 0x0079
211#define LIGHTRANGER8_SD_CONFIG_INITIAL_PHASE_SD0 0x007A
212#define LIGHTRANGER8_SD_CONFIG_INITIAL_PHASE_SD1 0x007B
213#define LIGHTRANGER8_SYSTEM_GROUPED_PARAMETER_HOLD_1 0x007C
214#define LIGHTRANGER8_SD_CONFIG_FIRST_ORDER_SELECT 0x007D
215#define LIGHTRANGER8_SD_CONFIG_QUANTIFIER 0x007E
216#define LIGHTRANGER8_ROI_CONFIG_USER_ROI_CENTRE_SPAD 0x007F
217#define LIGHTRANGER8_ROI_CONFIG_USER_ROI_REQUESTED_GLOBAL_XY_SIZE 0x0080
218#define LIGHTRANGER8_SYSTEM_SEQUENCE_CONFIG 0x0081
219#define LIGHTRANGER8_SYSTEM_GROUPED_PARAMETER_HOLD 0x0082
220#define LIGHTRANGER8_POWER_MANAGEMENT_GO1_POWER_FORCE 0x0083
221#define LIGHTRANGER8_SYSTEM_STREAM_COUNT_CTRL 0x0084
222#define LIGHTRANGER8_FIRMWARE_ENABLE 0x0085
223#define LIGHTRANGER8_SYSTEM_INTERRUPT_CLEAR 0x0086
224#define LIGHTRANGER8_SYSTEM_MODE_START 0x0087
225#define LIGHTRANGER8_RESULT_INTERRUPT_STATUS 0x0088
226#define LIGHTRANGER8_RESULT_RANGE_STATUS 0x0089
227#define LIGHTRANGER8_RESULT_REPORT_STATUS 0x008A
228#define LIGHTRANGER8_RESULT_STREAM_COUNT 0x008B
229#define LIGHTRANGER8_RESULT_DSS_ACTUAL_EFFECTIVE_SPADS_SD0 0x008C
230#define LIGHTRANGER8_RESULT_DSS_ACTUAL_EFFECTIVE_SPADS_SD0_HI 0x008C
231#define LIGHTRANGER8_RESULT_DSS_ACTUAL_EFFECTIVE_SPADS_SD0_LO 0x008D
232#define LIGHTRANGER8_RESULT_PEAK_SIGNAL_COUNT_RATE_MCPS_SD0 0x008E
233#define LIGHTRANGER8_RESULT_PEAK_SIGNAL_COUNT_RATE_MCPS_SD0_HI 0x008E
234#define LIGHTRANGER8_RESULT_PEAK_SIGNAL_COUNT_RATE_MCPS_SD0_LO 0x008F
235#define LIGHTRANGER8_RESULT_AMBIENT_COUNT_RATE_MCPS_SD0 0x0090
236#define LIGHTRANGER8_RESULT_AMBIENT_COUNT_RATE_MCPS_SD0_HI 0x0090
237#define LIGHTRANGER8_RESULT_AMBIENT_COUNT_RATE_MCPS_SD0_LO 0x0091
238#define LIGHTRANGER8_RESULT_SIGMA_SD0 0x0092
239#define LIGHTRANGER8_RESULT_SIGMA_SD0_HI 0x0092
240#define LIGHTRANGER8_RESULT_SIGMA_SD0_LO 0x0093
241#define LIGHTRANGER8_RESULT_PHASE_SD0 0x0094
242#define LIGHTRANGER8_RESULT_PHASE_SD0_HI 0x0094
243#define LIGHTRANGER8_RESULT_PHASE_SD0_LO 0x0095
244#define LIGHTRANGER8_RESULT_FINAL_CROSSTALK_CORRECTED_RANGE_MM_SD0 0x0096
245#define LIGHTRANGER8_RESULT_FINAL_CROSSTALK_CORRECTED_RANGE_MM_SD0_HI 0x0096
246#define LIGHTRANGER8_RESULT_FINAL_CROSSTALK_CORRECTED_RANGE_MM_SD0_LO 0x0097
247#define LIGHTRANGER8_PEAK_SIGNAL_COUNT_RATE_CROSSTALK_CORRECTED_MCPS_SD0 0x0098
248#define LIGHTRANGER8_PEAK_SIGNAL_COUNT_RATE_CROSSTALK_CORRECTED_MCPS_SD0_HI 0x0098
249#define LIGHTRANGER8_PEAK_SIGNAL_COUNT_RATE_CROSSTALK_CORRECTED_MCPS_SD0_LO 0x0099
250#define LIGHTRANGER8_RESULT_MM_INNER_ACTUAL_EFFECTIVE_SPADS_SD0 0x009A
251#define LIGHTRANGER8_RESULT_MM_INNER_ACTUAL_EFFECTIVE_SPADS_SD0_HI 0x009A
252#define LIGHTRANGER8_RESULT_MM_INNER_ACTUAL_EFFECTIVE_SPADS_SD0_LO 0x009B
253#define LIGHTRANGER8_RESULT_MM_OUTER_ACTUAL_EFFECTIVE_SPADS_SD0 0x009C
254#define LIGHTRANGER8_RESULT_MM_OUTER_ACTUAL_EFFECTIVE_SPADS_SD0_HI 0x009C
255#define LIGHTRANGER8_RESULT_MM_OUTER_ACTUAL_EFFECTIVE_SPADS_SD0_LO 0x009D
256#define LIGHTRANGER8_RESULT_AVG_SIGNAL_COUNT_RATE_MCPS_SD0 0x009E
257#define LIGHTRANGER8_RESULT_AVG_SIGNAL_COUNT_RATE_MCPS_SD0_HI 0x009E
258#define LIGHTRANGER8_RESULT_AVG_SIGNAL_COUNT_RATE_MCPS_SD0_LO 0x009F
259#define LIGHTRANGER8_RESULT_DSS_ACTUAL_EFFECTIVE_SPADS_SD1 0x00A0
260#define LIGHTRANGER8_RESULT_DSS_ACTUAL_EFFECTIVE_SPADS_SD1_HI 0x00A0
261#define LIGHTRANGER8_RESULT_DSS_ACTUAL_EFFECTIVE_SPADS_SD1_LO 0x00A1
262#define LIGHTRANGER8_RESULT_PEAK_SIGNAL_COUNT_RATE_MCPS_SD1 0x00A2
263#define LIGHTRANGER8_RESULT_PEAK_SIGNAL_COUNT_RATE_MCPS_SD1_HI 0x00A2
264#define LIGHTRANGER8_RESULT_PEAK_SIGNAL_COUNT_RATE_MCPS_SD1_LO 0x00A3
265#define LIGHTRANGER8_RESULT_AMBIENT_COUNT_RATE_MCPS_SD1 0x00A4
266#define LIGHTRANGER8_RESULT_AMBIENT_COUNT_RATE_MCPS_SD1_HI 0x00A4
267#define LIGHTRANGER8_RESULT_AMBIENT_COUNT_RATE_MCPS_SD1_LO 0x00A5
268#define LIGHTRANGER8_RESULT_SIGMA_SD1 0x00A6
269#define LIGHTRANGER8_RESULT_SIGMA_SD1_HI 0x00A6
270#define LIGHTRANGER8_RESULT_SIGMA_SD1_LO 0x00A7
271#define LIGHTRANGER8_RESULT_PHASE_SD1 0x00A8
272#define LIGHTRANGER8_RESULT_PHASE_SD1_HI 0x00A8
273#define LIGHTRANGER8_RESULT_PHASE_SD1_LO 0x00A9
274#define LIGHTRANGER8_RESULT_FINAL_CROSSTALK_CORRECTED_RANGE_MM_SD1 0x00AA
275#define LIGHTRANGER8_RESULT_FINAL_CROSSTALK_CORRECTED_RANGE_MM_SD1_HI 0x00AA
276#define LIGHTRANGER8_RESULT_FINAL_CROSSTALK_CORRECTED_RANGE_MM_SD1_LO 0x00AB
277#define LIGHTRANGER8_RESULT_SPARE_0_SD1 0x00AC
278#define LIGHTRANGER8_RESULT_SPARE_0_SD1_HI 0x00AC
279#define LIGHTRANGER8_RESULT_SPARE_0_SD1_LO 0x00AD
280#define LIGHTRANGER8_RESULT_SPARE_1_SD1 0x00AE
281#define LIGHTRANGER8_RESULT_SPARE_1_SD1_HI 0x00AE
282#define LIGHTRANGER8_RESULT_SPARE_1_SD1_LO 0x00AF
283#define LIGHTRANGER8_RESULT_SPARE_2_SD1 0x00B0
284#define LIGHTRANGER8_RESULT_SPARE_2_SD1_HI 0x00B0
285#define LIGHTRANGER8_RESULT_SPARE_2_SD1_LO 0x00B1
286#define LIGHTRANGER8_RESULT_SPARE_3_SD1 0x00B2
287#define LIGHTRANGER8_RESULT_THRESH_INFO 0x00B3
288#define LIGHTRANGER8_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD0 0x00B4
289#define LIGHTRANGER8_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD0_3 0x00B4
290#define LIGHTRANGER8_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD0_2 0x00B5
291#define LIGHTRANGER8_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD0_1 0x00B6
292#define LIGHTRANGER8_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD0_0 0x00B7
293#define LIGHTRANGER8_RESULT_CORE_RANGING_TOTAL_EVENTS_SD0 0x00B8
294#define LIGHTRANGER8_RESULT_CORE_RANGING_TOTAL_EVENTS_SD0_3 0x00B8
295#define LIGHTRANGER8_RESULT_CORE_RANGING_TOTAL_EVENTS_SD0_2 0x00B9
296#define LIGHTRANGER8_RESULT_CORE_RANGING_TOTAL_EVENTS_SD0_1 0x00BA
297#define LIGHTRANGER8_RESULT_CORE_RANGING_TOTAL_EVENTS_SD0_0 0x00BB
298#define LIGHTRANGER8_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD0 0x00BC
299#define LIGHTRANGER8_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD0_3 0x00BC
300#define LIGHTRANGER8_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD0_2 0x00BD
301#define LIGHTRANGER8_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD0_1 0x00BE
302#define LIGHTRANGER8_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD0_0 0x00BF
303#define LIGHTRANGER8_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD0 0x00C0
304#define LIGHTRANGER8_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD0_3 0x00C0
305#define LIGHTRANGER8_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD0_2 0x00C1
306#define LIGHTRANGER8_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD0_1 0x00C2
307#define LIGHTRANGER8_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD0_0 0x00C3
308#define LIGHTRANGER8_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD1 0x00C4
309#define LIGHTRANGER8_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD1_3 0x00C4
310#define LIGHTRANGER8_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD1_2 0x00C5
311#define LIGHTRANGER8_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD1_1 0x00C6
312#define LIGHTRANGER8_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD1_0 0x00C7
313#define LIGHTRANGER8_RESULT_CORE_RANGING_TOTAL_EVENTS_SD1 0x00C8
314#define LIGHTRANGER8_RESULT_CORE_RANGING_TOTAL_EVENTS_SD1_3 0x00C8
315#define LIGHTRANGER8_RESULT_CORE_RANGING_TOTAL_EVENTS_SD1_2 0x00C9
316#define LIGHTRANGER8_RESULT_CORE_RANGING_TOTAL_EVENTS_SD1_1 0x00CA
317#define LIGHTRANGER8_RESULT_CORE_RANGING_TOTAL_EVENTS_SD1_0 0x00CB
318#define LIGHTRANGER8_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD1 0x00CC
319#define LIGHTRANGER8_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD1_3 0x00CC
320#define LIGHTRANGER8_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD1_2 0x00CD
321#define LIGHTRANGER8_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD1_1 0x00CE
322#define LIGHTRANGER8_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD1_0 0x00CF
323#define LIGHTRANGER8_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD1 0x00D0
324#define LIGHTRANGER8_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD1_3 0x00D0
325#define LIGHTRANGER8_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD1_2 0x00D1
326#define LIGHTRANGER8_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD1_1 0x00D2
327#define LIGHTRANGER8_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD1_0 0x00D3
328#define LIGHTRANGER8_RESULT_CORE_SPARE_0 0x00D4
329#define LIGHTRANGER8_PHASECAL_RESULT_REFERENCE_PHASE 0x00D6
330#define LIGHTRANGER8_PHASECAL_RESULT_REFERENCE_PHASE_HI 0x00D6
331#define LIGHTRANGER8_PHASECAL_RESULT_REFERENCE_PHASE_LO 0x00D7
332#define LIGHTRANGER8_PHASECAL_RESULT_VCSEL_START 0x00D8
333#define LIGHTRANGER8_REF_SPAD_CHAR_RESULT_NUM_ACTUAL_REF_SPADS 0x00D9
334#define LIGHTRANGER8_REF_SPAD_CHAR_RESULT_REF_LOCATION 0x00DA
335#define LIGHTRANGER8_VHV_RESULT_COLDBOOT_STATUS 0x00DB
336#define LIGHTRANGER8_VHV_RESULT_SEARCH_RESULT 0x00DC
337#define LIGHTRANGER8_VHV_RESULT_LATEST_SETTING 0x00DD
338#define LIGHTRANGER8_RESULT_OSC_CALIBRATE_VAL 0x00DE
339#define LIGHTRANGER8_RESULT_OSC_CALIBRATE_VAL_HI 0x00DE
340#define LIGHTRANGER8_RESULT_OSC_CALIBRATE_VAL_LO 0x00DF
341#define LIGHTRANGER8_ANA_CONFIG_POWERDOWN_GO1 0x00E0
342#define LIGHTRANGER8_ANA_CONFIG_REF_BG_CTRL 0x00E1
343#define LIGHTRANGER8_ANA_CONFIG_REGDVDD1V2_CTRL 0x00E2
344#define LIGHTRANGER8_ANA_CONFIG_OSC_SLOW_CTRL 0x00E3
345#define LIGHTRANGER8_TEST_MODE_STATUS 0x00E4
346#define LIGHTRANGER8_FIRMWARE_SYSTEM_STATUS 0x00E5
347#define LIGHTRANGER8_FIRMWARE_MODE_STATUS 0x00E6
348#define LIGHTRANGER8_FIRMWARE_SECONDARY_MODE_STATUS 0x00E7
349#define LIGHTRANGER8_FIRMWARE_CAL_REPEAT_RATE_COUNTER 0x00E8
350#define LIGHTRANGER8_FIRMWARE_CAL_REPEAT_RATE_COUNTER_HI 0x00E8
351#define LIGHTRANGER8_FIRMWARE_CAL_REPEAT_RATE_COUNTER_LO 0x00E9
352#define LIGHTRANGER8_FIRMWARE_HISTOGRAM_BIN 0x00EA
353#define LIGHTRANGER8_GPH_SYSTEM_THRESH_HIGH 0x00EC
354#define LIGHTRANGER8_GPH_SYSTEM_THRESH_HIGH_HI 0x00EC
355#define LIGHTRANGER8_GPH_SYSTEM_THRESH_HIGH_LO 0x00ED
356#define LIGHTRANGER8_GPH_SYSTEM_THRESH_LOW 0x00EE
357#define LIGHTRANGER8_GPH_SYSTEM_THRESH_LOW_HI 0x00EE
358#define LIGHTRANGER8_GPH_SYSTEM_THRESH_LOW_LO 0x00EF
359#define LIGHTRANGER8_GPH_SYSTEM_ENABLE_XTALK_PER_QUADRANT 0x00F0
360#define LIGHTRANGER8_GPH_SPARE_0 0x00F1
361#define LIGHTRANGER8_GPH_SD_CONFIG_WOI_SD0 0x00F2
362#define LIGHTRANGER8_GPH_SD_CONFIG_WOI_SD1 0x00F3
363#define LIGHTRANGER8_GPH_SD_CONFIG_INITIAL_PHASE_SD0 0x00F4
364#define LIGHTRANGER8_GPH_SD_CONFIG_INITIAL_PHASE_SD1 0x00F5
365#define LIGHTRANGER8_GPH_SD_CONFIG_FIRST_ORDER_SELECT 0x00F6
366#define LIGHTRANGER8_GPH_SD_CONFIG_QUANTIFIER 0x00F7
367#define LIGHTRANGER8_GPH_ROI_CONFIG_USER_ROI_CENTRE_SPAD 0x00F8
368#define LIGHTRANGER8_GPH_ROI_CONFIG_USER_ROI_REQUESTED_GLOBAL_XY_SIZE 0x00F9
369#define LIGHTRANGER8_GPH_SYSTEM_SEQUENCE_CONFIG 0x00FA
370#define LIGHTRANGER8_GPH_GPH_ID 0x00FB
371#define LIGHTRANGER8_SYSTEM_INTERRUPT_SET 0x00FC
372#define LIGHTRANGER8_INTERRUPT_MANAGER_ENABLES 0x00FD
373#define LIGHTRANGER8_INTERRUPT_MANAGER_CLEAR 0x00FE
374#define LIGHTRANGER8_INTERRUPT_MANAGER_STATUS 0x00FF
375#define LIGHTRANGER8_MCU_TO_HOST_BANK_WR_ACCESS_EN 0x0100
376#define LIGHTRANGER8_POWER_MANAGEMENT_GO1_RESET_STATUS 0x0101
377#define LIGHTRANGER8_PAD_STARTUP_MODE_VALUE_RO 0x0102
378#define LIGHTRANGER8_PAD_STARTUP_MODE_VALUE_CTRL 0x0103
379#define LIGHTRANGER8_PLL_PERIOD_US 0x0104
380#define LIGHTRANGER8_PLL_PERIOD_US_3 0x0104
381#define LIGHTRANGER8_PLL_PERIOD_US_2 0x0105
382#define LIGHTRANGER8_PLL_PERIOD_US_1 0x0106
383#define LIGHTRANGER8_PLL_PERIOD_US_0 0x0107
384#define LIGHTRANGER8_INTERRUPT_SCHEDULER_DATA_OUT 0x0108
385#define LIGHTRANGER8_INTERRUPT_SCHEDULER_DATA_OUT_3 0x0108
386#define LIGHTRANGER8_INTERRUPT_SCHEDULER_DATA_OUT_2 0x0109
387#define LIGHTRANGER8_INTERRUPT_SCHEDULER_DATA_OUT_1 0x010A
388#define LIGHTRANGER8_INTERRUPT_SCHEDULER_DATA_OUT_0 0x010B
389#define LIGHTRANGER8_NVM_BIST_COMPLETE 0x010C
390#define LIGHTRANGER8_NVM_BIST_STATUS 0x010D
391#define LIGHTRANGER8_IDENTIFICATION_MODEL_ID 0x010F
392#define LIGHTRANGER8_IDENTIFICATION_MODULE_TYPE 0x0110
393#define LIGHTRANGER8_IDENTIFICATION_REVISION_ID 0x0111
394#define LIGHTRANGER8_IDENTIFICATION_MODULE_ID 0x0112
395#define LIGHTRANGER8_IDENTIFICATION_MODULE_ID_HI 0x0112
396#define LIGHTRANGER8_IDENTIFICATION_MODULE_ID_LO 0x0113
397#define LIGHTRANGER8_ANA_CONFIG_FAST_OSC_TRIM_MAX 0x0114
398#define LIGHTRANGER8_ANA_CONFIG_FAST_OSC_FREQ_SET 0x0115
399#define LIGHTRANGER8_ANA_CONFIG_VCSEL_TRIM 0x0116
400#define LIGHTRANGER8_ANA_CONFIG_VCSEL_SELION 0x0117
401#define LIGHTRANGER8_ANA_CONFIG_VCSEL_SELION_MAX 0x0118
402#define LIGHTRANGER8_PROTECTED_LASER_SAFETY_LOCK_BIT 0x0119
403#define LIGHTRANGER8_LASER_SAFETY_KEY 0x011A
404#define LIGHTRANGER8_LASER_SAFETY_KEY_RO 0x011B
405#define LIGHTRANGER8_LASER_SAFETY_CLIP 0x011C
406#define LIGHTRANGER8_LASER_SAFETY_MULT 0x011D
407#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_0 0x011E
408#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_1 0x011F
409#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_2 0x0120
410#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_3 0x0121
411#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_4 0x0122
412#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_5 0x0123
413#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_6 0x0124
414#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_7 0x0125
415#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_8 0x0126
416#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_9 0x0127
417#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_10 0x0128
418#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_11 0x0129
419#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_12 0x012A
420#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_13 0x012B
421#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_14 0x012C
422#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_15 0x012D
423#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_16 0x012E
424#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_17 0x012F
425#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_18 0x0130
426#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_19 0x0131
427#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_20 0x0132
428#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_21 0x0133
429#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_22 0x0134
430#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_23 0x0135
431#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_24 0x0136
432#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_25 0x0137
433#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_26 0x0138
434#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_27 0x0139
435#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_28 0x013A
436#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_29 0x013B
437#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_30 0x013C
438#define LIGHTRANGER8_GLOBAL_CONFIG_SPAD_ENABLES_RTN_31 0x013D
439#define LIGHTRANGER8_ROI_CONFIG_MODE_ROI_CENTRE_SPAD 0x013E
440#define LIGHTRANGER8_ROI_CONFIG_MODE_ROI_XY_SIZE 0x013F
441#define LIGHTRANGER8_GO2_HOST_BANK_ACCESS_OVERRIDE 0x0300
442#define LIGHTRANGER8_MCU_UTIL_MULTIPLIER_MULTIPLICAND 0x0400
443#define LIGHTRANGER8_MCU_UTIL_MULTIPLIER_MULTIPLICAND_3 0x0400
444#define LIGHTRANGER8_MCU_UTIL_MULTIPLIER_MULTIPLICAND_2 0x0401
445#define LIGHTRANGER8_MCU_UTIL_MULTIPLIER_MULTIPLICAND_1 0x0402
446#define LIGHTRANGER8_MCU_UTIL_MULTIPLIER_MULTIPLICAND_0 0x0403
447#define LIGHTRANGER8_MCU_UTIL_MULTIPLIER_MULTIPLIER 0x0404
448#define LIGHTRANGER8_MCU_UTIL_MULTIPLIER_MULTIPLIER_3 0x0404
449#define LIGHTRANGER8_MCU_UTIL_MULTIPLIER_MULTIPLIER_2 0x0405
450#define LIGHTRANGER8_MCU_UTIL_MULTIPLIER_MULTIPLIER_1 0x0406
451#define LIGHTRANGER8_MCU_UTIL_MULTIPLIER_MULTIPLIER_0 0x0407
452#define LIGHTRANGER8_MCU_UTIL_MULTIPLIER_PRODUCT_HI 0x0408
453#define LIGHTRANGER8_MCU_UTIL_MULTIPLIER_PRODUCT_HI_3 0x0408
454#define LIGHTRANGER8_MCU_UTIL_MULTIPLIER_PRODUCT_HI_2 0x0409
455#define LIGHTRANGER8_MCU_UTIL_MULTIPLIER_PRODUCT_HI_1 0x040A
456#define LIGHTRANGER8_MCU_UTIL_MULTIPLIER_PRODUCT_HI_0 0x040B
457#define LIGHTRANGER8_MCU_UTIL_MULTIPLIER_PRODUCT_LO 0x040C
458#define LIGHTRANGER8_MCU_UTIL_MULTIPLIER_PRODUCT_LO_3 0x040C
459#define LIGHTRANGER8_MCU_UTIL_MULTIPLIER_PRODUCT_LO_2 0x040D
460#define LIGHTRANGER8_MCU_UTIL_MULTIPLIER_PRODUCT_LO_1 0x040E
461#define LIGHTRANGER8_MCU_UTIL_MULTIPLIER_PRODUCT_LO_0 0x040F
462#define LIGHTRANGER8_MCU_UTIL_MULTIPLIER_START 0x0410
463#define LIGHTRANGER8_MCU_UTIL_MULTIPLIER_STATUS 0x0411
464#define LIGHTRANGER8_MCU_UTIL_DIVIDER_START 0x0412
465#define LIGHTRANGER8_MCU_UTIL_DIVIDER_STATUS 0x0413
466#define LIGHTRANGER8_MCU_UTIL_DIVIDER_DIVIDEND 0x0414
467#define LIGHTRANGER8_MCU_UTIL_DIVIDER_DIVIDEND_3 0x0414
468#define LIGHTRANGER8_MCU_UTIL_DIVIDER_DIVIDEND_2 0x0415
469#define LIGHTRANGER8_MCU_UTIL_DIVIDER_DIVIDEND_1 0x0416
470#define LIGHTRANGER8_MCU_UTIL_DIVIDER_DIVIDEND_0 0x0417
471#define LIGHTRANGER8_MCU_UTIL_DIVIDER_DIVISOR 0x0418
472#define LIGHTRANGER8_MCU_UTIL_DIVIDER_DIVISOR_3 0x0418
473#define LIGHTRANGER8_MCU_UTIL_DIVIDER_DIVISOR_2 0x0419
474#define LIGHTRANGER8_MCU_UTIL_DIVIDER_DIVISOR_1 0x041A
475#define LIGHTRANGER8_MCU_UTIL_DIVIDER_DIVISOR_0 0x041B
476#define LIGHTRANGER8_MCU_UTIL_DIVIDER_QUOTIENT 0x041C
477#define LIGHTRANGER8_MCU_UTIL_DIVIDER_QUOTIENT_3 0x041C
478#define LIGHTRANGER8_MCU_UTIL_DIVIDER_QUOTIENT_2 0x041D
479#define LIGHTRANGER8_MCU_UTIL_DIVIDER_QUOTIENT_1 0x041E
480#define LIGHTRANGER8_MCU_UTIL_DIVIDER_QUOTIENT_0 0x041F
481#define LIGHTRANGER8_TIMER0_VALUE_IN 0x0420
482#define LIGHTRANGER8_TIMER0_VALUE_IN_3 0x0420
483#define LIGHTRANGER8_TIMER0_VALUE_IN_2 0x0421
484#define LIGHTRANGER8_TIMER0_VALUE_IN_1 0x0422
485#define LIGHTRANGER8_TIMER0_VALUE_IN_0 0x0423
486#define LIGHTRANGER8_TIMER1_VALUE_IN 0x0424
487#define LIGHTRANGER8_TIMER1_VALUE_IN_3 0x0424
488#define LIGHTRANGER8_TIMER1_VALUE_IN_2 0x0425
489#define LIGHTRANGER8_TIMER1_VALUE_IN_1 0x0426
490#define LIGHTRANGER8_TIMER1_VALUE_IN_0 0x0427
491#define LIGHTRANGER8_TIMER0_CTRL 0x0428
492#define LIGHTRANGER8_TIMER1_CTRL 0x0429
493#define LIGHTRANGER8_MCU_GENERAL_PURPOSE_GP_0 0x042C
494#define LIGHTRANGER8_MCU_GENERAL_PURPOSE_GP_1 0x042D
495#define LIGHTRANGER8_MCU_GENERAL_PURPOSE_GP_2 0x042E
496#define LIGHTRANGER8_MCU_GENERAL_PURPOSE_GP_3 0x042F
497#define LIGHTRANGER8_MCU_RANGE_CALC_CONFIG 0x0430
498#define LIGHTRANGER8_MCU_RANGE_CALC_OFFSET_CORRECTED_RANGE 0x0432
499#define LIGHTRANGER8_MCU_RANGE_CALC_OFFSET_CORRECTED_RANGE_HI 0x0432
500#define LIGHTRANGER8_MCU_RANGE_CALC_OFFSET_CORRECTED_RANGE_LO 0x0433
501#define LIGHTRANGER8_MCU_RANGE_CALC_SPARE_4 0x0434
502#define LIGHTRANGER8_MCU_RANGE_CALC_SPARE_4_3 0x0434
503#define LIGHTRANGER8_MCU_RANGE_CALC_SPARE_4_2 0x0435
504#define LIGHTRANGER8_MCU_RANGE_CALC_SPARE_4_1 0x0436
505#define LIGHTRANGER8_MCU_RANGE_CALC_SPARE_4_0 0x0437
506#define LIGHTRANGER8_MCU_RANGE_CALC_AMBIENT_DURATION_PRE_CALC 0x0438
507#define LIGHTRANGER8_MCU_RANGE_CALC_AMBIENT_DURATION_PRE_CALC_HI 0x0438
508#define LIGHTRANGER8_MCU_RANGE_CALC_AMBIENT_DURATION_PRE_CALC_LO 0x0439
509#define LIGHTRANGER8_MCU_RANGE_CALC_ALGO_VCSEL_PERIOD 0x043C
510#define LIGHTRANGER8_MCU_RANGE_CALC_SPARE_5 0x043D
511#define LIGHTRANGER8_MCU_RANGE_CALC_ALGO_TOTAL_PERIODS 0x043E
512#define LIGHTRANGER8_MCU_RANGE_CALC_ALGO_TOTAL_PERIODS_HI 0x043E
513#define LIGHTRANGER8_MCU_RANGE_CALC_ALGO_TOTAL_PERIODS_LO 0x043F
514#define LIGHTRANGER8_MCU_RANGE_CALC_ALGO_ACCUM_PHASE 0x0440
515#define LIGHTRANGER8_MCU_RANGE_CALC_ALGO_ACCUM_PHASE_3 0x0440
516#define LIGHTRANGER8_MCU_RANGE_CALC_ALGO_ACCUM_PHASE_2 0x0441
517#define LIGHTRANGER8_MCU_RANGE_CALC_ALGO_ACCUM_PHASE_1 0x0442
518#define LIGHTRANGER8_MCU_RANGE_CALC_ALGO_ACCUM_PHASE_0 0x0443
519#define LIGHTRANGER8_MCU_RANGE_CALC_ALGO_SIGNAL_EVENTS 0x0444
520#define LIGHTRANGER8_MCU_RANGE_CALC_ALGO_SIGNAL_EVENTS_3 0x0444
521#define LIGHTRANGER8_MCU_RANGE_CALC_ALGO_SIGNAL_EVENTS_2 0x0445
522#define LIGHTRANGER8_MCU_RANGE_CALC_ALGO_SIGNAL_EVENTS_1 0x0446
523#define LIGHTRANGER8_MCU_RANGE_CALC_ALGO_SIGNAL_EVENTS_0 0x0447
524#define LIGHTRANGER8_MCU_RANGE_CALC_ALGO_AMBIENT_EVENTS 0x0448
525#define LIGHTRANGER8_MCU_RANGE_CALC_ALGO_AMBIENT_EVENTS_3 0x0448
526#define LIGHTRANGER8_MCU_RANGE_CALC_ALGO_AMBIENT_EVENTS_2 0x0449
527#define LIGHTRANGER8_MCU_RANGE_CALC_ALGO_AMBIENT_EVENTS_1 0x044A
528#define LIGHTRANGER8_MCU_RANGE_CALC_ALGO_AMBIENT_EVENTS_0 0x044B
529#define LIGHTRANGER8_MCU_RANGE_CALC_SPARE_6 0x044C
530#define LIGHTRANGER8_MCU_RANGE_CALC_SPARE_6_HI 0x044C
531#define LIGHTRANGER8_MCU_RANGE_CALC_SPARE_6_LO 0x044D
532#define LIGHTRANGER8_MCU_RANGE_CALC_ALGO_ADJUST_VCSEL_PERIOD 0x044E
533#define LIGHTRANGER8_MCU_RANGE_CALC_ALGO_ADJUST_VCSEL_PERIOD_HI 0x044E
534#define LIGHTRANGER8_MCU_RANGE_CALC_ALGO_ADJUST_VCSEL_PERIOD_LO 0x044F
535#define LIGHTRANGER8_MCU_RANGE_CALC_NUM_SPADS 0x0450
536#define LIGHTRANGER8_MCU_RANGE_CALC_NUM_SPADS_HI 0x0450
537#define LIGHTRANGER8_MCU_RANGE_CALC_NUM_SPADS_LO 0x0451
538#define LIGHTRANGER8_MCU_RANGE_CALC_PHASE_OUTPUT 0x0452
539#define LIGHTRANGER8_MCU_RANGE_CALC_PHASE_OUTPUT_HI 0x0452
540#define LIGHTRANGER8_MCU_RANGE_CALC_PHASE_OUTPUT_LO 0x0453
541#define LIGHTRANGER8_MCU_RANGE_CALC_RATE_PER_SPAD_MCPS 0x0454
542#define LIGHTRANGER8_MCU_RANGE_CALC_RATE_PER_SPAD_MCPS_3 0x0454
543#define LIGHTRANGER8_MCU_RANGE_CALC_RATE_PER_SPAD_MCPS_2 0x0455
544#define LIGHTRANGER8_MCU_RANGE_CALC_RATE_PER_SPAD_MCPS_1 0x0456
545#define LIGHTRANGER8_MCU_RANGE_CALC_RATE_PER_SPAD_MCPS_0 0x0457
546#define LIGHTRANGER8_MCU_RANGE_CALC_SPARE_7 0x0458
547#define LIGHTRANGER8_MCU_RANGE_CALC_SPARE_8 0x0459
548#define LIGHTRANGER8_MCU_RANGE_CALC_PEAK_SIGNAL_RATE_MCPS 0x045A
549#define LIGHTRANGER8_MCU_RANGE_CALC_PEAK_SIGNAL_RATE_MCPS_HI 0x045A
550#define LIGHTRANGER8_MCU_RANGE_CALC_PEAK_SIGNAL_RATE_MCPS_LO 0x045B
551#define LIGHTRANGER8_MCU_RANGE_CALC_AVG_SIGNAL_RATE_MCPS 0x045C
552#define LIGHTRANGER8_MCU_RANGE_CALC_AVG_SIGNAL_RATE_MCPS_HI 0x045C
553#define LIGHTRANGER8_MCU_RANGE_CALC_AVG_SIGNAL_RATE_MCPS_LO 0x045D
554#define LIGHTRANGER8_MCU_RANGE_CALC_AMBIENT_RATE_MCPS 0x045E
555#define LIGHTRANGER8_MCU_RANGE_CALC_AMBIENT_RATE_MCPS_HI 0x045E
556#define LIGHTRANGER8_MCU_RANGE_CALC_AMBIENT_RATE_MCPS_LO 0x045F
557#define LIGHTRANGER8_MCU_RANGE_CALC_XTALK 0x0460
558#define LIGHTRANGER8_MCU_RANGE_CALC_XTALK_HI 0x0460
559#define LIGHTRANGER8_MCU_RANGE_CALC_XTALK_LO 0x0461
560#define LIGHTRANGER8_MCU_RANGE_CALC_CALC_STATUS 0x0462
561#define LIGHTRANGER8_MCU_RANGE_CALC_DEBUG 0x0463
562#define LIGHTRANGER8_MCU_RANGE_CALC_PEAK_SIGNAL_RATE_XTALK_CORR_MCPS 0x0464
563#define LIGHTRANGER8_MCU_RANGE_CALC_PEAK_SIGNAL_RATE_XTALK_CORR_MCPS_HI 0x0464
564#define LIGHTRANGER8_MCU_RANGE_CALC_PEAK_SIGNAL_RATE_XTALK_CORR_MCPS_LO 0x0465
565#define LIGHTRANGER8_MCU_RANGE_CALC_SPARE_0 0x0468
566#define LIGHTRANGER8_MCU_RANGE_CALC_SPARE_1 0x0469
567#define LIGHTRANGER8_MCU_RANGE_CALC_SPARE_2 0x046A
568#define LIGHTRANGER8_MCU_RANGE_CALC_SPARE_3 0x046B
569#define LIGHTRANGER8_PATCH_CTRL 0x0470
570#define LIGHTRANGER8_PATCH_JMP_ENABLES 0x0472
571#define LIGHTRANGER8_PATCH_JMP_ENABLES_HI 0x0472
572#define LIGHTRANGER8_PATCH_JMP_ENABLES_LO 0x0473
573#define LIGHTRANGER8_PATCH_DATA_ENABLES 0x0474
574#define LIGHTRANGER8_PATCH_DATA_ENABLES_HI 0x0474
575#define LIGHTRANGER8_PATCH_DATA_ENABLES_LO 0x0475
576#define LIGHTRANGER8_PATCH_OFFSET_0 0x0476
577#define LIGHTRANGER8_PATCH_OFFSET_0_HI 0x0476
578#define LIGHTRANGER8_PATCH_OFFSET_0_LO 0x0477
579#define LIGHTRANGER8_PATCH_OFFSET_1 0x0478
580#define LIGHTRANGER8_PATCH_OFFSET_1_HI 0x0478
581#define LIGHTRANGER8_PATCH_OFFSET_1_LO 0x0479
582#define LIGHTRANGER8_PATCH_OFFSET_2 0x047A
583#define LIGHTRANGER8_PATCH_OFFSET_2_HI 0x047A
584#define LIGHTRANGER8_PATCH_OFFSET_2_LO 0x047B
585#define LIGHTRANGER8_PATCH_OFFSET_3 0x047C
586#define LIGHTRANGER8_PATCH_OFFSET_3_HI 0x047C
587#define LIGHTRANGER8_PATCH_OFFSET_3_LO 0x047D
588#define LIGHTRANGER8_PATCH_OFFSET_4 0x047E
589#define LIGHTRANGER8_PATCH_OFFSET_4_HI 0x047E
590#define LIGHTRANGER8_PATCH_OFFSET_4_LO 0x047F
591#define LIGHTRANGER8_PATCH_OFFSET_5 0x0480
592#define LIGHTRANGER8_PATCH_OFFSET_5_HI 0x0480
593#define LIGHTRANGER8_PATCH_OFFSET_5_LO 0x0481
594#define LIGHTRANGER8_PATCH_OFFSET_6 0x0482
595#define LIGHTRANGER8_PATCH_OFFSET_6_HI 0x0482
596#define LIGHTRANGER8_PATCH_OFFSET_6_LO 0x0483
597#define LIGHTRANGER8_PATCH_OFFSET_7 0x0484
598#define LIGHTRANGER8_PATCH_OFFSET_7_HI 0x0484
599#define LIGHTRANGER8_PATCH_OFFSET_7_LO 0x0485
600#define LIGHTRANGER8_PATCH_OFFSET_8 0x0486
601#define LIGHTRANGER8_PATCH_OFFSET_8_HI 0x0486
602#define LIGHTRANGER8_PATCH_OFFSET_8_LO 0x0487
603#define LIGHTRANGER8_PATCH_OFFSET_9 0x0488
604#define LIGHTRANGER8_PATCH_OFFSET_9_HI 0x0488
605#define LIGHTRANGER8_PATCH_OFFSET_9_LO 0x0489
606#define LIGHTRANGER8_PATCH_OFFSET_10 0x048A
607#define LIGHTRANGER8_PATCH_OFFSET_10_HI 0x048A
608#define LIGHTRANGER8_PATCH_OFFSET_10_LO 0x048B
609#define LIGHTRANGER8_PATCH_OFFSET_11 0x048C
610#define LIGHTRANGER8_PATCH_OFFSET_11_HI 0x048C
611#define LIGHTRANGER8_PATCH_OFFSET_11_LO 0x048D
612#define LIGHTRANGER8_PATCH_OFFSET_12 0x048E
613#define LIGHTRANGER8_PATCH_OFFSET_12_HI 0x048E
614#define LIGHTRANGER8_PATCH_OFFSET_12_LO 0x048F
615#define LIGHTRANGER8_PATCH_OFFSET_13 0x0490
616#define LIGHTRANGER8_PATCH_OFFSET_13_HI 0x0490
617#define LIGHTRANGER8_PATCH_OFFSET_13_LO 0x0491
618#define LIGHTRANGER8_PATCH_OFFSET_14 0x0492
619#define LIGHTRANGER8_PATCH_OFFSET_14_HI 0x0492
620#define LIGHTRANGER8_PATCH_OFFSET_14_LO 0x0493
621#define LIGHTRANGER8_PATCH_OFFSET_15 0x0494
622#define LIGHTRANGER8_PATCH_OFFSET_15_HI 0x0494
623#define LIGHTRANGER8_PATCH_OFFSET_15_LO 0x0495
624#define LIGHTRANGER8_PATCH_ADDRESS_0 0x0496
625#define LIGHTRANGER8_PATCH_ADDRESS_0_HI 0x0496
626#define LIGHTRANGER8_PATCH_ADDRESS_0_LO 0x0497
627#define LIGHTRANGER8_PATCH_ADDRESS_1 0x0498
628#define LIGHTRANGER8_PATCH_ADDRESS_1_HI 0x0498
629#define LIGHTRANGER8_PATCH_ADDRESS_1_LO 0x0499
630#define LIGHTRANGER8_PATCH_ADDRESS_2 0x049A
631#define LIGHTRANGER8_PATCH_ADDRESS_2_HI 0x049A
632#define LIGHTRANGER8_PATCH_ADDRESS_2_LO 0x049B
633#define LIGHTRANGER8_PATCH_ADDRESS_3 0x049C
634#define LIGHTRANGER8_PATCH_ADDRESS_3_HI 0x049C
635#define LIGHTRANGER8_PATCH_ADDRESS_3_LO 0x049D
636#define LIGHTRANGER8_PATCH_ADDRESS_4 0x049E
637#define LIGHTRANGER8_PATCH_ADDRESS_4_HI 0x049E
638#define LIGHTRANGER8_PATCH_ADDRESS_4_LO 0x049F
639#define LIGHTRANGER8_PATCH_ADDRESS_5 0x04A0
640#define LIGHTRANGER8_PATCH_ADDRESS_5_HI 0x04A0
641#define LIGHTRANGER8_PATCH_ADDRESS_5_LO 0x04A1
642#define LIGHTRANGER8_PATCH_ADDRESS_6 0x04A2
643#define LIGHTRANGER8_PATCH_ADDRESS_6_HI 0x04A2
644#define LIGHTRANGER8_PATCH_ADDRESS_6_LO 0x04A3
645#define LIGHTRANGER8_PATCH_ADDRESS_7 0x04A4
646#define LIGHTRANGER8_PATCH_ADDRESS_7_HI 0x04A4
647#define LIGHTRANGER8_PATCH_ADDRESS_7_LO 0x04A5
648#define LIGHTRANGER8_PATCH_ADDRESS_8 0x04A6
649#define LIGHTRANGER8_PATCH_ADDRESS_8_HI 0x04A6
650#define LIGHTRANGER8_PATCH_ADDRESS_8_LO 0x04A7
651#define LIGHTRANGER8_PATCH_ADDRESS_9 0x04A8
652#define LIGHTRANGER8_PATCH_ADDRESS_9_HI 0x04A8
653#define LIGHTRANGER8_PATCH_ADDRESS_9_LO 0x04A9
654#define LIGHTRANGER8_PATCH_ADDRESS_10 0x04AA
655#define LIGHTRANGER8_PATCH_ADDRESS_10_HI 0x04AA
656#define LIGHTRANGER8_PATCH_ADDRESS_10_LO 0x04AB
657#define LIGHTRANGER8_PATCH_ADDRESS_11 0x04AC
658#define LIGHTRANGER8_PATCH_ADDRESS_11_HI 0x04AC
659#define LIGHTRANGER8_PATCH_ADDRESS_11_LO 0x04AD
660#define LIGHTRANGER8_PATCH_ADDRESS_12 0x04AE
661#define LIGHTRANGER8_PATCH_ADDRESS_12_HI 0x04AE
662#define LIGHTRANGER8_PATCH_ADDRESS_12_LO 0x04AF
663#define LIGHTRANGER8_PATCH_ADDRESS_13 0x04B0
664#define LIGHTRANGER8_PATCH_ADDRESS_13_HI 0x04B0
665#define LIGHTRANGER8_PATCH_ADDRESS_13_LO 0x04B1
666#define LIGHTRANGER8_PATCH_ADDRESS_14 0x04B2
667#define LIGHTRANGER8_PATCH_ADDRESS_14_HI 0x04B2
668#define LIGHTRANGER8_PATCH_ADDRESS_14_LO 0x04B3
669#define LIGHTRANGER8_PATCH_ADDRESS_15 0x04B4
670#define LIGHTRANGER8_PATCH_ADDRESS_15_HI 0x04B4
671#define LIGHTRANGER8_PATCH_ADDRESS_15_LO 0x04B5
672#define LIGHTRANGER8_SPI_ASYNC_MUX_CTRL 0x04C0
673#define LIGHTRANGER8_CLK_CONFIG 0x04C4
674#define LIGHTRANGER8_GPIO_LV_MUX_CTRL 0x04CC
675#define LIGHTRANGER8_GPIO_LV_PAD_CTRL 0x04CD
676#define LIGHTRANGER8_PAD_I2C_LV_CONFIG 0x04D0
677#define LIGHTRANGER8_PAD_STARTUP_MODE_VALUE_RO_GO1 0x04D4
678#define LIGHTRANGER8_HOST_IF_STATUS_GO1 0x04D5
679#define LIGHTRANGER8_MCU_CLK_GATING_CTRL 0x04D8
680#define LIGHTRANGER8_TEST_BIST_ROM_CTRL 0x04E0
681#define LIGHTRANGER8_TEST_BIST_ROM_RESULT 0x04E1
682#define LIGHTRANGER8_TEST_BIST_ROM_MCU_SIG 0x04E2
683#define LIGHTRANGER8_TEST_BIST_ROM_MCU_SIG_HI 0x04E2
684#define LIGHTRANGER8_TEST_BIST_ROM_MCU_SIG_LO 0x04E3
685#define LIGHTRANGER8_TEST_BIST_RAM_CTRL 0x04E4
686#define LIGHTRANGER8_TEST_BIST_RAM_RESULT 0x04E5
687#define LIGHTRANGER8_TEST_TMC 0x04E8
688#define LIGHTRANGER8_TEST_PLL_BIST_MIN_THRESHOLD 0x04F0
689#define LIGHTRANGER8_TEST_PLL_BIST_MIN_THRESHOLD_HI 0x04F0
690#define LIGHTRANGER8_TEST_PLL_BIST_MIN_THRESHOLD_LO 0x04F1
691#define LIGHTRANGER8_TEST_PLL_BIST_MAX_THRESHOLD 0x04F2
692#define LIGHTRANGER8_TEST_PLL_BIST_MAX_THRESHOLD_HI 0x04F2
693#define LIGHTRANGER8_TEST_PLL_BIST_MAX_THRESHOLD_LO 0x04F3
694#define LIGHTRANGER8_TEST_PLL_BIST_COUNT_OUT 0x04F4
695#define LIGHTRANGER8_TEST_PLL_BIST_COUNT_OUT_HI 0x04F4
696#define LIGHTRANGER8_TEST_PLL_BIST_COUNT_OUT_LO 0x04F5
697#define LIGHTRANGER8_TEST_PLL_BIST_GONOGO 0x04F6
698#define LIGHTRANGER8_TEST_PLL_BIST_CTRL 0x04F7
699#define LIGHTRANGER8_RANGING_CORE_DEVICE_ID 0x0680
700#define LIGHTRANGER8_RANGING_CORE_REVISION_ID 0x0681
701#define LIGHTRANGER8_RANGING_CORE_CLK_CTRL1 0x0683
702#define LIGHTRANGER8_RANGING_CORE_CLK_CTRL2 0x0684
703#define LIGHTRANGER8_RANGING_CORE_WOI_1 0x0685
704#define LIGHTRANGER8_RANGING_CORE_WOI_REF_1 0x0686
705#define LIGHTRANGER8_RANGING_CORE_START_RANGING 0x0687
706#define LIGHTRANGER8_RANGING_CORE_LOW_LIMIT_1 0x0690
707#define LIGHTRANGER8_RANGING_CORE_HIGH_LIMIT_1 0x0691
708#define LIGHTRANGER8_RANGING_CORE_LOW_LIMIT_REF_1 0x0692
709#define LIGHTRANGER8_RANGING_CORE_HIGH_LIMIT_REF_1 0x0693
710#define LIGHTRANGER8_RANGING_CORE_QUANTIFIER_1_MSB 0x0694
711#define LIGHTRANGER8_RANGING_CORE_QUANTIFIER_1_LSB 0x0695
712#define LIGHTRANGER8_RANGING_CORE_QUANTIFIER_REF_1_MSB 0x0696
713#define LIGHTRANGER8_RANGING_CORE_QUANTIFIER_REF_1_LSB 0x0697
714#define LIGHTRANGER8_RANGING_CORE_AMBIENT_OFFSET_1_MSB 0x0698
715#define LIGHTRANGER8_RANGING_CORE_AMBIENT_OFFSET_1_LSB 0x0699
716#define LIGHTRANGER8_RANGING_CORE_AMBIENT_OFFSET_REF_1_MSB 0x069A
717#define LIGHTRANGER8_RANGING_CORE_AMBIENT_OFFSET_REF_1_LSB 0x069B
718#define LIGHTRANGER8_RANGING_CORE_FILTER_STRENGTH_1 0x069C
719#define LIGHTRANGER8_RANGING_CORE_FILTER_STRENGTH_REF_1 0x069D
720#define LIGHTRANGER8_RANGING_CORE_SIGNAL_EVENT_LIMIT_1_MSB 0x069E
721#define LIGHTRANGER8_RANGING_CORE_SIGNAL_EVENT_LIMIT_1_LSB 0x069F
722#define LIGHTRANGER8_RANGING_CORE_SIGNAL_EVENT_LIMIT_REF_1_MSB 0x06A0
723#define LIGHTRANGER8_RANGING_CORE_SIGNAL_EVENT_LIMIT_REF_1_LSB 0x06A1
724#define LIGHTRANGER8_RANGING_CORE_TIMEOUT_OVERALL_PERIODS_MSB 0x06A4
725#define LIGHTRANGER8_RANGING_CORE_TIMEOUT_OVERALL_PERIODS_LSB 0x06A5
726#define LIGHTRANGER8_RANGING_CORE_INVERT_HW 0x06A6
727#define LIGHTRANGER8_RANGING_CORE_FORCE_HW 0x06A7
728#define LIGHTRANGER8_RANGING_CORE_STATIC_HW_VALUE 0x06A8
729#define LIGHTRANGER8_RANGING_CORE_FORCE_CONTINUOUS_AMBIENT 0x06A9
730#define LIGHTRANGER8_RANGING_CORE_TEST_PHASE_SELECT_TO_FILTER 0x06AA
731#define LIGHTRANGER8_RANGING_CORE_TEST_PHASE_SELECT_TO_TIMING_GEN 0x06AB
732#define LIGHTRANGER8_RANGING_CORE_INITIAL_PHASE_VALUE_1 0x06AC
733#define LIGHTRANGER8_RANGING_CORE_INITIAL_PHASE_VALUE_REF_1 0x06AD
734#define LIGHTRANGER8_RANGING_CORE_FORCE_UP_IN 0x06AE
735#define LIGHTRANGER8_RANGING_CORE_FORCE_DN_IN 0x06AF
736#define LIGHTRANGER8_RANGING_CORE_STATIC_UP_VALUE_1 0x06B0
737#define LIGHTRANGER8_RANGING_CORE_STATIC_UP_VALUE_REF_1 0x06B1
738#define LIGHTRANGER8_RANGING_CORE_STATIC_DN_VALUE_1 0x06B2
739#define LIGHTRANGER8_RANGING_CORE_STATIC_DN_VALUE_REF_1 0x06B3
740#define LIGHTRANGER8_RANGING_CORE_MONITOR_UP_DN 0x06B4
741#define LIGHTRANGER8_RANGING_CORE_INVERT_UP_DN 0x06B5
742#define LIGHTRANGER8_RANGING_CORE_CPUMP_1 0x06B6
743#define LIGHTRANGER8_RANGING_CORE_CPUMP_2 0x06B7
744#define LIGHTRANGER8_RANGING_CORE_CPUMP_3 0x06B8
745#define LIGHTRANGER8_RANGING_CORE_OSC_1 0x06B9
746#define LIGHTRANGER8_RANGING_CORE_PLL_1 0x06BB
747#define LIGHTRANGER8_RANGING_CORE_PLL_2 0x06BC
748#define LIGHTRANGER8_RANGING_CORE_REFERENCE_1 0x06BD
749#define LIGHTRANGER8_RANGING_CORE_REFERENCE_3 0x06BF
750#define LIGHTRANGER8_RANGING_CORE_REFERENCE_4 0x06C0
751#define LIGHTRANGER8_RANGING_CORE_REFERENCE_5 0x06C1
752#define LIGHTRANGER8_RANGING_CORE_REGAVDD1V2 0x06C3
753#define LIGHTRANGER8_RANGING_CORE_CALIB_1 0x06C4
754#define LIGHTRANGER8_RANGING_CORE_CALIB_2 0x06C5
755#define LIGHTRANGER8_RANGING_CORE_CALIB_3 0x06C6
756#define LIGHTRANGER8_RANGING_CORE_TST_MUX_SEL1 0x06C9
757#define LIGHTRANGER8_RANGING_CORE_TST_MUX_SEL2 0x06CA
758#define LIGHTRANGER8_RANGING_CORE_TST_MUX 0x06CB
759#define LIGHTRANGER8_RANGING_CORE_GPIO_OUT_TESTMUX 0x06CC
760#define LIGHTRANGER8_RANGING_CORE_CUSTOM_FE 0x06CD
761#define LIGHTRANGER8_RANGING_CORE_CUSTOM_FE_2 0x06CE
762#define LIGHTRANGER8_RANGING_CORE_SPAD_READOUT 0x06CF
763#define LIGHTRANGER8_RANGING_CORE_SPAD_READOUT_1 0x06D0
764#define LIGHTRANGER8_RANGING_CORE_SPAD_READOUT_2 0x06D1
765#define LIGHTRANGER8_RANGING_CORE_SPAD_PS 0x06D2
766#define LIGHTRANGER8_RANGING_CORE_LASER_SAFETY_2 0x06D4
767#define LIGHTRANGER8_RANGING_CORE_NVM_CTRL_MODE 0x0780
768#define LIGHTRANGER8_RANGING_CORE_NVM_CTRL_PDN 0x0781
769#define LIGHTRANGER8_RANGING_CORE_NVM_CTRL_PROGN 0x0782
770#define LIGHTRANGER8_RANGING_CORE_NVM_CTRL_READN 0x0783
771#define LIGHTRANGER8_RANGING_CORE_NVM_CTRL_PULSE_WIDTH_MSB 0x0784
772#define LIGHTRANGER8_RANGING_CORE_NVM_CTRL_PULSE_WIDTH_LSB 0x0785
773#define LIGHTRANGER8_RANGING_CORE_NVM_CTRL_HV_RISE_MSB 0x0786
774#define LIGHTRANGER8_RANGING_CORE_NVM_CTRL_HV_RISE_LSB 0x0787
775#define LIGHTRANGER8_RANGING_CORE_NVM_CTRL_HV_FALL_MSB 0x0788
776#define LIGHTRANGER8_RANGING_CORE_NVM_CTRL_HV_FALL_LSB 0x0789
777#define LIGHTRANGER8_RANGING_CORE_NVM_CTRL_TST 0x078A
778#define LIGHTRANGER8_RANGING_CORE_NVM_CTRL_TESTREAD 0x078B
779#define LIGHTRANGER8_RANGING_CORE_NVM_CTRL_DATAIN_MMM 0x078C
780#define LIGHTRANGER8_RANGING_CORE_NVM_CTRL_DATAIN_LMM 0x078D
781#define LIGHTRANGER8_RANGING_CORE_NVM_CTRL_DATAIN_LLM 0x078E
782#define LIGHTRANGER8_RANGING_CORE_NVM_CTRL_DATAIN_LLL 0x078F
783#define LIGHTRANGER8_RANGING_CORE_NVM_CTRL_DATAOUT_MMM 0x0790
784#define LIGHTRANGER8_RANGING_CORE_NVM_CTRL_DATAOUT_LMM 0x0791
785#define LIGHTRANGER8_RANGING_CORE_NVM_CTRL_DATAOUT_LLM 0x0792
786#define LIGHTRANGER8_RANGING_CORE_NVM_CTRL_DATAOUT_LLL 0x0793
787#define LIGHTRANGER8_RANGING_CORE_NVM_CTRL_ADDR 0x0794
788#define LIGHTRANGER8_RANGING_CORE_NVM_CTRL_DATAOUT_ECC 0x0795
789#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_0 0x0796
790#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_1 0x0797
791#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_2 0x0798
792#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_3 0x0799
793#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_4 0x079A
794#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_5 0x079B
795#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_6 0x079C
796#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_7 0x079D
797#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_8 0x079E
798#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_9 0x079F
799#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_10 0x07A0
800#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_11 0x07A1
801#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_12 0x07A2
802#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_13 0x07A3
803#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_14 0x07A4
804#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_15 0x07A5
805#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_16 0x07A6
806#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_17 0x07A7
807#define LIGHTRANGER8_RANGING_CORE_SPAD_SHIFT_EN 0x07BA
808#define LIGHTRANGER8_RANGING_CORE_SPAD_DISABLE_CTRL 0x07BB
809#define LIGHTRANGER8_RANGING_CORE_SPAD_EN_SHIFT_OUT_DEBUG 0x07BC
810#define LIGHTRANGER8_RANGING_CORE_SPI_MODE 0x07BD
811#define LIGHTRANGER8_RANGING_CORE_GPIO_DIR 0x07BE
812#define LIGHTRANGER8_RANGING_CORE_VCSEL_PERIOD 0x0880
813#define LIGHTRANGER8_RANGING_CORE_VCSEL_START 0x0881
814#define LIGHTRANGER8_RANGING_CORE_VCSEL_STOP 0x0882
815#define LIGHTRANGER8_RANGING_CORE_VCSEL_1 0x0885
816#define LIGHTRANGER8_RANGING_CORE_VCSEL_STATUS 0x088D
817#define LIGHTRANGER8_RANGING_CORE_STATUS 0x0980
818#define LIGHTRANGER8_RANGING_CORE_LASER_CONTINUITY_STATE 0x0981
819#define LIGHTRANGER8_RANGING_CORE_RANGE_1_MMM 0x0982
820#define LIGHTRANGER8_RANGING_CORE_RANGE_1_LMM 0x0983
821#define LIGHTRANGER8_RANGING_CORE_RANGE_1_LLM 0x0984
822#define LIGHTRANGER8_RANGING_CORE_RANGE_1_LLL 0x0985
823#define LIGHTRANGER8_RANGING_CORE_RANGE_REF_1_MMM 0x0986
824#define LIGHTRANGER8_RANGING_CORE_RANGE_REF_1_LMM 0x0987
825#define LIGHTRANGER8_RANGING_CORE_RANGE_REF_1_LLM 0x0988
826#define LIGHTRANGER8_RANGING_CORE_RANGE_REF_1_LLL 0x0989
827#define LIGHTRANGER8_RANGING_CORE_AMBIENT_WINDOW_EVENTS_1_MMM 0x098A
828#define LIGHTRANGER8_RANGING_CORE_AMBIENT_WINDOW_EVENTS_1_LMM 0x098B
829#define LIGHTRANGER8_RANGING_CORE_AMBIENT_WINDOW_EVENTS_1_LLM 0x098C
830#define LIGHTRANGER8_RANGING_CORE_AMBIENT_WINDOW_EVENTS_1_LLL 0x098D
831#define LIGHTRANGER8_RANGING_CORE_RANGING_TOTAL_EVENTS_1_MMM 0x098E
832#define LIGHTRANGER8_RANGING_CORE_RANGING_TOTAL_EVENTS_1_LMM 0x098F
833#define LIGHTRANGER8_RANGING_CORE_RANGING_TOTAL_EVENTS_1_LLM 0x0990
834#define LIGHTRANGER8_RANGING_CORE_RANGING_TOTAL_EVENTS_1_LLL 0x0991
835#define LIGHTRANGER8_RANGING_CORE_SIGNAL_TOTAL_EVENTS_1_MMM 0x0992
836#define LIGHTRANGER8_RANGING_CORE_SIGNAL_TOTAL_EVENTS_1_LMM 0x0993
837#define LIGHTRANGER8_RANGING_CORE_SIGNAL_TOTAL_EVENTS_1_LLM 0x0994
838#define LIGHTRANGER8_RANGING_CORE_SIGNAL_TOTAL_EVENTS_1_LLL 0x0995
839#define LIGHTRANGER8_RANGING_CORE_TOTAL_PERIODS_ELAPSED_1_MM 0x0996
840#define LIGHTRANGER8_RANGING_CORE_TOTAL_PERIODS_ELAPSED_1_LM 0x0997
841#define LIGHTRANGER8_RANGING_CORE_TOTAL_PERIODS_ELAPSED_1_LL 0x0998
842#define LIGHTRANGER8_RANGING_CORE_AMBIENT_MISMATCH_MM 0x0999
843#define LIGHTRANGER8_RANGING_CORE_AMBIENT_MISMATCH_LM 0x099A
844#define LIGHTRANGER8_RANGING_CORE_AMBIENT_MISMATCH_LL 0x099B
845#define LIGHTRANGER8_RANGING_CORE_AMBIENT_WINDOW_EVENTS_REF_1_MMM 0x099C
846#define LIGHTRANGER8_RANGING_CORE_AMBIENT_WINDOW_EVENTS_REF_1_LMM 0x099D
847#define LIGHTRANGER8_RANGING_CORE_AMBIENT_WINDOW_EVENTS_REF_1_LLM 0x099E
848#define LIGHTRANGER8_RANGING_CORE_AMBIENT_WINDOW_EVENTS_REF_1_LLL 0x099F
849#define LIGHTRANGER8_RANGING_CORE_RANGING_TOTAL_EVENTS_REF_1_MMM 0x09A0
850#define LIGHTRANGER8_RANGING_CORE_RANGING_TOTAL_EVENTS_REF_1_LMM 0x09A1
851#define LIGHTRANGER8_RANGING_CORE_RANGING_TOTAL_EVENTS_REF_1_LLM 0x09A2
852#define LIGHTRANGER8_RANGING_CORE_RANGING_TOTAL_EVENTS_REF_1_LLL 0x09A3
853#define LIGHTRANGER8_RANGING_CORE_SIGNAL_TOTAL_EVENTS_REF_1_MMM 0x09A4
854#define LIGHTRANGER8_RANGING_CORE_SIGNAL_TOTAL_EVENTS_REF_1_LMM 0x09A5
855#define LIGHTRANGER8_RANGING_CORE_SIGNAL_TOTAL_EVENTS_REF_1_LLM 0x09A6
856#define LIGHTRANGER8_RANGING_CORE_SIGNAL_TOTAL_EVENTS_REF_1_LLL 0x09A7
857#define LIGHTRANGER8_RANGING_CORE_TOTAL_PERIODS_ELAPSED_REF_1_MM 0x09A8
858#define LIGHTRANGER8_RANGING_CORE_TOTAL_PERIODS_ELAPSED_REF_1_LM 0x09A9
859#define LIGHTRANGER8_RANGING_CORE_TOTAL_PERIODS_ELAPSED_REF_1_LL 0x09AA
860#define LIGHTRANGER8_RANGING_CORE_AMBIENT_MISMATCH_REF_MM 0x09AB
861#define LIGHTRANGER8_RANGING_CORE_AMBIENT_MISMATCH_REF_LM 0x09AC
862#define LIGHTRANGER8_RANGING_CORE_AMBIENT_MISMATCH_REF_LL 0x09AD
863#define LIGHTRANGER8_RANGING_CORE_GPIO_CONFIG_A0 0x0A00
864#define LIGHTRANGER8_RANGING_CORE_RESET_CONTROL_A0 0x0A01
865#define LIGHTRANGER8_RANGING_CORE_INTR_MANAGER_A0 0x0A02
866#define LIGHTRANGER8_RANGING_CORE_POWER_FSM_TIME_OSC_A0 0x0A06
867#define LIGHTRANGER8_RANGING_CORE_VCSEL_ATEST_A0 0x0A07
868#define LIGHTRANGER8_RANGING_CORE_VCSEL_PERIOD_CLIPPED_A0 0x0A08
869#define LIGHTRANGER8_RANGING_CORE_VCSEL_STOP_CLIPPED_A0 0x0A09
870#define LIGHTRANGER8_RANGING_CORE_CALIB_2_A0 0x0A0A
871#define LIGHTRANGER8_RANGING_CORE_STOP_CONDITION_A0 0x0A0B
872#define LIGHTRANGER8_RANGING_CORE_STATUS_RESET_A0 0x0A0C
873#define LIGHTRANGER8_RANGING_CORE_READOUT_CFG_A0 0x0A0D
874#define LIGHTRANGER8_RANGING_CORE_WINDOW_SETTING_A0 0x0A0E
875#define LIGHTRANGER8_RANGING_CORE_VCSEL_DELAY_A0 0x0A1A
876#define LIGHTRANGER8_RANGING_CORE_REFERENCE_2_A0 0x0A1B
877#define LIGHTRANGER8_RANGING_CORE_REGAVDD1V2_A0 0x0A1D
878#define LIGHTRANGER8_RANGING_CORE_TST_MUX_A0 0x0A1F
879#define LIGHTRANGER8_RANGING_CORE_CUSTOM_FE_2_A0 0x0A20
880#define LIGHTRANGER8_RANGING_CORE_SPAD_READOUT_A0 0x0A21
881#define LIGHTRANGER8_RANGING_CORE_CPUMP_1_A0 0x0A22
882#define LIGHTRANGER8_RANGING_CORE_SPARE_REGISTER_A0 0x0A23
883#define LIGHTRANGER8_RANGING_CORE_VCSEL_CONT_STAGE5_BYPASS_A0 0x0A24
884#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_18 0x0A25
885#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_19 0x0A26
886#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_20 0x0A27
887#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_21 0x0A28
888#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_22 0x0A29
889#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_23 0x0A2A
890#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_24 0x0A2B
891#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_25 0x0A2C
892#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_26 0x0A2D
893#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_27 0x0A2E
894#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_28 0x0A2F
895#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_29 0x0A30
896#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_30 0x0A31
897#define LIGHTRANGER8_RANGING_CORE_RET_SPAD_EN_31 0x0A32
898#define LIGHTRANGER8_RANGING_CORE_REF_SPAD_EN_0_EWOK 0x0A33
899#define LIGHTRANGER8_RANGING_CORE_REF_SPAD_EN_1_EWOK 0x0A34
900#define LIGHTRANGER8_RANGING_CORE_REF_SPAD_EN_2_EWOK 0x0A35
901#define LIGHTRANGER8_RANGING_CORE_REF_SPAD_EN_3_EWOK 0x0A36
902#define LIGHTRANGER8_RANGING_CORE_REF_SPAD_EN_4_EWOK 0x0A37
903#define LIGHTRANGER8_RANGING_CORE_REF_SPAD_EN_5_EWOK 0x0A38
904#define LIGHTRANGER8_RANGING_CORE_REF_EN_START_SELECT 0x0A39
905#define LIGHTRANGER8_RANGING_CORE_REGDVDD1V2_ATEST_EWOK 0x0A41
906#define LIGHTRANGER8_SOFT_RESET_GO1 0x0B00
907#define LIGHTRANGER8_PRIVATE_PATCH_BASE_ADDR_RSLV 0x0E00
908#define LIGHTRANGER8_PREV_SHADOW_RESULT_INTERRUPT_STATUS 0x0ED0
909#define LIGHTRANGER8_PREV_SHADOW_RESULT_RANGE_STATUS 0x0ED1
910#define LIGHTRANGER8_PREV_SHADOW_RESULT_REPORT_STATUS 0x0ED2
911#define LIGHTRANGER8_PREV_SHADOW_RESULT_STREAM_COUNT 0x0ED3
912#define LIGHTRANGER8_PREV_SHADOW_RESULT_DSS_ACTUAL_EFFECTIVE_SPADS_SD0 0x0ED4
913#define LIGHTRANGER8_PREV_SHADOW_RESULT_DSS_ACTUAL_EFFECTIVE_SPADS_SD0_HI 0x0ED4
914#define LIGHTRANGER8_PREV_SHADOW_RESULT_DSS_ACTUAL_EFFECTIVE_SPADS_SD0_LO 0x0ED5
915#define LIGHTRANGER8_PREV_SHADOW_RESULT_PEAK_SIGNAL_COUNT_RATE_MCPS_SD0 0x0ED6
916#define LIGHTRANGER8_PREV_SHADOW_RESULT_PEAK_SIGNAL_COUNT_RATE_MCPS_SD0_HI 0x0ED6
917#define LIGHTRANGER8_PREV_SHADOW_RESULT_PEAK_SIGNAL_COUNT_RATE_MCPS_SD0_LO 0x0ED7
918#define LIGHTRANGER8_PREV_SHADOW_RESULT_AMBIENT_COUNT_RATE_MCPS_SD0 0x0ED8
919#define LIGHTRANGER8_PREV_SHADOW_RESULT_AMBIENT_COUNT_RATE_MCPS_SD0_HI 0x0ED8
920#define LIGHTRANGER8_PREV_SHADOW_RESULT_AMBIENT_COUNT_RATE_MCPS_SD0_LO 0x0ED9
921#define LIGHTRANGER8_PREV_SHADOW_RESULT_SIGMA_SD0 0x0EDA
922#define LIGHTRANGER8_PREV_SHADOW_RESULT_SIGMA_SD0_HI 0x0EDA
923#define LIGHTRANGER8_PREV_SHADOW_RESULT_SIGMA_SD0_LO 0x0EDB
924#define LIGHTRANGER8_PREV_SHADOW_RESULT_PHASE_SD0 0x0EDC
925#define LIGHTRANGER8_PREV_SHADOW_RESULT_PHASE_SD0_HI 0x0EDC
926#define LIGHTRANGER8_PREV_SHADOW_RESULT_PHASE_SD0_LO 0x0EDD
927#define LIGHTRANGER8_PREV_SHADOW_RESULT_FINAL_CROSSTALK_CORRECTED_RANGE_MM_SD0 0x0EDE
928#define LIGHTRANGER8_PREV_FINAL_CROSSTALK_CORRECTED_RANGE_MM_SD0_HI 0x0EDE
929#define LIGHTRANGER8_PREV_FINAL_CROSSTALK_CORRECTED_RANGE_MM_SD0_LO 0x0EDF
930#define LIGHTRANGER8_PREV_PEAK_SIGNAL_COUNT_RATE_CROSSTALK_CORRECTED_MCPS_SD0 0x0EE0
931#define LIGHTRANGER8_PPEAK_SIGNAL_COUNT_RATE_CROSSTALK_CORRECTED_MCPS_SD0_HI 0x0EE0
932#define LIGHTRANGER8_PPEAK_SIGNAL_COUNT_RATE_CROSSTALK_CORRECTED_MCPS_SD0_LO 0x0EE1
933#define LIGHTRANGER8_PREV_SHADOW_RESULT_MM_INNER_ACTUAL_EFFECTIVE_SPADS_SD0 0x0EE2
934#define LIGHTRANGER8_PREV_SHADOW_RESULT_MM_INNER_ACTUAL_EFFECTIVE_SPADS_SD0_HI 0x0EE2
935#define LIGHTRANGER8_PREV_SHADOW_RESULT_MM_INNER_ACTUAL_EFFECTIVE_SPADS_SD0_LO 0x0EE3
936#define LIGHTRANGER8_PREV_SHADOW_RESULT_MM_OUTER_ACTUAL_EFFECTIVE_SPADS_SD0 0x0EE4
937#define LIGHTRANGER8_PREV_SHADOW_RESULT_MM_OUTER_ACTUAL_EFFECTIVE_SPADS_SD0_HI 0x0EE4
938#define LIGHTRANGER8_PREV_SHADOW_RESULT_MM_OUTER_ACTUAL_EFFECTIVE_SPADS_SD0_LO 0x0EE5
939#define LIGHTRANGER8_PREV_SHADOW_RESULT_AVG_SIGNAL_COUNT_RATE_MCPS_SD0 0x0EE6
940#define LIGHTRANGER8_PREV_SHADOW_RESULT_AVG_SIGNAL_COUNT_RATE_MCPS_SD0_HI 0x0EE6
941#define LIGHTRANGER8_PREV_SHADOW_RESULT_AVG_SIGNAL_COUNT_RATE_MCPS_SD0_LO 0x0EE7
942#define LIGHTRANGER8_PREV_SHADOW_RESULT_DSS_ACTUAL_EFFECTIVE_SPADS_SD1 0x0EE8
943#define LIGHTRANGER8_PREV_SHADOW_RESULT_DSS_ACTUAL_EFFECTIVE_SPADS_SD1_HI 0x0EE8
944#define LIGHTRANGER8_PREV_SHADOW_RESULT_DSS_ACTUAL_EFFECTIVE_SPADS_SD1_LO 0x0EE9
945#define LIGHTRANGER8_PREV_SHADOW_RESULT_PEAK_SIGNAL_COUNT_RATE_MCPS_SD1 0x0EEA
946#define LIGHTRANGER8_PREV_SHADOW_RESULT_PEAK_SIGNAL_COUNT_RATE_MCPS_SD1_HI 0x0EEA
947#define LIGHTRANGER8_PREV_SHADOW_RESULT_PEAK_SIGNAL_COUNT_RATE_MCPS_SD1_LO 0x0EEB
948#define LIGHTRANGER8_PREV_SHADOW_RESULT_AMBIENT_COUNT_RATE_MCPS_SD1 0x0EEC
949#define LIGHTRANGER8_PREV_SHADOW_RESULT_AMBIENT_COUNT_RATE_MCPS_SD1_HI 0x0EEC
950#define LIGHTRANGER8_PREV_SHADOW_RESULT_AMBIENT_COUNT_RATE_MCPS_SD1_LO 0x0EED
951#define LIGHTRANGER8_PREV_SHADOW_RESULT_SIGMA_SD1 0x0EEE
952#define LIGHTRANGER8_PREV_SHADOW_RESULT_SIGMA_SD1_HI 0x0EEE
953#define LIGHTRANGER8_PREV_SHADOW_RESULT_SIGMA_SD1_LO 0x0EEF
954#define LIGHTRANGER8_PREV_SHADOW_RESULT_PHASE_SD1 0x0EF0
955#define LIGHTRANGER8_PREV_SHADOW_RESULT_PHASE_SD1_HI 0x0EF0
956#define LIGHTRANGER8_PREV_SHADOW_RESULT_PHASE_SD1_LO 0x0EF1
957#define LIGHTRANGER8_PREV_SHADOW_RESULT_FINAL_CROSSTALK_CORRECTED_RANGE_MM_SD1 0x0EF2
958#define LIGHTRANGER8_PFINAL_CROSSTALK_CORRECTED_RANGE_MM_SD1_HI 0x0EF2
959#define LIGHTRANGER8_PFINAL_CROSSTALK_CORRECTED_RANGE_MM_SD1_LO 0x0EF3
960#define LIGHTRANGER8_PREV_SHADOW_RESULT_SPARE_0_SD1 0x0EF4
961#define LIGHTRANGER8_PREV_SHADOW_RESULT_SPARE_0_SD1_HI 0x0EF4
962#define LIGHTRANGER8_PREV_SHADOW_RESULT_SPARE_0_SD1_LO 0x0EF5
963#define LIGHTRANGER8_PREV_SHADOW_RESULT_SPARE_1_SD1 0x0EF6
964#define LIGHTRANGER8_PREV_SHADOW_RESULT_SPARE_1_SD1_HI 0x0EF6
965#define LIGHTRANGER8_PREV_SHADOW_RESULT_SPARE_1_SD1_LO 0x0EF7
966#define LIGHTRANGER8_PREV_SHADOW_RESULT_SPARE_2_SD1 0x0EF8
967#define LIGHTRANGER8_PREV_SHADOW_RESULT_SPARE_2_SD1_HI 0x0EF8
968#define LIGHTRANGER8_PREV_SHADOW_RESULT_SPARE_2_SD1_LO 0x0EF9
969#define LIGHTRANGER8_PREV_SHADOW_RESULT_SPARE_3_SD1 0x0EFA
970#define LIGHTRANGER8_PREV_SHADOW_RESULT_SPARE_3_SD1_HI 0x0EFA
971#define LIGHTRANGER8_PREV_SHADOW_RESULT_SPARE_3_SD1_LO 0x0EFB
972#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD0 0x0EFC
973#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD0_3 0x0EFC
974#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD0_2 0x0EFD
975#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD0_1 0x0EFE
976#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD0_0 0x0EFF
977#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_RANGING_TOTAL_EVENTS_SD0 0x0F00
978#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_RANGING_TOTAL_EVENTS_SD0_3 0x0F00
979#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_RANGING_TOTAL_EVENTS_SD0_2 0x0F01
980#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_RANGING_TOTAL_EVENTS_SD0_1 0x0F02
981#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_RANGING_TOTAL_EVENTS_SD0_0 0x0F03
982#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD0 0x0F04
983#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD0_3 0x0F04
984#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD0_2 0x0F05
985#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD0_1 0x0F06
986#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD0_0 0x0F07
987#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD0 0x0F08
988#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD0_3 0x0F08
989#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD0_2 0x0F09
990#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD0_1 0x0F0A
991#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD0_0 0x0F0B
992#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD1 0x0F0C
993#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD1_3 0x0F0C
994#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD1_2 0x0F0D
995#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD1_1 0x0F0E
996#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD1_0 0x0F0F
997#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_RANGING_TOTAL_EVENTS_SD1 0x0F10
998#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_RANGING_TOTAL_EVENTS_SD1_3 0x0F10
999#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_RANGING_TOTAL_EVENTS_SD1_2 0x0F11
1000#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_RANGING_TOTAL_EVENTS_SD1_1 0x0F12
1001#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_RANGING_TOTAL_EVENTS_SD1_0 0x0F13
1002#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD1 0x0F14
1003#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD1_3 0x0F14
1004#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD1_2 0x0F15
1005#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD1_1 0x0F16
1006#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD1_0 0x0F17
1007#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD1 0x0F18
1008#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD1_3 0x0F18
1009#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD1_2 0x0F19
1010#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD1_1 0x0F1A
1011#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD1_0 0x0F1B
1012#define LIGHTRANGER8_PREV_SHADOW_RESULT_CORE_SPARE_0 0x0F1C
1013#define LIGHTRANGER8_RESULT_DEBUG_STATUS 0x0F20
1014#define LIGHTRANGER8_RESULT_DEBUG_STAGE 0x0F21
1015#define LIGHTRANGER8_GPH_SYSTEM_THRESH_RATE_HIGH 0x0F24
1016#define LIGHTRANGER8_GPH_SYSTEM_THRESH_RATE_HIGH_HI 0x0F24
1017#define LIGHTRANGER8_GPH_SYSTEM_THRESH_RATE_HIGH_LO 0x0F25
1018#define LIGHTRANGER8_GPH_SYSTEM_THRESH_RATE_LOW 0x0F26
1019#define LIGHTRANGER8_GPH_SYSTEM_THRESH_RATE_LOW_HI 0x0F26
1020#define LIGHTRANGER8_GPH_SYSTEM_THRESH_RATE_LOW_LO 0x0F27
1021#define LIGHTRANGER8_GPH_SYSTEM_INTERRUPT_CONFIG_GPIO 0x0F28
1022#define LIGHTRANGER8_GPH_DSS_CONFIG_ROI_MODE_CONTROL 0x0F2F
1023#define LIGHTRANGER8_GPH_DSS_CONFIG_MANUAL_EFFECTIVE_SPADS_SELECT 0x0F30
1024#define LIGHTRANGER8_GPH_DSS_CONFIG_MANUAL_EFFECTIVE_SPADS_SELECT_HI 0x0F30
1025#define LIGHTRANGER8_GPH_DSS_CONFIG_MANUAL_EFFECTIVE_SPADS_SELECT_LO 0x0F31
1026#define LIGHTRANGER8_GPH_DSS_CONFIG_MANUAL_BLOCK_SELECT 0x0F32
1027#define LIGHTRANGER8_GPH_DSS_CONFIG_MAX_SPADS_LIMIT 0x0F33
1028#define LIGHTRANGER8_GPH_DSS_CONFIG_MIN_SPADS_LIMIT 0x0F34
1029#define LIGHTRANGER8_GPH_MM_CONFIG_TIMEOUT_MACROP_A_HI 0x0F36
1030#define LIGHTRANGER8_GPH_MM_CONFIG_TIMEOUT_MACROP_A_LO 0x0F37
1031#define LIGHTRANGER8_GPH_MM_CONFIG_TIMEOUT_MACROP_B_HI 0x0F38
1032#define LIGHTRANGER8_GPH_MM_CONFIG_TIMEOUT_MACROP_B_LO 0x0F39
1033#define LIGHTRANGER8_GPH_RANGE_CONFIG_TIMEOUT_MACROP_A_HI 0x0F3A
1034#define LIGHTRANGER8_GPH_RANGE_CONFIG_TIMEOUT_MACROP_A_LO 0x0F3B
1035#define LIGHTRANGER8_GPH_RANGE_CONFIG_VCSEL_PERIOD_A 0x0F3C
1036#define LIGHTRANGER8_GPH_RANGE_CONFIG_VCSEL_PERIOD_B 0x0F3D
1037#define LIGHTRANGER8_GPH_RANGE_CONFIG_TIMEOUT_MACROP_B_HI 0x0F3E
1038#define LIGHTRANGER8_GPH_RANGE_CONFIG_TIMEOUT_MACROP_B_LO 0x0F3F
1039#define LIGHTRANGER8_GPH_RANGE_CONFIG_SIGMA_THRESH 0x0F40
1040#define LIGHTRANGER8_GPH_RANGE_CONFIG_SIGMA_THRESH_HI 0x0F40
1041#define LIGHTRANGER8_GPH_RANGE_CONFIG_SIGMA_THRESH_LO 0x0F41
1042#define LIGHTRANGER8_GPH_RANGE_CONFIG_MIN_COUNT_RATE_RTN_LIMIT_MCPS 0x0F42
1043#define LIGHTRANGER8_GPH_RANGE_CONFIG_MIN_COUNT_RATE_RTN_LIMIT_MCPS_HI 0x0F42
1044#define LIGHTRANGER8_GPH_RANGE_CONFIG_MIN_COUNT_RATE_RTN_LIMIT_MCPS_LO 0x0F43
1045#define LIGHTRANGER8_GPH_RANGE_CONFIG_VALID_PHASE_LOW 0x0F44
1046#define LIGHTRANGER8_GPH_RANGE_CONFIG_VALID_PHASE_HIGH 0x0F45
1047#define LIGHTRANGER8_FIRMWARE_INTERNAL_STREAM_COUNT_DIV 0x0F46
1048#define LIGHTRANGER8_FIRMWARE_INTERNAL_STREAM_COUNTER_VAL 0x0F47
1049#define LIGHTRANGER8_DSS_CALC_ROI_CTRL 0x0F54
1050#define LIGHTRANGER8_DSS_CALC_SPARE_1 0x0F55
1051#define LIGHTRANGER8_DSS_CALC_SPARE_2 0x0F56
1052#define LIGHTRANGER8_DSS_CALC_SPARE_3 0x0F57
1053#define LIGHTRANGER8_DSS_CALC_SPARE_4 0x0F58
1054#define LIGHTRANGER8_DSS_CALC_SPARE_5 0x0F59
1055#define LIGHTRANGER8_DSS_CALC_SPARE_6 0x0F5A
1056#define LIGHTRANGER8_DSS_CALC_SPARE_7 0x0F5B
1057#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_0 0x0F5C
1058#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_1 0x0F5D
1059#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_2 0x0F5E
1060#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_3 0x0F5F
1061#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_4 0x0F60
1062#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_5 0x0F61
1063#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_6 0x0F62
1064#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_7 0x0F63
1065#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_8 0x0F64
1066#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_9 0x0F65
1067#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_10 0x0F66
1068#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_11 0x0F67
1069#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_12 0x0F68
1070#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_13 0x0F69
1071#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_14 0x0F6A
1072#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_15 0x0F6B
1073#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_16 0x0F6C
1074#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_17 0x0F6D
1075#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_18 0x0F6E
1076#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_19 0x0F6F
1077#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_20 0x0F70
1078#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_21 0x0F71
1079#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_22 0x0F72
1080#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_23 0x0F73
1081#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_24 0x0F74
1082#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_25 0x0F75
1083#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_26 0x0F76
1084#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_27 0x0F77
1085#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_28 0x0F78
1086#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_29 0x0F79
1087#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_30 0x0F7A
1088#define LIGHTRANGER8_DSS_CALC_USER_ROI_SPAD_EN_31 0x0F7B
1089#define LIGHTRANGER8_DSS_CALC_USER_ROI_0 0x0F7C
1090#define LIGHTRANGER8_DSS_CALC_USER_ROI_1 0x0F7D
1091#define LIGHTRANGER8_DSS_CALC_MODE_ROI_0 0x0F7E
1092#define LIGHTRANGER8_DSS_CALC_MODE_ROI_1 0x0F7F
1093#define LIGHTRANGER8_SIGMA_ESTIMATOR_CALC_SPARE_0 0x0F80
1094#define LIGHTRANGER8_VHV_RESULT_PEAK_SIGNAL_RATE_MCPS 0x0F82
1095#define LIGHTRANGER8_VHV_RESULT_PEAK_SIGNAL_RATE_MCPS_HI 0x0F82
1096#define LIGHTRANGER8_VHV_RESULT_PEAK_SIGNAL_RATE_MCPS_LO 0x0F83
1097#define LIGHTRANGER8_VHV_RESULT_SIGNAL_TOTAL_EVENTS_REF 0x0F84
1098#define LIGHTRANGER8_VHV_RESULT_SIGNAL_TOTAL_EVENTS_REF_3 0x0F84
1099#define LIGHTRANGER8_VHV_RESULT_SIGNAL_TOTAL_EVENTS_REF_2 0x0F85
1100#define LIGHTRANGER8_VHV_RESULT_SIGNAL_TOTAL_EVENTS_REF_1 0x0F86
1101#define LIGHTRANGER8_VHV_RESULT_SIGNAL_TOTAL_EVENTS_REF_0 0x0F87
1102#define LIGHTRANGER8_PHASECAL_RESULT_PHASE_OUTPUT_REF 0x0F88
1103#define LIGHTRANGER8_PHASECAL_RESULT_PHASE_OUTPUT_REF_HI 0x0F88
1104#define LIGHTRANGER8_PHASECAL_RESULT_PHASE_OUTPUT_REF_LO 0x0F89
1105#define LIGHTRANGER8_DSS_RESULT_TOTAL_RATE_PER_SPAD 0x0F8A
1106#define LIGHTRANGER8_DSS_RESULT_TOTAL_RATE_PER_SPAD_HI 0x0F8A
1107#define LIGHTRANGER8_DSS_RESULT_TOTAL_RATE_PER_SPAD_LO 0x0F8B
1108#define LIGHTRANGER8_DSS_RESULT_ENABLED_BLOCKS 0x0F8C
1109#define LIGHTRANGER8_DSS_RESULT_NUM_REQUESTED_SPADS 0x0F8E
1110#define LIGHTRANGER8_DSS_RESULT_NUM_REQUESTED_SPADS_HI 0x0F8E
1111#define LIGHTRANGER8_DSS_RESULT_NUM_REQUESTED_SPADS_LO 0x0F8F
1112#define LIGHTRANGER8_MM_RESULT_INNER_INTERSECTION_RATE 0x0F92
1113#define LIGHTRANGER8_MM_RESULT_INNER_INTERSECTION_RATE_HI 0x0F92
1114#define LIGHTRANGER8_MM_RESULT_INNER_INTERSECTION_RATE_LO 0x0F93
1115#define LIGHTRANGER8_MM_RESULT_OUTER_COMPLEMENT_RATE 0x0F94
1116#define LIGHTRANGER8_MM_RESULT_OUTER_COMPLEMENT_RATE_HI 0x0F94
1117#define LIGHTRANGER8_MM_RESULT_OUTER_COMPLEMENT_RATE_LO 0x0F95
1118#define LIGHTRANGER8_MM_RESULT_TOTAL_OFFSET 0x0F96
1119#define LIGHTRANGER8_MM_RESULT_TOTAL_OFFSET_HI 0x0F96
1120#define LIGHTRANGER8_MM_RESULT_TOTAL_OFFSET_LO 0x0F97
1121#define LIGHTRANGER8_XTALK_CALC_XTALK_FOR_ENABLED_SPADS 0x0F98
1122#define LIGHTRANGER8_XTALK_CALC_XTALK_FOR_ENABLED_SPADS_3 0x0F98
1123#define LIGHTRANGER8_XTALK_CALC_XTALK_FOR_ENABLED_SPADS_2 0x0F99
1124#define LIGHTRANGER8_XTALK_CALC_XTALK_FOR_ENABLED_SPADS_1 0x0F9A
1125#define LIGHTRANGER8_XTALK_CALC_XTALK_FOR_ENABLED_SPADS_0 0x0F9B
1126#define LIGHTRANGER8_XTALK_RESULT_AVG_XTALK_USER_ROI_KCPS 0x0F9C
1127#define LIGHTRANGER8_XTALK_RESULT_AVG_XTALK_USER_ROI_KCPS_3 0x0F9C
1128#define LIGHTRANGER8_XTALK_RESULT_AVG_XTALK_USER_ROI_KCPS_2 0x0F9D
1129#define LIGHTRANGER8_XTALK_RESULT_AVG_XTALK_USER_ROI_KCPS_1 0x0F9E
1130#define LIGHTRANGER8_XTALK_RESULT_AVG_XTALK_USER_ROI_KCPS_0 0x0F9F
1131#define LIGHTRANGER8_XTALK_RESULT_AVG_XTALK_MM_INNER_ROI_KCPS 0x0FA0
1132#define LIGHTRANGER8_XTALK_RESULT_AVG_XTALK_MM_INNER_ROI_KCPS_3 0x0FA0
1133#define LIGHTRANGER8_XTALK_RESULT_AVG_XTALK_MM_INNER_ROI_KCPS_2 0x0FA1
1134#define LIGHTRANGER8_XTALK_RESULT_AVG_XTALK_MM_INNER_ROI_KCPS_1 0x0FA2
1135#define LIGHTRANGER8_XTALK_RESULT_AVG_XTALK_MM_INNER_ROI_KCPS_0 0x0FA3
1136#define LIGHTRANGER8_XTALK_RESULT_AVG_XTALK_MM_OUTER_ROI_KCPS 0x0FA4
1137#define LIGHTRANGER8_XTALK_RESULT_AVG_XTALK_MM_OUTER_ROI_KCPS_3 0x0FA4
1138#define LIGHTRANGER8_XTALK_RESULT_AVG_XTALK_MM_OUTER_ROI_KCPS_2 0x0FA5
1139#define LIGHTRANGER8_XTALK_RESULT_AVG_XTALK_MM_OUTER_ROI_KCPS_1 0x0FA6
1140#define LIGHTRANGER8_XTALK_RESULT_AVG_XTALK_MM_OUTER_ROI_KCPS_0 0x0FA7
1141#define LIGHTRANGER8_RANGE_RESULT_ACCUM_PHASE 0x0FA8
1142#define LIGHTRANGER8_RANGE_RESULT_ACCUM_PHASE_3 0x0FA8
1143#define LIGHTRANGER8_RANGE_RESULT_ACCUM_PHASE_2 0x0FA9
1144#define LIGHTRANGER8_RANGE_RESULT_ACCUM_PHASE_1 0x0FAA
1145#define LIGHTRANGER8_RANGE_RESULT_ACCUM_PHASE_0 0x0FAB
1146#define LIGHTRANGER8_RANGE_RESULT_OFFSET_CORRECTED_RANGE 0x0FAC
1147#define LIGHTRANGER8_RANGE_RESULT_OFFSET_CORRECTED_RANGE_HI 0x0FAC
1148#define LIGHTRANGER8_RANGE_RESULT_OFFSET_CORRECTED_RANGE_LO 0x0FAD
1149#define LIGHTRANGER8_SHADOW_PHASECAL_RESULT_VCSEL_START 0x0FAE
1150#define LIGHTRANGER8_SHADOW_RESULT_INTERRUPT_STATUS 0x0FB0
1151#define LIGHTRANGER8_SHADOW_RESULT_RANGE_STATUS 0x0FB1
1152#define LIGHTRANGER8_SHADOW_RESULT_REPORT_STATUS 0x0FB2
1153#define LIGHTRANGER8_SHADOW_RESULT_STREAM_COUNT 0x0FB3
1154#define LIGHTRANGER8_SHADOW_RESULT_DSS_ACTUAL_EFFECTIVE_SPADS_SD0 0x0FB4
1155#define LIGHTRANGER8_SHADOW_RESULT_DSS_ACTUAL_EFFECTIVE_SPADS_SD0_HI 0x0FB4
1156#define LIGHTRANGER8_SHADOW_RESULT_DSS_ACTUAL_EFFECTIVE_SPADS_SD0_LO 0x0FB5
1157#define LIGHTRANGER8_SHADOW_RESULT_PEAK_SIGNAL_COUNT_RATE_MCPS_SD0 0x0FB6
1158#define LIGHTRANGER8_SHADOW_RESULT_PEAK_SIGNAL_COUNT_RATE_MCPS_SD0_HI 0x0FB6
1159#define LIGHTRANGER8_SHADOW_RESULT_PEAK_SIGNAL_COUNT_RATE_MCPS_SD0_LO 0x0FB7
1160#define LIGHTRANGER8_SHADOW_RESULT_AMBIENT_COUNT_RATE_MCPS_SD0 0x0FB8
1161#define LIGHTRANGER8_SHADOW_RESULT_AMBIENT_COUNT_RATE_MCPS_SD0_HI 0x0FB8
1162#define LIGHTRANGER8_SHADOW_RESULT_AMBIENT_COUNT_RATE_MCPS_SD0_LO 0x0FB9
1163#define LIGHTRANGER8_SHADOW_RESULT_SIGMA_SD0 0x0FBA
1164#define LIGHTRANGER8_SHADOW_RESULT_SIGMA_SD0_HI 0x0FBA
1165#define LIGHTRANGER8_SHADOW_RESULT_SIGMA_SD0_LO 0x0FBB
1166#define LIGHTRANGER8_SHADOW_RESULT_PHASE_SD0 0x0FBC
1167#define LIGHTRANGER8_SHADOW_RESULT_PHASE_SD0_HI 0x0FBC
1168#define LIGHTRANGER8_SHADOW_RESULT_PHASE_SD0_LO 0x0FBD
1169#define LIGHTRANGER8_SHADOW_RESULT_FINAL_CROSSTALK_CORRECTED_RANGE_MM_SD0 0x0FBE
1170#define LIGHTRANGER8_SHADOW_RESULT_FINAL_CROSSTALK_CORRECTED_RANGE_MM_SD0_HI 0x0FBE
1171#define LIGHTRANGER8_SHADOW_RESULT_FINAL_CROSSTALK_CORRECTED_RANGE_MM_SD0_LO 0x0FBF
1172#define LIGHTRANGER8_SHPEAK_SIGNAL_COUNT_RATE_CROSSTALK_CORRECTED_MCPS_SD0 0x0FC0
1173#define LIGHTRANGER8_SHPEAK_SIGNAL_COUNT_RATE_CROSSTALK_CORRECTED_MCPS_SD0_HI 0x0FC0
1174#define LIGHTRANGER8_SHPEAK_SIGNAL_COUNT_RATE_CROSSTALK_CORRECTED_MCPS_SD0_LO 0x0FC1
1175#define LIGHTRANGER8_SHADOW_RESULT_MM_INNER_ACTUAL_EFFECTIVE_SPADS_SD0 0x0FC2
1176#define LIGHTRANGER8_SHADOW_RESULT_MM_INNER_ACTUAL_EFFECTIVE_SPADS_SD0_HI 0x0FC2
1177#define LIGHTRANGER8_SHADOW_RESULT_MM_INNER_ACTUAL_EFFECTIVE_SPADS_SD0_LO 0x0FC3
1178#define LIGHTRANGER8_SHADOW_RESULT_MM_OUTER_ACTUAL_EFFECTIVE_SPADS_SD0 0x0FC4
1179#define LIGHTRANGER8_SHADOW_RESULT_MM_OUTER_ACTUAL_EFFECTIVE_SPADS_SD0_HI 0x0FC4
1180#define LIGHTRANGER8_SHADOW_RESULT_MM_OUTER_ACTUAL_EFFECTIVE_SPADS_SD0_LO 0x0FC5
1181#define LIGHTRANGER8_SHADOW_RESULT_AVG_SIGNAL_COUNT_RATE_MCPS_SD0 0x0FC6
1182#define LIGHTRANGER8_SHADOW_RESULT_AVG_SIGNAL_COUNT_RATE_MCPS_SD0_HI 0x0FC6
1183#define LIGHTRANGER8_SHADOW_RESULT_AVG_SIGNAL_COUNT_RATE_MCPS_SD0_LO 0x0FC7
1184#define LIGHTRANGER8_SHADOW_RESULT_DSS_ACTUAL_EFFECTIVE_SPADS_SD1 0x0FC8
1185#define LIGHTRANGER8_SHADOW_RESULT_DSS_ACTUAL_EFFECTIVE_SPADS_SD1_HI 0x0FC8
1186#define LIGHTRANGER8_SHADOW_RESULT_DSS_ACTUAL_EFFECTIVE_SPADS_SD1_LO 0x0FC9
1187#define LIGHTRANGER8_SHADOW_RESULT_PEAK_SIGNAL_COUNT_RATE_MCPS_SD1 0x0FCA
1188#define LIGHTRANGER8_SHADOW_RESULT_PEAK_SIGNAL_COUNT_RATE_MCPS_SD1_HI 0x0FCA
1189#define LIGHTRANGER8_SHADOW_RESULT_PEAK_SIGNAL_COUNT_RATE_MCPS_SD1_LO 0x0FCB
1190#define LIGHTRANGER8_SHADOW_RESULT_AMBIENT_COUNT_RATE_MCPS_SD1 0x0FCC
1191#define LIGHTRANGER8_SHADOW_RESULT_AMBIENT_COUNT_RATE_MCPS_SD1_HI 0x0FCC
1192#define LIGHTRANGER8_SHADOW_RESULT_AMBIENT_COUNT_RATE_MCPS_SD1_LO 0x0FCD
1193#define LIGHTRANGER8_SHADOW_RESULT_SIGMA_SD1 0x0FCE
1194#define LIGHTRANGER8_SHADOW_RESULT_SIGMA_SD1_HI 0x0FCE
1195#define LIGHTRANGER8_SHADOW_RESULT_SIGMA_SD1_LO 0x0FCF
1196#define LIGHTRANGER8_SHADOW_RESULT_PHASE_SD1 0x0FD0
1197#define LIGHTRANGER8_SHADOW_RESULT_PHASE_SD1_HI 0x0FD0
1198#define LIGHTRANGER8_SHADOW_RESULT_PHASE_SD1_LO 0x0FD1
1199#define LIGHTRANGER8_SHADOW_RESULT_FINAL_CROSSTALK_CORRECTED_RANGE_MM_SD1 0x0FD2
1200#define LIGHTRANGER8_SHADOW_RESULT_FINAL_CROSSTALK_CORRECTED_RANGE_MM_SD1_HI 0x0FD2
1201#define LIGHTRANGER8_SHADOW_RESULT_FINAL_CROSSTALK_CORRECTED_RANGE_MM_SD1_LO 0x0FD3
1202#define LIGHTRANGER8_SHADOW_RESULT_SPARE_0_SD1 0x0FD4
1203#define LIGHTRANGER8_SHADOW_RESULT_SPARE_0_SD1_HI 0x0FD4
1204#define LIGHTRANGER8_SHADOW_RESULT_SPARE_0_SD1_LO 0x0FD5
1205#define LIGHTRANGER8_SHADOW_RESULT_SPARE_1_SD1 0x0FD6
1206#define LIGHTRANGER8_SHADOW_RESULT_SPARE_1_SD1_HI 0x0FD6
1207#define LIGHTRANGER8_SHADOW_RESULT_SPARE_1_SD1_LO 0x0FD7
1208#define LIGHTRANGER8_SHADOW_RESULT_SPARE_2_SD1 0x0FD8
1209#define LIGHTRANGER8_SHADOW_RESULT_SPARE_2_SD1_HI 0x0FD8
1210#define LIGHTRANGER8_SHADOW_RESULT_SPARE_2_SD1_LO 0x0FD9
1211#define LIGHTRANGER8_SHADOW_RESULT_SPARE_3_SD1 0x0FDA
1212#define LIGHTRANGER8_SHADOW_RESULT_THRESH_INFO 0x0FDB
1213#define LIGHTRANGER8_SHADOW_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD0 0x0FDC
1214#define LIGHTRANGER8_SHADOW_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD0_3 0x0FDC
1215#define LIGHTRANGER8_SHADOW_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD0_2 0x0FDD
1216#define LIGHTRANGER8_SHADOW_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD0_1 0x0FDE
1217#define LIGHTRANGER8_SHADOW_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD0_0 0x0FDF
1218#define LIGHTRANGER8_SHADOW_RESULT_CORE_RANGING_TOTAL_EVENTS_SD0 0x0FE0
1219#define LIGHTRANGER8_SHADOW_RESULT_CORE_RANGING_TOTAL_EVENTS_SD0_3 0x0FE0
1220#define LIGHTRANGER8_SHADOW_RESULT_CORE_RANGING_TOTAL_EVENTS_SD0_2 0x0FE1
1221#define LIGHTRANGER8_SHADOW_RESULT_CORE_RANGING_TOTAL_EVENTS_SD0_1 0x0FE2
1222#define LIGHTRANGER8_SHADOW_RESULT_CORE_RANGING_TOTAL_EVENTS_SD0_0 0x0FE3
1223#define LIGHTRANGER8_SHADOW_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD0 0x0FE4
1224#define LIGHTRANGER8_SHADOW_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD0_3 0x0FE4
1225#define LIGHTRANGER8_SHADOW_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD0_2 0x0FE5
1226#define LIGHTRANGER8_SHADOW_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD0_1 0x0FE6
1227#define LIGHTRANGER8_SHADOW_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD0_0 0x0FE7
1228#define LIGHTRANGER8_SHADOW_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD0 0x0FE8
1229#define LIGHTRANGER8_SHADOW_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD0_3 0x0FE8
1230#define LIGHTRANGER8_SHADOW_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD0_2 0x0FE9
1231#define LIGHTRANGER8_SHADOW_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD0_1 0x0FEA
1232#define LIGHTRANGER8_SHADOW_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD0_0 0x0FEB
1233#define LIGHTRANGER8_SHADOW_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD1 0x0FEC
1234#define LIGHTRANGER8_SHADOW_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD1_3 0x0FEC
1235#define LIGHTRANGER8_SHADOW_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD1_2 0x0FED
1236#define LIGHTRANGER8_SHADOW_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD1_1 0x0FEE
1237#define LIGHTRANGER8_SHADOW_RESULT_CORE_AMBIENT_WINDOW_EVENTS_SD1_0 0x0FEF
1238#define LIGHTRANGER8_SHADOW_RESULT_CORE_RANGING_TOTAL_EVENTS_SD1 0x0FF0
1239#define LIGHTRANGER8_SHADOW_RESULT_CORE_RANGING_TOTAL_EVENTS_SD1_3 0x0FF0
1240#define LIGHTRANGER8_SHADOW_RESULT_CORE_RANGING_TOTAL_EVENTS_SD1_2 0x0FF1
1241#define LIGHTRANGER8_SHADOW_RESULT_CORE_RANGING_TOTAL_EVENTS_SD1_1 0x0FF2
1242#define LIGHTRANGER8_SHADOW_RESULT_CORE_RANGING_TOTAL_EVENTS_SD1_0 0x0FF3
1243#define LIGHTRANGER8_SHADOW_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD1 0x0FF4
1244#define LIGHTRANGER8_SHADOW_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD1_3 0x0FF4
1245#define LIGHTRANGER8_SHADOW_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD1_2 0x0FF5
1246#define LIGHTRANGER8_SHADOW_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD1_1 0x0FF6
1247#define LIGHTRANGER8_SHADOW_RESULT_CORE_SIGNAL_TOTAL_EVENTS_SD1_0 0x0FF7
1248#define LIGHTRANGER8_SHADOW_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD1 0x0FF8
1249#define LIGHTRANGER8_SHADOW_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD1_3 0x0FF8
1250#define LIGHTRANGER8_SHADOW_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD1_2 0x0FF9
1251#define LIGHTRANGER8_SHADOW_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD1_1 0x0FFA
1252#define LIGHTRANGER8_SHADOW_RESULT_CORE_TOTAL_PERIODS_ELAPSED_SD1_0 0x0FFB
1253#define LIGHTRANGER8_SHADOW_RESULT_CORE_SPARE_0 0x0FFC
1254#define LIGHTRANGER8_SHADOW_PHASECAL_RESULT_REFERENCE_PHASE_HI 0x0FFE
1255#define LIGHTRANGER8_SHADOW_PHASECAL_RESULT_REFERENCE_PHASE_LO 0x0FFF
1269#define LIGHTRANGER8_SET_DEV_ADDR 0x29
1283#define LIGHTRANGER8_DISTANCE_MODE_SHORT 0x00
1284#define LIGHTRANGER8_DISTANCE_MODE_MEDIUM 0x01
1285#define LIGHTRANGER8_DISTANCE_MODE_LONG 0x02
1299#define LIGHTRANGER8_RANGING_ENABLE 0x00
1300#define LIGHTRANGER8_RANGING_DISABLE 0x01
1314#define LIGHTRANGER8_RESP_INSUFFICIENT_BUDGET 0x02
1315#define LIGHTRANGER8_RESP_TOO_HIGH_BUDGET 0x01
1316#define LIGHTRANGER8_RESP_BUDGET_IS_SUCCESSFULLY_SET 0x00
1317#define LIGHTRANGER8_RESP_DEVICE_ERROR_ID_IS_NOT_VALID 0x01
1318#define LIGHTRANGER8_RESP_FIRMWARE_TIMEOUT_ERROR 0x02
1319#define LIGHTRANGER8_RESP_INIT_IS_SUCCESSFUL 0x00
1320#define LIGHTRANGER8_RESP_WRONG_MODE 0x01
1321#define LIGHTRANGER8_RESP_MODE_SUCCESSFULLY_SET 0x00
1322#define LIGHTRANGER8_MRESP_SIGNAL_FAIL 0x04
1323#define LIGHTRANGER8_MRESP_PHASE_OUT_OF_VALID_LIMITS 0x05
1324#define LIGHTRANGER8_MRESP_SIGMA_FAIL 0x06
1325#define LIGHTRANGER8_MRESP_WRAP_TARGET_FAIL 0x07
1326#define LIGHTRANGER8_MRESP_MINIMUM_DETECTION_THRESHOLD 0x08
1339#define LIGHTRANGER8_OK 0
1340#define LIGHTRANGER8_ERROR -1
1358#define LIGHTRANGER8_MAP_MIKROBUS( cfg, mikrobus ) \
1359 cfg.scl = MIKROBUS( mikrobus, MIKROBUS_SCL ); \
1360 cfg.sda = MIKROBUS( mikrobus, MIKROBUS_SDA ); \
1361 cfg.en = MIKROBUS( mikrobus, MIKROBUS_CS ); \
1362 cfg.int_pin = MIKROBUS( mikrobus, MIKROBUS_INT )
uint16_t lightranger8_get_distance(lightranger8_t *ctx)
LightRanger 8 get distance function.
void lightranger8_start_ranging_cmd(lightranger8_t *ctx, uint8_t ranging_mode)
LightRanger 8 start ranging function.
void lightranger8_calibrate_offset(lightranger8_t *ctx, uint16_t target_distance_mm, uint32_t period_ms, int16_t *offset)
LightRanger 8 calibrate offset function.
uint16_t lightranger8_get_signal_rate(lightranger8_t *ctx)
LightRanger 8 get signal rate function.
void lightranger8_set_roi(lightranger8_t *ctx, uint16_t x, uint16_t y)
LightRanger 8 set roi function.
void lightranger8_software_reset(lightranger8_t *ctx)
LightRanger 8 software reset function.
err_t lightranger8_default_cfg(lightranger8_t *ctx)
LightRanger 8 default configuration function.
void lightranger8_get_roi(lightranger8_t *ctx, uint16_t *roi_x, uint16_t *roi_y)
LightRanger 8 get roi function.
void lightranger8_system_interrupt_clear(lightranger8_t *ctx)
LightRanger 8 system interrupt clear function.
err_t lightranger8_set_measurement_timing_budget(lightranger8_t *ctx, uint32_t budget_us)
LightRanger 8 set measurement timing budget function.
void lightranger8_stop_measurement(lightranger8_t *ctx)
LightRanger 8 stop measurement function.
uint32_t lightranger8_get_timing_budget(lightranger8_t *ctx)
LightRanger 8 get timing budget function.
uint8_t lightranger8_get_roi_center(lightranger8_t *ctx)
LightRanger 8 get roi center function.
err_t lightranger8_generic_write(lightranger8_t *ctx, uint16_t reg, uint8_t *tx_buf, uint8_t tx_len)
LightRanger 8 I2C writing function.
uint8_t lightranger8_set_distance_mode(lightranger8_t *ctx, uint8_t mode)
LightRanger 8 set distance mode function.
void lightranger8_set_roi_center(lightranger8_t *ctx, uint8_t roi_center)
LightRanger 8 set roi center function.
void lightranger8_set_offset(lightranger8_t *ctx, int16_t offset_value)
LightRanger 8 set offset function.
void lightranger8_power_on(lightranger8_t *ctx)
LightRanger 8 power on function.
void lightranger8_cfg_setup(lightranger8_cfg_t *cfg)
LightRanger 8 configuration object setup function.
uint16_t lightranger8_get_measurement_period(lightranger8_t *ctx)
LightRanger 8 get intermeasurement period function.
uint8_t lightranger8_get_range_status(lightranger8_t *ctx)
LightRanger 8 get range status function.
err_t lightranger8_init(lightranger8_t *ctx, lightranger8_cfg_t *cfg)
LightRanger 8 initialization function.
uint8_t lightranger8_new_data_ready(lightranger8_t *ctx)
LightRanger 8 data ready function.
err_t lightranger8_generic_read(lightranger8_t *ctx, uint16_t reg, uint8_t *rx_buf, uint8_t rx_len)
LightRanger 8 I2C reading function.
void lightranger8_set_xshut_pin(lightranger8_t *ctx, uint8_t state)
LightRanger 8 set xshut pin function.
void lightranger8_start_measurement(lightranger8_t *ctx, uint32_t period_ms)
LightRanger 8 start measurement function.
uint8_t lightranger8_get_interrupt_state(lightranger8_t *ctx)
LightRanger 8 get int pin state function.
LightRanger 8 Click configuration object.
Definition lightranger8.h:1399
uint32_t i2c_speed
Definition lightranger8.h:1406
pin_name_t scl
Definition lightranger8.h:1400
pin_name_t en
Definition lightranger8.h:1403
pin_name_t int_pin
Definition lightranger8.h:1404
pin_name_t sda
Definition lightranger8.h:1401
uint8_t i2c_address
Definition lightranger8.h:1407
LightRanger 8 Click context object.
Definition lightranger8.h:1372
uint16_t osc_calibrate_val
Definition lightranger8.h:1390
digital_in_t int_pin
Definition lightranger8.h:1379
i2c_master_t i2c
Definition lightranger8.h:1383
uint16_t fast_osc_frequency
Definition lightranger8.h:1389
digital_out_t en
Definition lightranger8.h:1375
uint8_t slave_address
Definition lightranger8.h:1387