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: VL53L1CB_noshield_1sensor_polls_auton VL53L1CB_noshield_1sensor_interrupt_auton X_NUCLEO_53L1A2
Diff: inc/vl53l1_hist_algos_gen3.h
- Revision:
- 0:3ac96e360672
- Child:
- 7:1add29d51e72
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/inc/vl53l1_hist_algos_gen3.h Fri Nov 06 10:06:37 2020 +0000
@@ -0,0 +1,151 @@
+
+/*******************************************************************************
+ This file is part of VL53L1 Protected
+
+ Copyright (c) 2020, STMicroelectronics - All Rights Reserved
+
+ License terms: STMicroelectronics Proprietary in accordance with licensing
+ terms at www.st.com/sla0081
+
+ STMicroelectronics confidential
+ Reproduction and Communication of this document is strictly prohibited unless
+ specifically authorized in writing by STMicroelectronics.
+
+*/
+
+
+
+
+
+#ifndef _VL53L1_HIST_ALGOS_GEN3_H_
+#define _VL53L1_HIST_ALGOS_GEN3_H_
+
+#include "vl53l1_types.h"
+#include "vl53l1_ll_def.h"
+
+#include "vl53l1_hist_private_structs.h"
+#include "vl53l1_dmax_private_structs.h"
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+
+
+
+void VL53L1_f_016(
+ VL53L1_hist_gen3_algo_private_data_t *palgo);
+
+
+
+
+
+
+VL53L1_Error VL53L1_f_018(
+ uint16_t ambient_threshold_events_scaler,
+ int32_t ambient_threshold_sigma,
+ int32_t min_ambient_threshold_events,
+ uint8_t algo__crosstalk_compensation_enable,
+ VL53L1_histogram_bin_data_t *pbins,
+ VL53L1_histogram_bin_data_t *pxtalk,
+ VL53L1_hist_gen3_algo_private_data_t *palgo);
+
+
+
+
+
+
+VL53L1_Error VL53L1_f_019(
+ VL53L1_hist_gen3_algo_private_data_t *palgo);
+
+
+
+
+VL53L1_Error VL53L1_f_020(
+ VL53L1_hist_gen3_algo_private_data_t *palgo);
+
+
+
+
+VL53L1_Error VL53L1_f_021(
+ VL53L1_hist_gen3_algo_private_data_t *palgo);
+
+
+
+
+VL53L1_Error VL53L1_f_028(
+ VL53L1_HistTargetOrder target_order,
+ VL53L1_hist_gen3_algo_private_data_t *palgo);
+
+
+
+
+VL53L1_Error VL53L1_f_022(
+ uint8_t pulse_no,
+ VL53L1_histogram_bin_data_t *pbins,
+ VL53L1_hist_gen3_algo_private_data_t *palgo);
+
+
+
+VL53L1_Error VL53L1_f_027(
+ uint8_t pulse_no,
+ uint8_t clip_events,
+ VL53L1_histogram_bin_data_t *pbins,
+ VL53L1_hist_gen3_algo_private_data_t *palgo);
+
+
+
+
+VL53L1_Error VL53L1_f_030(
+ int16_t VL53L1_p_022,
+ int16_t VL53L1_p_026,
+ uint8_t VL53L1_p_031,
+ uint8_t clip_events,
+ VL53L1_histogram_bin_data_t *pbins,
+ uint32_t *pphase);
+
+
+
+
+VL53L1_Error VL53L1_f_023(
+ uint8_t pulse_no,
+ VL53L1_histogram_bin_data_t *pbins,
+ VL53L1_hist_gen3_algo_private_data_t *palgo,
+ int32_t pad_value,
+ VL53L1_histogram_bin_data_t *ppulse);
+
+
+
+
+VL53L1_Error VL53L1_f_026(
+ uint8_t bin,
+ uint8_t sigma_estimator__sigma_ref_mm,
+ uint8_t VL53L1_p_031,
+ uint8_t VL53L1_p_055,
+ uint8_t crosstalk_compensation_enable,
+ VL53L1_histogram_bin_data_t *phist_data_ap,
+ VL53L1_histogram_bin_data_t *phist_data_zp,
+ VL53L1_histogram_bin_data_t *pxtalk_hist,
+ uint16_t *psigma_est);
+
+
+
+
+void VL53L1_f_029(
+ uint8_t range_id,
+ uint8_t valid_phase_low,
+ uint8_t valid_phase_high,
+ uint16_t sigma_thres,
+ VL53L1_histogram_bin_data_t *pbins,
+ VL53L1_hist_pulse_data_t *ppulse,
+ VL53L1_range_data_t *pdata);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+
+