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

vl53l1_hist_core.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_CORE_H_
00027 #define _VL53L1_HIST_CORE_H_
00028 
00029 #include "vl53l1_types.h"
00030 #include "vl53l1_ll_def.h"
00031 #include "vl53l1_hist_private_structs.h"
00032 
00033 #ifdef __cplusplus
00034 extern "C"
00035 {
00036 #endif
00037 
00038 
00039 
00040 
00041 void  VL53L1_f_013(
00042     uint8_t                         VL53L1_p_018,
00043     uint8_t                         filter_woi,
00044     VL53L1_histogram_bin_data_t    *pbins,
00045     int32_t                        *pa,
00046     int32_t                        *pb,
00047     int32_t                        *pc);
00048 
00049 
00050 
00051 
00052 VL53L1_Error VL53L1_f_011(
00053     uint16_t                        vcsel_width,
00054     uint16_t                        fast_osc_frequency,
00055     uint32_t                        total_periods_elapsed,
00056     uint16_t                        VL53L1_p_006,
00057     VL53L1_range_data_t            *pdata,
00058     uint8_t histo_merge_nb);
00059 
00060 
00061 
00062 
00063 void VL53L1_f_012(
00064     uint16_t             gain_factor,
00065     int16_t              range_offset_mm,
00066     VL53L1_range_data_t *pdata);
00067 
00068 
00069 
00070 
00071 void  VL53L1_f_037(
00072     VL53L1_histogram_bin_data_t   *pdata,
00073     int32_t                        ambient_estimate_counts_per_bin);
00074 
00075 
00076 
00077 
00078 void  VL53L1_f_004(
00079     VL53L1_histogram_bin_data_t   *pxtalk,
00080     VL53L1_histogram_bin_data_t   *pbins,
00081     VL53L1_histogram_bin_data_t   *pxtalk_realigned);
00082 
00083 
00084 
00085 int8_t  VL53L1_f_038(
00086     VL53L1_histogram_bin_data_t   *pdata1,
00087     VL53L1_histogram_bin_data_t   *pdata2);
00088 
00089 
00090 
00091 VL53L1_Error  VL53L1_f_039(
00092     VL53L1_histogram_bin_data_t   *pidata,
00093     VL53L1_histogram_bin_data_t   *podata);
00094 
00095 #ifdef __cplusplus
00096 }
00097 #endif
00098 
00099 #endif
00100