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

vl53l1_sigma_estimate.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 #ifndef _VL53L1_SIGMA_ESTIMATE_H_
00026 #define _VL53L1_SIGMA_ESTIMATE_H_
00027 
00028 #include "vl53l1_types.h"
00029 #include "vl53l1_ll_def.h"
00030 
00031 #ifdef __cplusplus
00032 extern "C" {
00033 #endif
00034 
00035 #define  VL53L1_D_002  0xFFFF
00036 
00037 
00038 #define VL53L1_D_008    0xFFFF
00039 #define VL53L1_D_003    0xFFFFFF
00040 #define VL53L1_D_007    0xFFFFFFFF
00041 #define VL53L1_D_005    0x7FFFFFFFFF
00042 #define VL53L1_D_009    0xFFFFFFFFFF
00043 #define VL53L1_D_010    0xFFFFFFFFFFFF
00044 #define VL53L1_D_004    0xFFFFFFFFFFFFFF
00045 #define VL53L1_D_006    0x7FFFFFFFFFFFFFFF
00046 #define VL53L1_D_011    0xFFFFFFFFFFFFFFFF
00047 
00048 
00049 
00050 
00051 uint16_t VL53L1_f_042(
00052     uint8_t  sigma_estimator__effective_pulse_width_ns,
00053     uint8_t  sigma_estimator__effective_ambient_width_ns,
00054     uint8_t  sigma_estimator__sigma_ref_mm,
00055     VL53L1_range_data_t  *pdata);
00056 
00057 
00058 
00059 
00060 uint16_t VL53L1_f_044(
00061     uint8_t  sigma_estimator__effective_pulse_width_ns,
00062     uint8_t  sigma_estimator__effective_ambient_width_ns,
00063     uint8_t  sigma_estimator__sigma_ref_mm,
00064     VL53L1_range_data_t *pdata);
00065 
00066 
00067 
00068 
00069 
00070 
00071 VL53L1_Error  VL53L1_f_045(
00072     uint8_t       sigma_estimator__sigma_ref_mm,
00073     uint32_t      VL53L1_p_003,
00074     uint32_t      VL53L1_p_018,
00075     uint32_t      VL53L1_p_001,
00076     uint32_t      a_zp,
00077     uint32_t      c_zp,
00078     uint32_t      bx,
00079     uint32_t      ax_zp,
00080     uint32_t      cx_zp,
00081     uint32_t      VL53L1_p_004,
00082     uint16_t      fast_osc_frequency,
00083     uint16_t      *psigma_est);
00084 
00085 
00086 
00087 
00088 
00089 
00090 
00091 VL53L1_Error  VL53L1_f_014(
00092     uint8_t       sigma_estimator__sigma_ref_mm,
00093     uint32_t      VL53L1_p_003,
00094     uint32_t      VL53L1_p_018,
00095     uint32_t      VL53L1_p_001,
00096     uint32_t      a_zp,
00097     uint32_t      c_zp,
00098     uint32_t      bx,
00099     uint32_t      ax_zp,
00100     uint32_t      cx_zp,
00101     uint32_t      VL53L1_p_004,
00102     uint16_t      fast_osc_frequency,
00103     uint16_t      *psigma_est);
00104 
00105 
00106 
00107 uint32_t VL53L1_f_046(
00108     uint64_t VL53L1_p_003,
00109     uint32_t size
00110     );
00111 
00112 
00113 
00114 
00115 
00116 uint32_t VL53L1_f_043(
00117     uint32_t  VL53L1_p_003,
00118     uint32_t  VL53L1_p_018);
00119 
00120 
00121 #ifdef __cplusplus
00122 }
00123 #endif
00124 
00125 #endif
00126