Fork, renaming of VL53L1CB-2

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Dependents:   X_NUCLEO_53L1CB

Committer:
Charles MacNeill
Date:
Fri Jun 11 17:08:27 2021 +0100
Revision:
13:3f1b341901dd
Parent:
7:1add29d51e72
changing case of vl53l1cb.* so it works in linux

Who changed what in which revision?

UserRevisionLine numberNew contents of line
charlesmn 0:3ac96e360672 1
Charles MacNeill 7:1add29d51e72 2 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
Charles MacNeill 7:1add29d51e72 3 /******************************************************************************
charlesmn 0:3ac96e360672 4 * Copyright (c) 2020, STMicroelectronics - All Rights Reserved
charlesmn 0:3ac96e360672 5
Charles MacNeill 7:1add29d51e72 6 This file is part of VL53L1 and is dual licensed,
Charles MacNeill 7:1add29d51e72 7 either GPL-2.0+
charlesmn 0:3ac96e360672 8 or 'BSD 3-clause "New" or "Revised" License' , at your option.
Charles MacNeill 7:1add29d51e72 9 ******************************************************************************
Charles MacNeill 7:1add29d51e72 10 */
charlesmn 0:3ac96e360672 11
charlesmn 0:3ac96e360672 12
charlesmn 0:3ac96e360672 13
charlesmn 0:3ac96e360672 14
charlesmn 0:3ac96e360672 15 #ifndef _VL53L1_API_PRESET_MODES_H_
charlesmn 0:3ac96e360672 16 #define _VL53L1_API_PRESET_MODES_H_
charlesmn 0:3ac96e360672 17
charlesmn 0:3ac96e360672 18 #include "vl53l1_ll_def.h"
charlesmn 0:3ac96e360672 19 #include "vl53l1_dmax_structs.h"
charlesmn 0:3ac96e360672 20
charlesmn 0:3ac96e360672 21 #ifdef __cplusplus
charlesmn 0:3ac96e360672 22 extern "C" {
charlesmn 0:3ac96e360672 23 #endif
charlesmn 0:3ac96e360672 24
charlesmn 0:3ac96e360672 25
charlesmn 0:3ac96e360672 26
charlesmn 0:3ac96e360672 27
charlesmn 0:3ac96e360672 28 VL53L1_Error VL53L1_init_refspadchar_config_struct(
charlesmn 0:3ac96e360672 29 VL53L1_refspadchar_config_t *pdata);
charlesmn 0:3ac96e360672 30
charlesmn 0:3ac96e360672 31
charlesmn 0:3ac96e360672 32
charlesmn 0:3ac96e360672 33
charlesmn 0:3ac96e360672 34 VL53L1_Error VL53L1_init_ssc_config_struct(
charlesmn 0:3ac96e360672 35 VL53L1_ssc_config_t *pdata);
charlesmn 0:3ac96e360672 36
charlesmn 0:3ac96e360672 37
charlesmn 0:3ac96e360672 38
charlesmn 0:3ac96e360672 39
charlesmn 0:3ac96e360672 40 VL53L1_Error VL53L1_init_xtalk_config_struct(
charlesmn 0:3ac96e360672 41 VL53L1_customer_nvm_managed_t *pnvm,
charlesmn 0:3ac96e360672 42 VL53L1_xtalk_config_t *pdata);
charlesmn 0:3ac96e360672 43
charlesmn 0:3ac96e360672 44
charlesmn 0:3ac96e360672 45
charlesmn 0:3ac96e360672 46 VL53L1_Error VL53L1_init_xtalk_extract_config_struct(
charlesmn 0:3ac96e360672 47 VL53L1_xtalkextract_config_t *pdata);
charlesmn 0:3ac96e360672 48
charlesmn 0:3ac96e360672 49
charlesmn 0:3ac96e360672 50
charlesmn 0:3ac96e360672 51 VL53L1_Error VL53L1_init_offset_cal_config_struct(
charlesmn 0:3ac96e360672 52 VL53L1_offsetcal_config_t *pdata);
charlesmn 0:3ac96e360672 53
charlesmn 0:3ac96e360672 54
charlesmn 0:3ac96e360672 55
charlesmn 0:3ac96e360672 56 VL53L1_Error VL53L1_init_zone_cal_config_struct(
charlesmn 0:3ac96e360672 57 VL53L1_zonecal_config_t *pdata);
charlesmn 0:3ac96e360672 58
charlesmn 0:3ac96e360672 59
charlesmn 0:3ac96e360672 60
charlesmn 0:3ac96e360672 61 VL53L1_Error VL53L1_init_hist_post_process_config_struct(
charlesmn 0:3ac96e360672 62 uint8_t xtalk_compensation_enable,
charlesmn 0:3ac96e360672 63 VL53L1_hist_post_process_config_t *pdata);
charlesmn 0:3ac96e360672 64
charlesmn 0:3ac96e360672 65
charlesmn 0:3ac96e360672 66
charlesmn 0:3ac96e360672 67
charlesmn 0:3ac96e360672 68 VL53L1_Error VL53L1_init_dmax_calibration_data_struct(
charlesmn 0:3ac96e360672 69 VL53L1_dmax_calibration_data_t *pdata);
charlesmn 0:3ac96e360672 70
charlesmn 0:3ac96e360672 71
charlesmn 0:3ac96e360672 72
charlesmn 0:3ac96e360672 73
charlesmn 0:3ac96e360672 74 VL53L1_Error VL53L1_init_tuning_parm_storage_struct(
charlesmn 0:3ac96e360672 75 VL53L1_tuning_parm_storage_t *pdata);
charlesmn 0:3ac96e360672 76
charlesmn 0:3ac96e360672 77
charlesmn 0:3ac96e360672 78
charlesmn 0:3ac96e360672 79 VL53L1_Error VL53L1_init_hist_gen3_dmax_config_struct(
charlesmn 0:3ac96e360672 80 VL53L1_hist_gen3_dmax_config_t *pdata);
charlesmn 0:3ac96e360672 81
charlesmn 0:3ac96e360672 82
charlesmn 0:3ac96e360672 83
charlesmn 0:3ac96e360672 84
charlesmn 0:3ac96e360672 85 VL53L1_Error VL53L1_preset_mode_standard_ranging(
charlesmn 0:3ac96e360672 86 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 87 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 88 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 89 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 90 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 91 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 92 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 93 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 94
charlesmn 0:3ac96e360672 95
charlesmn 0:3ac96e360672 96
charlesmn 0:3ac96e360672 97 VL53L1_Error VL53L1_preset_mode_standard_ranging_short_range(
charlesmn 0:3ac96e360672 98 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 99 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 100 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 101 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 102 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 103 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 104 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 105 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 106
charlesmn 0:3ac96e360672 107
charlesmn 0:3ac96e360672 108
charlesmn 0:3ac96e360672 109
charlesmn 0:3ac96e360672 110 VL53L1_Error VL53L1_preset_mode_standard_ranging_long_range(
charlesmn 0:3ac96e360672 111 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 112 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 113 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 114 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 115 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 116 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 117 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 118 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 119
charlesmn 0:3ac96e360672 120
charlesmn 0:3ac96e360672 121
charlesmn 0:3ac96e360672 122
charlesmn 0:3ac96e360672 123 VL53L1_Error VL53L1_preset_mode_standard_ranging_mm1_cal(
charlesmn 0:3ac96e360672 124 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 125 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 126 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 127 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 128 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 129 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 130 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 131 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 132
charlesmn 0:3ac96e360672 133
charlesmn 0:3ac96e360672 134
charlesmn 0:3ac96e360672 135
charlesmn 0:3ac96e360672 136 VL53L1_Error VL53L1_preset_mode_standard_ranging_mm2_cal(
charlesmn 0:3ac96e360672 137 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 138 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 139 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 140 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 141 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 142 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 143 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 144 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 145
charlesmn 0:3ac96e360672 146
charlesmn 0:3ac96e360672 147
charlesmn 0:3ac96e360672 148
charlesmn 0:3ac96e360672 149 VL53L1_Error VL53L1_preset_mode_timed_ranging(
charlesmn 0:3ac96e360672 150
charlesmn 0:3ac96e360672 151 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 152 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 153 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 154 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 155 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 156 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 157 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 158 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 159
charlesmn 0:3ac96e360672 160
charlesmn 0:3ac96e360672 161
charlesmn 0:3ac96e360672 162 VL53L1_Error VL53L1_preset_mode_timed_ranging_short_range(
charlesmn 0:3ac96e360672 163
charlesmn 0:3ac96e360672 164 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 165 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 166 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 167 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 168 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 169 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 170 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 171 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 172
charlesmn 0:3ac96e360672 173
charlesmn 0:3ac96e360672 174
charlesmn 0:3ac96e360672 175 VL53L1_Error VL53L1_preset_mode_timed_ranging_long_range(
charlesmn 0:3ac96e360672 176
charlesmn 0:3ac96e360672 177 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 178 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 179 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 180 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 181 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 182 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 183 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 184 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 185
charlesmn 0:3ac96e360672 186
charlesmn 0:3ac96e360672 187
charlesmn 0:3ac96e360672 188 VL53L1_Error VL53L1_preset_mode_low_power_auto_ranging(
charlesmn 0:3ac96e360672 189
charlesmn 0:3ac96e360672 190 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 191 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 192 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 193 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 194 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 195 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 196 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 197 VL53L1_zone_config_t *pzone_cfg,
charlesmn 0:3ac96e360672 198 VL53L1_low_power_auto_data_t *plpadata);
charlesmn 0:3ac96e360672 199
charlesmn 0:3ac96e360672 200
charlesmn 0:3ac96e360672 201
charlesmn 0:3ac96e360672 202 VL53L1_Error VL53L1_preset_mode_low_power_auto_short_ranging(
charlesmn 0:3ac96e360672 203
charlesmn 0:3ac96e360672 204 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 205 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 206 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 207 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 208 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 209 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 210 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 211 VL53L1_zone_config_t *pzone_cfg,
charlesmn 0:3ac96e360672 212 VL53L1_low_power_auto_data_t *plpadata);
charlesmn 0:3ac96e360672 213
charlesmn 0:3ac96e360672 214
charlesmn 0:3ac96e360672 215
charlesmn 0:3ac96e360672 216 VL53L1_Error VL53L1_preset_mode_low_power_auto_long_ranging(
charlesmn 0:3ac96e360672 217
charlesmn 0:3ac96e360672 218 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 219 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 220 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 221 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 222 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 223 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 224 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 225 VL53L1_zone_config_t *pzone_cfg,
charlesmn 0:3ac96e360672 226 VL53L1_low_power_auto_data_t *plpadata);
charlesmn 0:3ac96e360672 227
charlesmn 0:3ac96e360672 228
charlesmn 0:3ac96e360672 229
charlesmn 0:3ac96e360672 230 VL53L1_Error VL53L1_preset_mode_histogram_ranging(
charlesmn 0:3ac96e360672 231 VL53L1_hist_post_process_config_t *phistpostprocess,
charlesmn 0:3ac96e360672 232 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 233 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 234 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 235 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 236 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 237 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 238 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 239 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 240
charlesmn 0:3ac96e360672 241
charlesmn 0:3ac96e360672 242
charlesmn 0:3ac96e360672 243
charlesmn 0:3ac96e360672 244 VL53L1_Error VL53L1_preset_mode_histogram_ranging_with_mm1(
charlesmn 0:3ac96e360672 245 VL53L1_hist_post_process_config_t *phistpostprocess,
charlesmn 0:3ac96e360672 246 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 247 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 248 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 249 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 250 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 251 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 252 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 253 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 254
charlesmn 0:3ac96e360672 255
charlesmn 0:3ac96e360672 256
charlesmn 0:3ac96e360672 257
charlesmn 0:3ac96e360672 258 VL53L1_Error VL53L1_preset_mode_histogram_ranging_with_mm2(
charlesmn 0:3ac96e360672 259 VL53L1_hist_post_process_config_t *phistpostprocess,
charlesmn 0:3ac96e360672 260 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 261 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 262 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 263 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 264 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 265 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 266 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 267 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 268
charlesmn 0:3ac96e360672 269
charlesmn 0:3ac96e360672 270
charlesmn 0:3ac96e360672 271
charlesmn 0:3ac96e360672 272 VL53L1_Error VL53L1_preset_mode_histogram_ranging_mm1_cal(
charlesmn 0:3ac96e360672 273 VL53L1_hist_post_process_config_t *phistpostprocess,
charlesmn 0:3ac96e360672 274 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 275 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 276 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 277 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 278 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 279 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 280 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 281 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 282
charlesmn 0:3ac96e360672 283
charlesmn 0:3ac96e360672 284
charlesmn 0:3ac96e360672 285
charlesmn 0:3ac96e360672 286 VL53L1_Error VL53L1_preset_mode_histogram_ranging_mm2_cal(
charlesmn 0:3ac96e360672 287 VL53L1_hist_post_process_config_t *phistpostprocess,
charlesmn 0:3ac96e360672 288 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 289 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 290 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 291 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 292 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 293 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 294 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 295 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 296
charlesmn 0:3ac96e360672 297
charlesmn 0:3ac96e360672 298
charlesmn 0:3ac96e360672 299
charlesmn 0:3ac96e360672 300 VL53L1_Error VL53L1_preset_mode_histogram_ranging_ref(
charlesmn 0:3ac96e360672 301 VL53L1_hist_post_process_config_t *phistpostprocess,
charlesmn 0:3ac96e360672 302 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 303 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 304 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 305 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 306 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 307 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 308 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 309 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 310
charlesmn 0:3ac96e360672 311
charlesmn 0:3ac96e360672 312
charlesmn 0:3ac96e360672 313 VL53L1_Error VL53L1_preset_mode_histogram_characterisation(
charlesmn 0:3ac96e360672 314 VL53L1_hist_post_process_config_t *phistpostprocess,
charlesmn 0:3ac96e360672 315 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 316 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 317 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 318 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 319 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 320 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 321 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 322 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 323
charlesmn 0:3ac96e360672 324
charlesmn 0:3ac96e360672 325
charlesmn 0:3ac96e360672 326
charlesmn 0:3ac96e360672 327 VL53L1_Error VL53L1_preset_mode_histogram_xtalk_planar(
charlesmn 0:3ac96e360672 328 VL53L1_hist_post_process_config_t *phistpostprocess,
charlesmn 0:3ac96e360672 329 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 330 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 331 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 332 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 333 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 334 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 335 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 336 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 337
charlesmn 0:3ac96e360672 338
charlesmn 0:3ac96e360672 339
charlesmn 0:3ac96e360672 340
charlesmn 0:3ac96e360672 341 VL53L1_Error VL53L1_preset_mode_histogram_xtalk_mm1(
charlesmn 0:3ac96e360672 342 VL53L1_hist_post_process_config_t *phistpostprocess,
charlesmn 0:3ac96e360672 343 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 344 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 345 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 346 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 347 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 348 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 349 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 350 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 351
charlesmn 0:3ac96e360672 352
charlesmn 0:3ac96e360672 353
charlesmn 0:3ac96e360672 354
charlesmn 0:3ac96e360672 355 VL53L1_Error VL53L1_preset_mode_histogram_xtalk_mm2(
charlesmn 0:3ac96e360672 356 VL53L1_hist_post_process_config_t *phistpostprocess,
charlesmn 0:3ac96e360672 357 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 358 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 359 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 360 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 361 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 362 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 363 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 364 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 365
charlesmn 0:3ac96e360672 366
charlesmn 0:3ac96e360672 367
charlesmn 0:3ac96e360672 368 VL53L1_Error VL53L1_preset_mode_histogram_multizone(
charlesmn 0:3ac96e360672 369 VL53L1_hist_post_process_config_t *phistpostprocess,
charlesmn 0:3ac96e360672 370 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 371 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 372 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 373 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 374 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 375 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 376 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 377 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 378
charlesmn 0:3ac96e360672 379
charlesmn 0:3ac96e360672 380
charlesmn 0:3ac96e360672 381 VL53L1_Error VL53L1_preset_mode_histogram_multizone_short_range(
charlesmn 0:3ac96e360672 382 VL53L1_hist_post_process_config_t *phistpostprocess,
charlesmn 0:3ac96e360672 383 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 384 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 385 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 386 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 387 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 388 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 389 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 390 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 391
charlesmn 0:3ac96e360672 392
charlesmn 0:3ac96e360672 393
charlesmn 0:3ac96e360672 394 VL53L1_Error VL53L1_preset_mode_histogram_multizone_long_range(
charlesmn 0:3ac96e360672 395 VL53L1_hist_post_process_config_t *phistpostprocess,
charlesmn 0:3ac96e360672 396 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 397 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 398 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 399 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 400 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 401 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 402 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 403 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 404
charlesmn 0:3ac96e360672 405
charlesmn 0:3ac96e360672 406
charlesmn 0:3ac96e360672 407 VL53L1_Error VL53L1_preset_mode_histogram_ranging_short_timing(
charlesmn 0:3ac96e360672 408 VL53L1_hist_post_process_config_t *phistpostprocess,
charlesmn 0:3ac96e360672 409 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 410 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 411 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 412 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 413 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 414 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 415 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 416 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 417
charlesmn 0:3ac96e360672 418
charlesmn 0:3ac96e360672 419
charlesmn 0:3ac96e360672 420 VL53L1_Error VL53L1_preset_mode_histogram_long_range(
charlesmn 0:3ac96e360672 421 VL53L1_hist_post_process_config_t *phistpostprocess,
charlesmn 0:3ac96e360672 422 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 423 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 424 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 425 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 426 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 427 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 428 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 429 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 430
charlesmn 0:3ac96e360672 431
charlesmn 0:3ac96e360672 432
charlesmn 0:3ac96e360672 433 VL53L1_Error VL53L1_preset_mode_histogram_medium_range(
charlesmn 0:3ac96e360672 434 VL53L1_hist_post_process_config_t *phistpostprocess,
charlesmn 0:3ac96e360672 435 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 436 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 437 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 438 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 439 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 440 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 441 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 442 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 443
charlesmn 0:3ac96e360672 444
charlesmn 0:3ac96e360672 445
charlesmn 0:3ac96e360672 446 VL53L1_Error VL53L1_preset_mode_histogram_short_range(
charlesmn 0:3ac96e360672 447 VL53L1_hist_post_process_config_t *phistpostprocess,
charlesmn 0:3ac96e360672 448 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 449 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 450 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 451 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 452 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 453 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 454 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 455 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 456
charlesmn 0:3ac96e360672 457
charlesmn 0:3ac96e360672 458
charlesmn 0:3ac96e360672 459 VL53L1_Error VL53L1_preset_mode_special_histogram_short_range(
charlesmn 0:3ac96e360672 460 VL53L1_hist_post_process_config_t *phistpostprocess,
charlesmn 0:3ac96e360672 461 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 462 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 463 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 464 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 465 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 466 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 467 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 468 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 469
charlesmn 0:3ac96e360672 470
charlesmn 0:3ac96e360672 471
charlesmn 0:3ac96e360672 472 VL53L1_Error VL53L1_preset_mode_histogram_long_range_mm1(
charlesmn 0:3ac96e360672 473 VL53L1_hist_post_process_config_t *phistpostprocess,
charlesmn 0:3ac96e360672 474 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 475 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 476 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 477 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 478 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 479 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 480 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 481 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 482
charlesmn 0:3ac96e360672 483
charlesmn 0:3ac96e360672 484
charlesmn 0:3ac96e360672 485 VL53L1_Error VL53L1_preset_mode_histogram_long_range_mm2(
charlesmn 0:3ac96e360672 486 VL53L1_hist_post_process_config_t *phistpostprocess,
charlesmn 0:3ac96e360672 487 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 488 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 489 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 490 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 491 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 492 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 493 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 494 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 495
charlesmn 0:3ac96e360672 496
charlesmn 0:3ac96e360672 497
charlesmn 0:3ac96e360672 498 VL53L1_Error VL53L1_preset_mode_histogram_medium_range_mm1(
charlesmn 0:3ac96e360672 499 VL53L1_hist_post_process_config_t *phistpostprocess,
charlesmn 0:3ac96e360672 500 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 501 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 502 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 503 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 504 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 505 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 506 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 507 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 508
charlesmn 0:3ac96e360672 509
charlesmn 0:3ac96e360672 510
charlesmn 0:3ac96e360672 511 VL53L1_Error VL53L1_preset_mode_histogram_medium_range_mm2(
charlesmn 0:3ac96e360672 512 VL53L1_hist_post_process_config_t *phistpostprocess,
charlesmn 0:3ac96e360672 513 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 514 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 515 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 516 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 517 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 518 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 519 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 520 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 521
charlesmn 0:3ac96e360672 522
charlesmn 0:3ac96e360672 523
charlesmn 0:3ac96e360672 524 VL53L1_Error VL53L1_preset_mode_histogram_short_range_mm1(
charlesmn 0:3ac96e360672 525 VL53L1_hist_post_process_config_t *phistpostprocess,
charlesmn 0:3ac96e360672 526 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 527 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 528 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 529 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 530 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 531 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 532 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 533 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 534
charlesmn 0:3ac96e360672 535
charlesmn 0:3ac96e360672 536
charlesmn 0:3ac96e360672 537 VL53L1_Error VL53L1_preset_mode_histogram_short_range_mm2(
charlesmn 0:3ac96e360672 538 VL53L1_hist_post_process_config_t *phistpostprocess,
charlesmn 0:3ac96e360672 539 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 540 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 541 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 542 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 543 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 544 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 545 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 546 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 547
charlesmn 0:3ac96e360672 548
charlesmn 0:3ac96e360672 549
charlesmn 0:3ac96e360672 550 VL53L1_Error VL53L1_preset_mode_olt(
charlesmn 0:3ac96e360672 551 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 552 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 553 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 554 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 555 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 556 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 557 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 558 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 559
charlesmn 0:3ac96e360672 560
charlesmn 0:3ac96e360672 561
charlesmn 0:3ac96e360672 562 VL53L1_Error VL53L1_preset_mode_singleshot_ranging(
charlesmn 0:3ac96e360672 563
charlesmn 0:3ac96e360672 564 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 565 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 566 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 567 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 568 VL53L1_dynamic_config_t *pdynamic,
charlesmn 0:3ac96e360672 569 VL53L1_system_control_t *psystem,
charlesmn 0:3ac96e360672 570 VL53L1_tuning_parm_storage_t *ptuning_parms,
charlesmn 0:3ac96e360672 571 VL53L1_zone_config_t *pzone_cfg);
charlesmn 0:3ac96e360672 572
charlesmn 0:3ac96e360672 573
charlesmn 0:3ac96e360672 574
charlesmn 0:3ac96e360672 575
charlesmn 0:3ac96e360672 576 void VL53L1_copy_hist_cfg_to_static_cfg(
charlesmn 0:3ac96e360672 577 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 578 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 579 VL53L1_general_config_t *pgeneral,
charlesmn 0:3ac96e360672 580 VL53L1_timing_config_t *ptiming,
charlesmn 0:3ac96e360672 581 VL53L1_dynamic_config_t *pdynamic);
charlesmn 0:3ac96e360672 582
charlesmn 0:3ac96e360672 583
charlesmn 0:3ac96e360672 584
charlesmn 0:3ac96e360672 585 void VL53L1_copy_hist_bins_to_static_cfg(
charlesmn 0:3ac96e360672 586 VL53L1_histogram_config_t *phistogram,
charlesmn 0:3ac96e360672 587 VL53L1_static_config_t *pstatic,
charlesmn 0:3ac96e360672 588 VL53L1_timing_config_t *ptiming);
charlesmn 0:3ac96e360672 589
charlesmn 0:3ac96e360672 590 #ifdef __cplusplus
charlesmn 0:3ac96e360672 591 }
charlesmn 0:3ac96e360672 592 #endif
charlesmn 0:3ac96e360672 593
charlesmn 0:3ac96e360672 594 #endif
charlesmn 0:3ac96e360672 595