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_hist_algos_gen4.h Source File

vl53l1_hist_algos_gen4.h

00001 
00002 /* SPDX-License-Identifier: BSD-3-Clause */
00003 /******************************************************************************
00004  * Copyright (c) 2020, STMicroelectronics - All Rights Reserved
00005 
00006  This file is part of VL53L1 Protected and is dual licensed,
00007  either 'STMicroelectronics Proprietary license'
00008  or 'BSD 3-clause "New" or "Revised" License' , at your option.
00009 
00010  ******************************************************************************
00011 
00012  'STMicroelectronics Proprietary license'
00013 
00014  ******************************************************************************
00015 
00016  License terms: STMicroelectronics Proprietary in accordance with licensing
00017  terms at www.st.com/sla0081
00018 
00019  ******************************************************************************
00020  */
00021 
00022 
00023 
00024 
00025 
00026 #ifndef _VL53L1_HIST_ALGOS_GEN4_H_
00027 #define _VL53L1_HIST_ALGOS_GEN4_H_
00028 
00029 #include "vl53l1_types.h"
00030 #include "vl53l1_ll_def.h"
00031 
00032 #include "vl53l1_hist_private_structs.h"
00033 #include "vl53l1_dmax_private_structs.h"
00034 
00035 
00036 #ifdef __cplusplus
00037 extern "C"
00038 {
00039 #endif
00040 
00041 
00042 
00043 
00044 void VL53L1_f_032(
00045     VL53L1_hist_gen4_algo_filtered_data_t  *palgo);
00046 
00047 
00048 
00049 
00050 VL53L1_Error VL53L1_f_033(
00051     VL53L1_dmax_calibration_data_t         *pdmax_cal,
00052     VL53L1_hist_gen3_dmax_config_t         *pdmax_cfg,
00053     VL53L1_hist_post_process_config_t      *ppost_cfg,
00054     VL53L1_histogram_bin_data_t            *pbins,
00055     VL53L1_histogram_bin_data_t            *pxtalk,
00056     VL53L1_hist_gen3_algo_private_data_t   *palgo,
00057     VL53L1_hist_gen4_algo_filtered_data_t  *pfiltered,
00058     VL53L1_hist_gen3_dmax_private_data_t   *pdmax_algo,
00059     VL53L1_range_results_t                 *presults,
00060     uint8_t                                histo_merge_nb);
00061 
00062 
00063 
00064 
00065 
00066 VL53L1_Error VL53L1_f_034(
00067     uint8_t                                pulse_no,
00068     VL53L1_histogram_bin_data_t           *ppulse,
00069     VL53L1_hist_gen3_algo_private_data_t  *palgo,
00070     VL53L1_hist_gen4_algo_filtered_data_t *pfiltered);
00071 
00072 
00073 
00074 
00075 VL53L1_Error VL53L1_f_035(
00076     uint8_t                                pulse_no,
00077     uint16_t                               noise_threshold,
00078     VL53L1_hist_gen4_algo_filtered_data_t *pfiltered,
00079     VL53L1_hist_gen3_algo_private_data_t  *palgo);
00080 
00081 
00082 
00083 
00084 VL53L1_Error VL53L1_f_036(
00085     uint8_t   bin,
00086     int32_t   VL53L1_p_003,
00087     int32_t   VL53L1_p_018,
00088     int32_t   VL53L1_p_001,
00089     int32_t   ax,
00090     int32_t   bx,
00091     int32_t   cx,
00092     int32_t   VL53L1_p_004,
00093     uint8_t   VL53L1_p_031,
00094     uint32_t *pmedian_phase);
00095 
00096 
00097 #ifdef __cplusplus
00098 }
00099 #endif
00100 
00101 #endif
00102