Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
Dependents: VL53L3CX_NoShield_1Sensor_poll_Mb06x VL53L3_NoShield_1Sensor_polling_Mb63 X_NUCLEO_53L3A2 53L3A2_Ranging
vl53lx_api_calibration.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 VL53LX 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 #ifndef _VL53LX_API_CALIBRATION_H_ 00016 #define _VL53LX_API_CALIBRATION_H_ 00017 00018 #include "vl53lx_platform.h" 00019 00020 #ifdef __cplusplus 00021 extern "C" { 00022 #endif 00023 00024 00025 00026 00027 VL53LX_Error VL53LX_run_ref_spad_char(VL53LX_DEV Dev, 00028 VL53LX_Error * pcal_status); 00029 00030 00031 00032 00033 VL53LX_Error VL53LX_run_device_test( 00034 VL53LX_DEV Dev, 00035 VL53LX_DeviceTestMode device_test_mode); 00036 00037 00038 00039 00040 VL53LX_Error VL53LX_get_and_avg_xtalk_samples( 00041 VL53LX_DEV Dev, 00042 uint8_t num_of_samples, 00043 uint8_t measurement_mode, 00044 int16_t xtalk_filter_thresh_max_mm, 00045 int16_t xtalk_filter_thresh_min_mm, 00046 uint16_t xtalk_max_valid_rate_kcps, 00047 uint8_t xtalk_result_id, 00048 uint8_t xtalk_histo_id, 00049 VL53LX_xtalk_range_results_t *pxtalk_results, 00050 VL53LX_histogram_bin_data_t *psum_histo, 00051 VL53LX_histogram_bin_data_t *pavg_histo); 00052 00053 00054 00055 00056 00057 VL53LX_Error VL53LX_run_phasecal_average( 00058 VL53LX_DEV Dev, 00059 uint8_t measurement_mode, 00060 uint8_t phasecal_result__vcsel_start, 00061 uint16_t phasecal_num_of_samples, 00062 VL53LX_range_results_t *prange_results, 00063 uint16_t *pphasecal_result__reference_phase, 00064 uint16_t *pzero_distance_phase); 00065 00066 00067 00068 00069 void VL53LX_hist_xtalk_extract_data_init( 00070 VL53LX_hist_xtalk_extract_data_t *pxtalk_data); 00071 00072 00073 00074 VL53LX_Error VL53LX_hist_xtalk_extract_update( 00075 int16_t target_distance_mm, 00076 uint16_t target_width_oversize, 00077 VL53LX_histogram_bin_data_t *phist_bins, 00078 VL53LX_hist_xtalk_extract_data_t *pxtalk_data); 00079 00080 00081 00082 VL53LX_Error VL53LX_hist_xtalk_extract_fini( 00083 VL53LX_histogram_bin_data_t *phist_bins, 00084 VL53LX_hist_xtalk_extract_data_t *pxtalk_data, 00085 VL53LX_xtalk_calibration_results_t *pxtalk_cal, 00086 VL53LX_xtalk_histogram_shape_t *pxtalk_shape); 00087 00088 00089 00090 00091 VL53LX_Error VL53LX_run_hist_xtalk_extraction( 00092 VL53LX_DEV Dev, 00093 int16_t cal_distance_mm, 00094 VL53LX_Error *pcal_status); 00095 00096 00097 #ifdef __cplusplus 00098 } 00099 #endif 00100 00101 #endif 00102
Generated on Mon Jul 18 2022 15:35:58 by
1.7.2