charles macneill / VL53L1CB
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers vl53l1_hist_algos_gen3.h Source File

vl53l1_hist_algos_gen3.h

00001 
00002 /*******************************************************************************
00003  This file is part of VL53L1 Protected
00004 
00005  Copyright (c) 2020, STMicroelectronics - All Rights Reserved
00006 
00007  License terms: STMicroelectronics Proprietary in accordance with licensing
00008  terms at www.st.com/sla0081
00009 
00010  STMicroelectronics confidential
00011  Reproduction and Communication of this document is strictly prohibited unless
00012  specifically authorized in writing by STMicroelectronics.
00013 
00014 */
00015 
00016 
00017 
00018 
00019 
00020 #ifndef _VL53L1_HIST_ALGOS_GEN3_H_
00021 #define _VL53L1_HIST_ALGOS_GEN3_H_
00022 
00023 #include "vl53l1_types.h"
00024 #include "vl53l1_ll_def.h"
00025 
00026 #include "vl53l1_hist_private_structs.h"
00027 #include "vl53l1_dmax_private_structs.h"
00028 
00029 #ifdef __cplusplus
00030 extern "C"
00031 {
00032 #endif
00033 
00034 
00035 
00036 
00037 void VL53L1_f_016(
00038     VL53L1_hist_gen3_algo_private_data_t   *palgo);
00039 
00040 
00041 
00042 
00043 
00044 
00045 VL53L1_Error VL53L1_f_018(
00046     uint16_t                               ambient_threshold_events_scaler,
00047     int32_t                                ambient_threshold_sigma,
00048     int32_t                                min_ambient_threshold_events,
00049     uint8_t                            algo__crosstalk_compensation_enable,
00050     VL53L1_histogram_bin_data_t           *pbins,
00051     VL53L1_histogram_bin_data_t           *pxtalk,
00052     VL53L1_hist_gen3_algo_private_data_t  *palgo);
00053 
00054 
00055 
00056 
00057 
00058 
00059 VL53L1_Error VL53L1_f_019(
00060     VL53L1_hist_gen3_algo_private_data_t  *palgo);
00061 
00062 
00063 
00064 
00065 VL53L1_Error VL53L1_f_020(
00066     VL53L1_hist_gen3_algo_private_data_t  *palgo);
00067 
00068 
00069 
00070 
00071 VL53L1_Error VL53L1_f_021(
00072     VL53L1_hist_gen3_algo_private_data_t  *palgo);
00073 
00074 
00075 
00076 
00077 VL53L1_Error VL53L1_f_028(
00078     VL53L1_HistTargetOrder                target_order,
00079     VL53L1_hist_gen3_algo_private_data_t  *palgo);
00080 
00081 
00082 
00083 
00084 VL53L1_Error VL53L1_f_022(
00085     uint8_t                                pulse_no,
00086     VL53L1_histogram_bin_data_t           *pbins,
00087     VL53L1_hist_gen3_algo_private_data_t  *palgo);
00088 
00089 
00090 
00091 VL53L1_Error VL53L1_f_027(
00092     uint8_t                                pulse_no,
00093     uint8_t                             clip_events,
00094     VL53L1_histogram_bin_data_t           *pbins,
00095     VL53L1_hist_gen3_algo_private_data_t  *palgo);
00096 
00097 
00098 
00099 
00100 VL53L1_Error VL53L1_f_030(
00101     int16_t                            VL53L1_p_022,
00102     int16_t                            VL53L1_p_026,
00103     uint8_t                            VL53L1_p_031,
00104     uint8_t                            clip_events,
00105     VL53L1_histogram_bin_data_t       *pbins,
00106     uint32_t                          *pphase);
00107 
00108 
00109 
00110 
00111 VL53L1_Error VL53L1_f_023(
00112     uint8_t                                pulse_no,
00113     VL53L1_histogram_bin_data_t           *pbins,
00114     VL53L1_hist_gen3_algo_private_data_t  *palgo,
00115     int32_t                                pad_value,
00116     VL53L1_histogram_bin_data_t           *ppulse);
00117 
00118 
00119 
00120 
00121 VL53L1_Error VL53L1_f_026(
00122     uint8_t                       bin,
00123     uint8_t                       sigma_estimator__sigma_ref_mm,
00124     uint8_t                       VL53L1_p_031,
00125     uint8_t                       VL53L1_p_055,
00126     uint8_t                       crosstalk_compensation_enable,
00127     VL53L1_histogram_bin_data_t  *phist_data_ap,
00128     VL53L1_histogram_bin_data_t  *phist_data_zp,
00129     VL53L1_histogram_bin_data_t  *pxtalk_hist,
00130     uint16_t                     *psigma_est);
00131 
00132 
00133 
00134 
00135 void VL53L1_f_029(
00136     uint8_t                      range_id,
00137     uint8_t                      valid_phase_low,
00138     uint8_t                      valid_phase_high,
00139     uint16_t                     sigma_thres,
00140     VL53L1_histogram_bin_data_t *pbins,
00141     VL53L1_hist_pulse_data_t    *ppulse,
00142     VL53L1_range_data_t         *pdata);
00143 
00144 
00145 #ifdef __cplusplus
00146 }
00147 #endif
00148 
00149 #endif
00150 
00151