charles macneill / VL53L1CB
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers vl53l1_sigma_estimate.h Source File

vl53l1_sigma_estimate.h

00001 
00002 /*******************************************************************************
00003  This file is part of VL53L1 Protected
00004 
00005  Copyright (c) 2020, STMicroelectronics - All Rights Reserved
00006 
00007  License terms: STMicroelectronics Proprietary in accordance with licensing
00008  terms at www.st.com/sla0081
00009 
00010  STMicroelectronics confidential
00011  Reproduction and Communication of this document is strictly prohibited unless
00012  specifically authorized in writing by STMicroelectronics.
00013 
00014 */
00015 
00016 
00017 
00018 
00019 #ifndef _VL53L1_SIGMA_ESTIMATE_H_
00020 #define _VL53L1_SIGMA_ESTIMATE_H_
00021 
00022 #include "vl53l1_types.h"
00023 #include "vl53l1_ll_def.h"
00024 
00025 #ifdef __cplusplus
00026 extern "C" {
00027 #endif
00028 
00029 #define  VL53L1_D_002  0xFFFF
00030 
00031 
00032 #define VL53L1_D_008    0xFFFF
00033 #define VL53L1_D_003    0xFFFFFF
00034 #define VL53L1_D_007    0xFFFFFFFF
00035 #define VL53L1_D_005    0x7FFFFFFFFF
00036 #define VL53L1_D_009    0xFFFFFFFFFF
00037 #define VL53L1_D_010    0xFFFFFFFFFFFF
00038 #define VL53L1_D_004    0xFFFFFFFFFFFFFF
00039 #define VL53L1_D_006    0x7FFFFFFFFFFFFFFF
00040 #define VL53L1_D_011    0xFFFFFFFFFFFFFFFF
00041 
00042 
00043 
00044 
00045 uint16_t VL53L1_f_042(
00046     uint8_t  sigma_estimator__effective_pulse_width_ns,
00047     uint8_t  sigma_estimator__effective_ambient_width_ns,
00048     uint8_t  sigma_estimator__sigma_ref_mm,
00049     VL53L1_range_data_t  *pdata);
00050 
00051 
00052 
00053 
00054 uint16_t VL53L1_f_044(
00055     uint8_t  sigma_estimator__effective_pulse_width_ns,
00056     uint8_t  sigma_estimator__effective_ambient_width_ns,
00057     uint8_t  sigma_estimator__sigma_ref_mm,
00058     VL53L1_range_data_t *pdata);
00059 
00060 
00061 
00062 
00063 
00064 
00065 VL53L1_Error  VL53L1_f_045(
00066     uint8_t       sigma_estimator__sigma_ref_mm,
00067     uint32_t      VL53L1_p_003,
00068     uint32_t      VL53L1_p_018,
00069     uint32_t      VL53L1_p_001,
00070     uint32_t      a_zp,
00071     uint32_t      c_zp,
00072     uint32_t      bx,
00073     uint32_t      ax_zp,
00074     uint32_t      cx_zp,
00075     uint32_t      VL53L1_p_004,
00076     uint16_t      fast_osc_frequency,
00077     uint16_t      *psigma_est);
00078 
00079 
00080 
00081 
00082 
00083 
00084 
00085 VL53L1_Error  VL53L1_f_014(
00086     uint8_t       sigma_estimator__sigma_ref_mm,
00087     uint32_t      VL53L1_p_003,
00088     uint32_t      VL53L1_p_018,
00089     uint32_t      VL53L1_p_001,
00090     uint32_t      a_zp,
00091     uint32_t      c_zp,
00092     uint32_t      bx,
00093     uint32_t      ax_zp,
00094     uint32_t      cx_zp,
00095     uint32_t      VL53L1_p_004,
00096     uint16_t      fast_osc_frequency,
00097     uint16_t      *psigma_est);
00098 
00099 
00100 
00101 uint32_t VL53L1_f_046(
00102     uint64_t VL53L1_p_003,
00103     uint32_t size
00104     );
00105 
00106 
00107 
00108 
00109 
00110 uint32_t VL53L1_f_043(
00111     uint32_t  VL53L1_p_003,
00112     uint32_t  VL53L1_p_018);
00113 
00114 
00115 #ifdef __cplusplus
00116 }
00117 #endif
00118 
00119 #endif
00120 
00121