ST Expansion SW Team / VL53L1

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Dependents:   X_NUCLEO_53L1CB

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers vl53l1_api_preset_modes.h Source File

vl53l1_api_preset_modes.h

00001 
00002 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
00003 /******************************************************************************
00004  * Copyright (c) 2020, STMicroelectronics - All Rights Reserved
00005 
00006  This file is part of VL53L1 and is dual licensed,
00007  either GPL-2.0+
00008  or 'BSD 3-clause "New" or "Revised" License' , at your option.
00009  ******************************************************************************
00010  */
00011 
00012 
00013 
00014 
00015 #ifndef _VL53L1_API_PRESET_MODES_H_
00016 #define _VL53L1_API_PRESET_MODES_H_
00017 
00018 #include "vl53l1_ll_def.h"
00019 #include "vl53l1_dmax_structs.h"
00020 
00021 #ifdef __cplusplus
00022 extern "C" {
00023 #endif
00024 
00025 
00026 
00027 
00028 VL53L1_Error VL53L1_init_refspadchar_config_struct(
00029     VL53L1_refspadchar_config_t     *pdata);
00030 
00031 
00032 
00033 
00034 VL53L1_Error VL53L1_init_ssc_config_struct(
00035     VL53L1_ssc_config_t     *pdata);
00036 
00037 
00038 
00039 
00040 VL53L1_Error VL53L1_init_xtalk_config_struct(
00041         VL53L1_customer_nvm_managed_t *pnvm,
00042         VL53L1_xtalk_config_t   *pdata);
00043 
00044 
00045 
00046 VL53L1_Error VL53L1_init_xtalk_extract_config_struct(
00047         VL53L1_xtalkextract_config_t   *pdata);
00048 
00049 
00050 
00051 VL53L1_Error VL53L1_init_offset_cal_config_struct(
00052     VL53L1_offsetcal_config_t   *pdata);
00053 
00054 
00055 
00056 VL53L1_Error VL53L1_init_zone_cal_config_struct(
00057     VL53L1_zonecal_config_t   *pdata);
00058 
00059 
00060 
00061 VL53L1_Error VL53L1_init_hist_post_process_config_struct(
00062     uint8_t                              xtalk_compensation_enable,
00063     VL53L1_hist_post_process_config_t   *pdata);
00064 
00065 
00066 
00067 
00068 VL53L1_Error VL53L1_init_dmax_calibration_data_struct(
00069     VL53L1_dmax_calibration_data_t   *pdata);
00070 
00071 
00072 
00073 
00074 VL53L1_Error VL53L1_init_tuning_parm_storage_struct(
00075     VL53L1_tuning_parm_storage_t   *pdata);
00076 
00077 
00078 
00079 VL53L1_Error VL53L1_init_hist_gen3_dmax_config_struct(
00080     VL53L1_hist_gen3_dmax_config_t   *pdata);
00081 
00082 
00083 
00084 
00085 VL53L1_Error VL53L1_preset_mode_standard_ranging(
00086     VL53L1_static_config_t     *pstatic,
00087     VL53L1_histogram_config_t  *phistogram,
00088     VL53L1_general_config_t    *pgeneral,
00089     VL53L1_timing_config_t     *ptiming,
00090     VL53L1_dynamic_config_t    *pdynamic,
00091     VL53L1_system_control_t    *psystem,
00092     VL53L1_tuning_parm_storage_t *ptuning_parms,
00093     VL53L1_zone_config_t       *pzone_cfg);
00094 
00095 
00096 
00097 VL53L1_Error VL53L1_preset_mode_standard_ranging_short_range(
00098     VL53L1_static_config_t     *pstatic,
00099     VL53L1_histogram_config_t  *phistogram,
00100     VL53L1_general_config_t    *pgeneral,
00101     VL53L1_timing_config_t     *ptiming,
00102     VL53L1_dynamic_config_t    *pdynamic,
00103     VL53L1_system_control_t    *psystem,
00104     VL53L1_tuning_parm_storage_t *ptuning_parms,
00105     VL53L1_zone_config_t       *pzone_cfg);
00106 
00107 
00108 
00109 
00110 VL53L1_Error VL53L1_preset_mode_standard_ranging_long_range(
00111     VL53L1_static_config_t     *pstatic,
00112     VL53L1_histogram_config_t  *phistogram,
00113     VL53L1_general_config_t    *pgeneral,
00114     VL53L1_timing_config_t     *ptiming,
00115     VL53L1_dynamic_config_t    *pdynamic,
00116     VL53L1_system_control_t    *psystem,
00117     VL53L1_tuning_parm_storage_t *ptuning_parms,
00118     VL53L1_zone_config_t       *pzone_cfg);
00119 
00120 
00121 
00122 
00123 VL53L1_Error VL53L1_preset_mode_standard_ranging_mm1_cal(
00124     VL53L1_static_config_t     *pstatic,
00125     VL53L1_histogram_config_t  *phistogram,
00126     VL53L1_general_config_t    *pgeneral,
00127     VL53L1_timing_config_t     *ptiming,
00128     VL53L1_dynamic_config_t    *pdynamic,
00129     VL53L1_system_control_t    *psystem,
00130     VL53L1_tuning_parm_storage_t *ptuning_parms,
00131     VL53L1_zone_config_t       *pzone_cfg);
00132 
00133 
00134 
00135 
00136 VL53L1_Error VL53L1_preset_mode_standard_ranging_mm2_cal(
00137     VL53L1_static_config_t     *pstatic,
00138     VL53L1_histogram_config_t  *phistogram,
00139     VL53L1_general_config_t    *pgeneral,
00140     VL53L1_timing_config_t     *ptiming,
00141     VL53L1_dynamic_config_t    *pdynamic,
00142     VL53L1_system_control_t    *psystem,
00143     VL53L1_tuning_parm_storage_t *ptuning_parms,
00144     VL53L1_zone_config_t       *pzone_cfg);
00145 
00146 
00147 
00148 
00149 VL53L1_Error VL53L1_preset_mode_timed_ranging(
00150 
00151     VL53L1_static_config_t    *pstatic,
00152     VL53L1_histogram_config_t *phistogram,
00153     VL53L1_general_config_t   *pgeneral,
00154     VL53L1_timing_config_t    *ptiming,
00155     VL53L1_dynamic_config_t   *pdynamic,
00156     VL53L1_system_control_t   *psystem,
00157     VL53L1_tuning_parm_storage_t *ptuning_parms,
00158     VL53L1_zone_config_t      *pzone_cfg);
00159 
00160 
00161 
00162 VL53L1_Error VL53L1_preset_mode_timed_ranging_short_range(
00163 
00164     VL53L1_static_config_t    *pstatic,
00165     VL53L1_histogram_config_t *phistogram,
00166     VL53L1_general_config_t   *pgeneral,
00167     VL53L1_timing_config_t    *ptiming,
00168     VL53L1_dynamic_config_t   *pdynamic,
00169     VL53L1_system_control_t   *psystem,
00170     VL53L1_tuning_parm_storage_t *ptuning_parms,
00171     VL53L1_zone_config_t      *pzone_cfg);
00172 
00173 
00174 
00175 VL53L1_Error VL53L1_preset_mode_timed_ranging_long_range(
00176 
00177     VL53L1_static_config_t    *pstatic,
00178     VL53L1_histogram_config_t *phistogram,
00179     VL53L1_general_config_t   *pgeneral,
00180     VL53L1_timing_config_t    *ptiming,
00181     VL53L1_dynamic_config_t   *pdynamic,
00182     VL53L1_system_control_t   *psystem,
00183     VL53L1_tuning_parm_storage_t *ptuning_parms,
00184     VL53L1_zone_config_t      *pzone_cfg);
00185 
00186 
00187 
00188 VL53L1_Error VL53L1_preset_mode_low_power_auto_ranging(
00189 
00190     VL53L1_static_config_t    *pstatic,
00191     VL53L1_histogram_config_t *phistogram,
00192     VL53L1_general_config_t   *pgeneral,
00193     VL53L1_timing_config_t    *ptiming,
00194     VL53L1_dynamic_config_t   *pdynamic,
00195     VL53L1_system_control_t   *psystem,
00196     VL53L1_tuning_parm_storage_t *ptuning_parms,
00197     VL53L1_zone_config_t      *pzone_cfg,
00198     VL53L1_low_power_auto_data_t *plpadata);
00199 
00200 
00201 
00202 VL53L1_Error VL53L1_preset_mode_low_power_auto_short_ranging(
00203 
00204     VL53L1_static_config_t    *pstatic,
00205     VL53L1_histogram_config_t *phistogram,
00206     VL53L1_general_config_t   *pgeneral,
00207     VL53L1_timing_config_t    *ptiming,
00208     VL53L1_dynamic_config_t   *pdynamic,
00209     VL53L1_system_control_t   *psystem,
00210     VL53L1_tuning_parm_storage_t *ptuning_parms,
00211     VL53L1_zone_config_t      *pzone_cfg,
00212     VL53L1_low_power_auto_data_t *plpadata);
00213 
00214 
00215 
00216 VL53L1_Error VL53L1_preset_mode_low_power_auto_long_ranging(
00217 
00218     VL53L1_static_config_t    *pstatic,
00219     VL53L1_histogram_config_t *phistogram,
00220     VL53L1_general_config_t   *pgeneral,
00221     VL53L1_timing_config_t    *ptiming,
00222     VL53L1_dynamic_config_t   *pdynamic,
00223     VL53L1_system_control_t   *psystem,
00224     VL53L1_tuning_parm_storage_t *ptuning_parms,
00225     VL53L1_zone_config_t      *pzone_cfg,
00226     VL53L1_low_power_auto_data_t *plpadata);
00227 
00228 
00229 
00230 VL53L1_Error VL53L1_preset_mode_histogram_ranging(
00231     VL53L1_hist_post_process_config_t *phistpostprocess,
00232     VL53L1_static_config_t            *pstatic,
00233     VL53L1_histogram_config_t         *phistogram,
00234     VL53L1_general_config_t           *pgeneral,
00235     VL53L1_timing_config_t            *ptiming,
00236     VL53L1_dynamic_config_t           *pdynamic,
00237     VL53L1_system_control_t           *psystem,
00238     VL53L1_tuning_parm_storage_t      *ptuning_parms,
00239     VL53L1_zone_config_t              *pzone_cfg);
00240 
00241 
00242 
00243 
00244 VL53L1_Error VL53L1_preset_mode_histogram_ranging_with_mm1(
00245     VL53L1_hist_post_process_config_t *phistpostprocess,
00246     VL53L1_static_config_t            *pstatic,
00247     VL53L1_histogram_config_t         *phistogram,
00248     VL53L1_general_config_t           *pgeneral,
00249     VL53L1_timing_config_t            *ptiming,
00250     VL53L1_dynamic_config_t           *pdynamic,
00251     VL53L1_system_control_t           *psystem,
00252     VL53L1_tuning_parm_storage_t      *ptuning_parms,
00253     VL53L1_zone_config_t              *pzone_cfg);
00254 
00255 
00256 
00257 
00258 VL53L1_Error VL53L1_preset_mode_histogram_ranging_with_mm2(
00259     VL53L1_hist_post_process_config_t *phistpostprocess,
00260     VL53L1_static_config_t            *pstatic,
00261     VL53L1_histogram_config_t         *phistogram,
00262     VL53L1_general_config_t           *pgeneral,
00263     VL53L1_timing_config_t            *ptiming,
00264     VL53L1_dynamic_config_t           *pdynamic,
00265     VL53L1_system_control_t           *psystem,
00266     VL53L1_tuning_parm_storage_t      *ptuning_parms,
00267     VL53L1_zone_config_t              *pzone_cfg);
00268 
00269 
00270 
00271 
00272 VL53L1_Error VL53L1_preset_mode_histogram_ranging_mm1_cal(
00273     VL53L1_hist_post_process_config_t *phistpostprocess,
00274     VL53L1_static_config_t            *pstatic,
00275     VL53L1_histogram_config_t         *phistogram,
00276     VL53L1_general_config_t           *pgeneral,
00277     VL53L1_timing_config_t            *ptiming,
00278     VL53L1_dynamic_config_t           *pdynamic,
00279     VL53L1_system_control_t           *psystem,
00280     VL53L1_tuning_parm_storage_t      *ptuning_parms,
00281     VL53L1_zone_config_t              *pzone_cfg);
00282 
00283 
00284 
00285 
00286 VL53L1_Error VL53L1_preset_mode_histogram_ranging_mm2_cal(
00287     VL53L1_hist_post_process_config_t *phistpostprocess,
00288     VL53L1_static_config_t            *pstatic,
00289     VL53L1_histogram_config_t         *phistogram,
00290     VL53L1_general_config_t           *pgeneral,
00291     VL53L1_timing_config_t            *ptiming,
00292     VL53L1_dynamic_config_t           *pdynamic,
00293     VL53L1_system_control_t           *psystem,
00294     VL53L1_tuning_parm_storage_t      *ptuning_parms,
00295     VL53L1_zone_config_t              *pzone_cfg);
00296 
00297 
00298 
00299 
00300 VL53L1_Error VL53L1_preset_mode_histogram_ranging_ref(
00301     VL53L1_hist_post_process_config_t *phistpostprocess,
00302     VL53L1_static_config_t            *pstatic,
00303     VL53L1_histogram_config_t         *phistogram,
00304     VL53L1_general_config_t           *pgeneral,
00305     VL53L1_timing_config_t            *ptiming,
00306     VL53L1_dynamic_config_t           *pdynamic,
00307     VL53L1_system_control_t           *psystem,
00308     VL53L1_tuning_parm_storage_t      *ptuning_parms,
00309     VL53L1_zone_config_t              *pzone_cfg);
00310 
00311 
00312 
00313 VL53L1_Error VL53L1_preset_mode_histogram_characterisation(
00314     VL53L1_hist_post_process_config_t *phistpostprocess,
00315     VL53L1_static_config_t            *pstatic,
00316     VL53L1_histogram_config_t         *phistogram,
00317     VL53L1_general_config_t           *pgeneral,
00318     VL53L1_timing_config_t            *ptiming,
00319     VL53L1_dynamic_config_t           *pdynamic,
00320     VL53L1_system_control_t           *psystem,
00321     VL53L1_tuning_parm_storage_t      *ptuning_parms,
00322     VL53L1_zone_config_t              *pzone_cfg);
00323 
00324 
00325 
00326 
00327 VL53L1_Error VL53L1_preset_mode_histogram_xtalk_planar(
00328     VL53L1_hist_post_process_config_t *phistpostprocess,
00329     VL53L1_static_config_t            *pstatic,
00330     VL53L1_histogram_config_t         *phistogram,
00331     VL53L1_general_config_t           *pgeneral,
00332     VL53L1_timing_config_t            *ptiming,
00333     VL53L1_dynamic_config_t           *pdynamic,
00334     VL53L1_system_control_t           *psystem,
00335     VL53L1_tuning_parm_storage_t      *ptuning_parms,
00336     VL53L1_zone_config_t              *pzone_cfg);
00337 
00338 
00339 
00340 
00341 VL53L1_Error VL53L1_preset_mode_histogram_xtalk_mm1(
00342     VL53L1_hist_post_process_config_t *phistpostprocess,
00343     VL53L1_static_config_t            *pstatic,
00344     VL53L1_histogram_config_t         *phistogram,
00345     VL53L1_general_config_t           *pgeneral,
00346     VL53L1_timing_config_t            *ptiming,
00347     VL53L1_dynamic_config_t           *pdynamic,
00348     VL53L1_system_control_t           *psystem,
00349     VL53L1_tuning_parm_storage_t      *ptuning_parms,
00350     VL53L1_zone_config_t              *pzone_cfg);
00351 
00352 
00353 
00354 
00355 VL53L1_Error VL53L1_preset_mode_histogram_xtalk_mm2(
00356     VL53L1_hist_post_process_config_t *phistpostprocess,
00357     VL53L1_static_config_t            *pstatic,
00358     VL53L1_histogram_config_t         *phistogram,
00359     VL53L1_general_config_t           *pgeneral,
00360     VL53L1_timing_config_t            *ptiming,
00361     VL53L1_dynamic_config_t           *pdynamic,
00362     VL53L1_system_control_t           *psystem,
00363     VL53L1_tuning_parm_storage_t      *ptuning_parms,
00364     VL53L1_zone_config_t              *pzone_cfg);
00365 
00366 
00367 
00368 VL53L1_Error VL53L1_preset_mode_histogram_multizone(
00369     VL53L1_hist_post_process_config_t *phistpostprocess,
00370     VL53L1_static_config_t            *pstatic,
00371     VL53L1_histogram_config_t         *phistogram,
00372     VL53L1_general_config_t           *pgeneral,
00373     VL53L1_timing_config_t            *ptiming,
00374     VL53L1_dynamic_config_t           *pdynamic,
00375     VL53L1_system_control_t           *psystem,
00376     VL53L1_tuning_parm_storage_t      *ptuning_parms,
00377     VL53L1_zone_config_t              *pzone_cfg);
00378 
00379 
00380 
00381 VL53L1_Error VL53L1_preset_mode_histogram_multizone_short_range(
00382     VL53L1_hist_post_process_config_t *phistpostprocess,
00383     VL53L1_static_config_t            *pstatic,
00384     VL53L1_histogram_config_t         *phistogram,
00385     VL53L1_general_config_t           *pgeneral,
00386     VL53L1_timing_config_t            *ptiming,
00387     VL53L1_dynamic_config_t           *pdynamic,
00388     VL53L1_system_control_t           *psystem,
00389     VL53L1_tuning_parm_storage_t      *ptuning_parms,
00390     VL53L1_zone_config_t              *pzone_cfg);
00391 
00392 
00393 
00394 VL53L1_Error VL53L1_preset_mode_histogram_multizone_long_range(
00395     VL53L1_hist_post_process_config_t *phistpostprocess,
00396     VL53L1_static_config_t            *pstatic,
00397     VL53L1_histogram_config_t         *phistogram,
00398     VL53L1_general_config_t           *pgeneral,
00399     VL53L1_timing_config_t            *ptiming,
00400     VL53L1_dynamic_config_t           *pdynamic,
00401     VL53L1_system_control_t           *psystem,
00402     VL53L1_tuning_parm_storage_t      *ptuning_parms,
00403     VL53L1_zone_config_t              *pzone_cfg);
00404 
00405 
00406 
00407 VL53L1_Error VL53L1_preset_mode_histogram_ranging_short_timing(
00408     VL53L1_hist_post_process_config_t *phistpostprocess,
00409     VL53L1_static_config_t            *pstatic,
00410     VL53L1_histogram_config_t         *phistogram,
00411     VL53L1_general_config_t           *pgeneral,
00412     VL53L1_timing_config_t            *ptiming,
00413     VL53L1_dynamic_config_t           *pdynamic,
00414     VL53L1_system_control_t           *psystem,
00415     VL53L1_tuning_parm_storage_t      *ptuning_parms,
00416     VL53L1_zone_config_t              *pzone_cfg);
00417 
00418 
00419 
00420 VL53L1_Error VL53L1_preset_mode_histogram_long_range(
00421     VL53L1_hist_post_process_config_t *phistpostprocess,
00422     VL53L1_static_config_t            *pstatic,
00423     VL53L1_histogram_config_t         *phistogram,
00424     VL53L1_general_config_t           *pgeneral,
00425     VL53L1_timing_config_t            *ptiming,
00426     VL53L1_dynamic_config_t           *pdynamic,
00427     VL53L1_system_control_t           *psystem,
00428     VL53L1_tuning_parm_storage_t      *ptuning_parms,
00429     VL53L1_zone_config_t              *pzone_cfg);
00430 
00431 
00432 
00433 VL53L1_Error VL53L1_preset_mode_histogram_medium_range(
00434     VL53L1_hist_post_process_config_t *phistpostprocess,
00435     VL53L1_static_config_t            *pstatic,
00436     VL53L1_histogram_config_t         *phistogram,
00437     VL53L1_general_config_t           *pgeneral,
00438     VL53L1_timing_config_t            *ptiming,
00439     VL53L1_dynamic_config_t           *pdynamic,
00440     VL53L1_system_control_t           *psystem,
00441     VL53L1_tuning_parm_storage_t      *ptuning_parms,
00442     VL53L1_zone_config_t              *pzone_cfg);
00443 
00444 
00445 
00446 VL53L1_Error VL53L1_preset_mode_histogram_short_range(
00447     VL53L1_hist_post_process_config_t *phistpostprocess,
00448     VL53L1_static_config_t            *pstatic,
00449     VL53L1_histogram_config_t         *phistogram,
00450     VL53L1_general_config_t           *pgeneral,
00451     VL53L1_timing_config_t            *ptiming,
00452     VL53L1_dynamic_config_t           *pdynamic,
00453     VL53L1_system_control_t           *psystem,
00454     VL53L1_tuning_parm_storage_t      *ptuning_parms,
00455     VL53L1_zone_config_t              *pzone_cfg);
00456 
00457 
00458 
00459 VL53L1_Error VL53L1_preset_mode_special_histogram_short_range(
00460     VL53L1_hist_post_process_config_t *phistpostprocess,
00461     VL53L1_static_config_t            *pstatic,
00462     VL53L1_histogram_config_t         *phistogram,
00463     VL53L1_general_config_t           *pgeneral,
00464     VL53L1_timing_config_t            *ptiming,
00465     VL53L1_dynamic_config_t           *pdynamic,
00466     VL53L1_system_control_t           *psystem,
00467     VL53L1_tuning_parm_storage_t      *ptuning_parms,
00468     VL53L1_zone_config_t              *pzone_cfg);
00469 
00470 
00471 
00472 VL53L1_Error VL53L1_preset_mode_histogram_long_range_mm1(
00473     VL53L1_hist_post_process_config_t *phistpostprocess,
00474     VL53L1_static_config_t            *pstatic,
00475     VL53L1_histogram_config_t         *phistogram,
00476     VL53L1_general_config_t           *pgeneral,
00477     VL53L1_timing_config_t            *ptiming,
00478     VL53L1_dynamic_config_t           *pdynamic,
00479     VL53L1_system_control_t           *psystem,
00480     VL53L1_tuning_parm_storage_t      *ptuning_parms,
00481     VL53L1_zone_config_t              *pzone_cfg);
00482 
00483 
00484 
00485 VL53L1_Error VL53L1_preset_mode_histogram_long_range_mm2(
00486     VL53L1_hist_post_process_config_t *phistpostprocess,
00487     VL53L1_static_config_t            *pstatic,
00488     VL53L1_histogram_config_t         *phistogram,
00489     VL53L1_general_config_t           *pgeneral,
00490     VL53L1_timing_config_t            *ptiming,
00491     VL53L1_dynamic_config_t           *pdynamic,
00492     VL53L1_system_control_t           *psystem,
00493     VL53L1_tuning_parm_storage_t      *ptuning_parms,
00494     VL53L1_zone_config_t              *pzone_cfg);
00495 
00496 
00497 
00498 VL53L1_Error VL53L1_preset_mode_histogram_medium_range_mm1(
00499     VL53L1_hist_post_process_config_t *phistpostprocess,
00500     VL53L1_static_config_t            *pstatic,
00501     VL53L1_histogram_config_t         *phistogram,
00502     VL53L1_general_config_t           *pgeneral,
00503     VL53L1_timing_config_t            *ptiming,
00504     VL53L1_dynamic_config_t           *pdynamic,
00505     VL53L1_system_control_t           *psystem,
00506     VL53L1_tuning_parm_storage_t      *ptuning_parms,
00507     VL53L1_zone_config_t              *pzone_cfg);
00508 
00509 
00510 
00511 VL53L1_Error VL53L1_preset_mode_histogram_medium_range_mm2(
00512     VL53L1_hist_post_process_config_t *phistpostprocess,
00513     VL53L1_static_config_t            *pstatic,
00514     VL53L1_histogram_config_t         *phistogram,
00515     VL53L1_general_config_t           *pgeneral,
00516     VL53L1_timing_config_t            *ptiming,
00517     VL53L1_dynamic_config_t           *pdynamic,
00518     VL53L1_system_control_t           *psystem,
00519     VL53L1_tuning_parm_storage_t      *ptuning_parms,
00520     VL53L1_zone_config_t              *pzone_cfg);
00521 
00522 
00523 
00524 VL53L1_Error VL53L1_preset_mode_histogram_short_range_mm1(
00525     VL53L1_hist_post_process_config_t *phistpostprocess,
00526     VL53L1_static_config_t            *pstatic,
00527     VL53L1_histogram_config_t         *phistogram,
00528     VL53L1_general_config_t           *pgeneral,
00529     VL53L1_timing_config_t            *ptiming,
00530     VL53L1_dynamic_config_t           *pdynamic,
00531     VL53L1_system_control_t           *psystem,
00532     VL53L1_tuning_parm_storage_t      *ptuning_parms,
00533     VL53L1_zone_config_t              *pzone_cfg);
00534 
00535 
00536 
00537 VL53L1_Error VL53L1_preset_mode_histogram_short_range_mm2(
00538     VL53L1_hist_post_process_config_t *phistpostprocess,
00539     VL53L1_static_config_t            *pstatic,
00540     VL53L1_histogram_config_t         *phistogram,
00541     VL53L1_general_config_t           *pgeneral,
00542     VL53L1_timing_config_t            *ptiming,
00543     VL53L1_dynamic_config_t           *pdynamic,
00544     VL53L1_system_control_t           *psystem,
00545     VL53L1_tuning_parm_storage_t      *ptuning_parms,
00546     VL53L1_zone_config_t              *pzone_cfg);
00547 
00548 
00549 
00550 VL53L1_Error VL53L1_preset_mode_olt(
00551     VL53L1_static_config_t     *pstatic,
00552     VL53L1_histogram_config_t  *phistogram,
00553     VL53L1_general_config_t    *pgeneral,
00554     VL53L1_timing_config_t     *ptiming,
00555     VL53L1_dynamic_config_t    *pdynamic,
00556     VL53L1_system_control_t    *psystem,
00557     VL53L1_tuning_parm_storage_t *ptuning_parms,
00558     VL53L1_zone_config_t       *pzone_cfg);
00559 
00560 
00561 
00562 VL53L1_Error VL53L1_preset_mode_singleshot_ranging(
00563 
00564     VL53L1_static_config_t    *pstatic,
00565     VL53L1_histogram_config_t *phistogram,
00566     VL53L1_general_config_t   *pgeneral,
00567     VL53L1_timing_config_t    *ptiming,
00568     VL53L1_dynamic_config_t   *pdynamic,
00569     VL53L1_system_control_t   *psystem,
00570     VL53L1_tuning_parm_storage_t *ptuning_parms,
00571     VL53L1_zone_config_t      *pzone_cfg);
00572 
00573 
00574 
00575 
00576 void VL53L1_copy_hist_cfg_to_static_cfg(
00577     VL53L1_histogram_config_t  *phistogram,
00578     VL53L1_static_config_t     *pstatic,
00579     VL53L1_general_config_t    *pgeneral,
00580     VL53L1_timing_config_t     *ptiming,
00581     VL53L1_dynamic_config_t    *pdynamic);
00582 
00583 
00584 
00585 void VL53L1_copy_hist_bins_to_static_cfg(
00586     VL53L1_histogram_config_t *phistogram,
00587     VL53L1_static_config_t    *pstatic,
00588     VL53L1_timing_config_t    *ptiming);
00589 
00590 #ifdef __cplusplus
00591 }
00592 #endif
00593 
00594 #endif
00595