ST Expansion SW Team / VL53L1CB

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Dependents:   VL53L1CB_noshield_1sensor_polls_auton VL53L1CB_noshield_1sensor_interrupt_auton X_NUCLEO_53L1A2

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers vl53l1_platform_ipp.h Source File

vl53l1_platform_ipp.h

00001 
00002 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
00003 /******************************************************************************
00004  * Copyright (c) 2020, STMicroelectronics - All Rights Reserved
00005 
00006  This file is part of VL53L1 and is dual licensed,
00007  either GPL-2.0+
00008  or 'BSD 3-clause "New" or "Revised" License' , at your option.
00009  ******************************************************************************
00010  */
00011 
00012 
00013 
00014 
00015 
00016 #ifndef _VL53L1_PLATFORM_IPP_H_
00017 #define _VL53L1_PLATFORM_IPP_H_
00018 
00019 #include "vl53l1_ll_def.h"
00020 
00021 #ifdef __cplusplus
00022 extern "C"
00023 {
00024 #endif
00025 
00026 
00027 
00028 
00029 
00030 VL53L1_Error VL53L1_ipp_hist_process_data(
00031     VL53L1_DEV                         Dev,
00032     VL53L1_dmax_calibration_data_t    *pdmax_cal,
00033     VL53L1_hist_gen3_dmax_config_t    *pdmax_cfg,
00034     VL53L1_hist_post_process_config_t *ppost_cfg,
00035     VL53L1_histogram_bin_data_t       *pbins,
00036     VL53L1_xtalk_histogram_data_t     *pxtalk,
00037     uint8_t                           *pArea1,
00038     uint8_t                           *pArea2,
00039     uint8_t                           *phisto_merge_nb,
00040     VL53L1_range_results_t            *presults);
00041 
00042 
00043 
00044 
00045 VL53L1_Error VL53L1_ipp_hist_ambient_dmax(
00046     VL53L1_DEV                         Dev,
00047     uint16_t                           target_reflectance,
00048     VL53L1_dmax_calibration_data_t    *pdmax_cal,
00049     VL53L1_hist_gen3_dmax_config_t    *pdmax_cfg,
00050     VL53L1_histogram_bin_data_t       *pbins,
00051     int16_t                           *pambient_dmax_mm);
00052 
00053 
00054 
00055 
00056 VL53L1_Error VL53L1_ipp_xtalk_calibration_process_data(
00057     VL53L1_DEV                          Dev,
00058     VL53L1_xtalk_range_results_t       *pxtalk_ranges,
00059     VL53L1_xtalk_histogram_data_t      *pxtalk_shape,
00060     VL53L1_xtalk_calibration_results_t *pxtalk_cal);
00061 
00062 
00063 
00064 
00065 VL53L1_Error VL53L1_ipp_hist_xtalk_correction(
00066     VL53L1_DEV                    Dev,
00067     VL53L1_customer_nvm_managed_t *pcustomer,
00068     VL53L1_dynamic_config_t       *pdyn_cfg,
00069     VL53L1_xtalk_histogram_data_t *pxtalk_shape,
00070     VL53L1_histogram_bin_data_t   *pip_hist_data,
00071     VL53L1_histogram_bin_data_t   *pop_hist_data,
00072     VL53L1_histogram_bin_data_t   *pxtalk_count_data);
00073 
00074 
00075 
00076 VL53L1_Error VL53L1_ipp_generate_dual_reflectance_xtalk_samples(
00077     VL53L1_DEV                     Dev,
00078     VL53L1_xtalk_range_results_t  *pxtalk_results,
00079     uint16_t                       expected_target_distance_mm,
00080     uint8_t                        higher_reflectance,
00081     VL53L1_histogram_bin_data_t   *pxtalk_avg_samples);
00082 
00083 
00084 
00085 #ifdef __cplusplus
00086 }
00087 #endif
00088 
00089 #endif
00090 
00091