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

vl53l1_hist_funcs.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_FUNCS_H_
00027 #define _VL53L1_HIST_FUNCS_H_
00028 
00029 #include "vl53l1_types.h"
00030 #include "vl53l1_ll_def.h"
00031 
00032 #ifdef __cplusplus
00033 extern "C"
00034 {
00035 #endif
00036 
00037 
00038 
00039 
00040 VL53L1_Error VL53L1_hist_process_data(
00041     VL53L1_dmax_calibration_data_t    *pdmax_cal,
00042     VL53L1_hist_gen3_dmax_config_t    *pdmax_cfg,
00043     VL53L1_hist_post_process_config_t *ppost_cfg,
00044     VL53L1_histogram_bin_data_t       *pbins,
00045     VL53L1_xtalk_histogram_data_t     *pxtalk,
00046     uint8_t                           *pArea1,
00047     uint8_t                           *pArea2,
00048     VL53L1_range_results_t             *presults,
00049     uint8_t                            *HistMergeNumber);
00050 
00051 
00052 
00053 
00054 VL53L1_Error VL53L1_hist_ambient_dmax(
00055     uint16_t                            target_reflectance,
00056     VL53L1_dmax_calibration_data_t     *pdmax_cal,
00057     VL53L1_hist_gen3_dmax_config_t     *pdmax_cfg,
00058     VL53L1_histogram_bin_data_t        *pbins,
00059     int16_t                            *pambient_dmax_mm);
00060 
00061 
00062 #ifdef __cplusplus
00063 }
00064 #endif
00065 
00066 #endif
00067