Initial release. Mbed library for VL53L1CB

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers vl53l1_hist_core.h Source File

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