Initial release. Mbed library for VL53L1CB

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 /*******************************************************************************
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_GEN4_H_
00021 #define _VL53L1_HIST_ALGOS_GEN4_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 
00030 #ifdef __cplusplus
00031 extern "C"
00032 {
00033 #endif
00034 
00035 
00036 
00037 
00038 void VL53L1_f_032(
00039     VL53L1_hist_gen4_algo_filtered_data_t  *palgo);
00040 
00041 
00042 
00043 
00044 VL53L1_Error VL53L1_f_033(
00045     VL53L1_dmax_calibration_data_t         *pdmax_cal,
00046     VL53L1_hist_gen3_dmax_config_t         *pdmax_cfg,
00047     VL53L1_hist_post_process_config_t      *ppost_cfg,
00048     VL53L1_histogram_bin_data_t            *pbins,
00049     VL53L1_histogram_bin_data_t            *pxtalk,
00050     VL53L1_hist_gen3_algo_private_data_t   *palgo,
00051     VL53L1_hist_gen4_algo_filtered_data_t  *pfiltered,
00052     VL53L1_hist_gen3_dmax_private_data_t   *pdmax_algo,
00053     VL53L1_range_results_t                 *presults,
00054     uint8_t                                histo_merge_nb);
00055 
00056 
00057 
00058 
00059 
00060 VL53L1_Error VL53L1_f_034(
00061     uint8_t                                pulse_no,
00062     VL53L1_histogram_bin_data_t           *ppulse,
00063     VL53L1_hist_gen3_algo_private_data_t  *palgo,
00064     VL53L1_hist_gen4_algo_filtered_data_t *pfiltered);
00065 
00066 
00067 
00068 
00069 VL53L1_Error VL53L1_f_035(
00070     uint8_t                                pulse_no,
00071     uint16_t                               noise_threshold,
00072     VL53L1_hist_gen4_algo_filtered_data_t *pfiltered,
00073     VL53L1_hist_gen3_algo_private_data_t  *palgo);
00074 
00075 
00076 
00077 
00078 VL53L1_Error VL53L1_f_036(
00079     uint8_t   bin,
00080     int32_t   VL53L1_p_003,
00081     int32_t   VL53L1_p_018,
00082     int32_t   VL53L1_p_001,
00083     int32_t   ax,
00084     int32_t   bx,
00085     int32_t   cx,
00086     int32_t   VL53L1_p_004,
00087     uint8_t   VL53L1_p_031,
00088     uint32_t *pmedian_phase);
00089 
00090 
00091 #ifdef __cplusplus
00092 }
00093 #endif
00094 
00095 #endif
00096 
00097