Fork, renaming of VL53L1CB-2

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Dependents:   X_NUCLEO_53L1CB

inc/vl53l1_sigma_estimate.h

Committer:
Charles MacNeill
Date:
2021-06-11
Revision:
13:3f1b341901dd
Parent:
7:1add29d51e72

File content as of revision 13:3f1b341901dd:


/* SPDX-License-Identifier: BSD-3-Clause */
/******************************************************************************
 * Copyright (c) 2020, STMicroelectronics - All Rights Reserved

 This file is part of VL53L1 Protected and is dual licensed,
 either 'STMicroelectronics Proprietary license'
 or 'BSD 3-clause "New" or "Revised" License' , at your option.

 ******************************************************************************

 'STMicroelectronics Proprietary license'

 ******************************************************************************

 License terms: STMicroelectronics Proprietary in accordance with licensing
 terms at www.st.com/sla0081

 ******************************************************************************
 */




#ifndef _VL53L1_SIGMA_ESTIMATE_H_
#define _VL53L1_SIGMA_ESTIMATE_H_

#include "vl53l1_types.h"
#include "vl53l1_ll_def.h"

#ifdef __cplusplus
extern "C" {
#endif

#define  VL53L1_D_002  0xFFFF


#define VL53L1_D_008	0xFFFF
#define VL53L1_D_003	0xFFFFFF
#define VL53L1_D_007	0xFFFFFFFF
#define VL53L1_D_005	0x7FFFFFFFFF
#define VL53L1_D_009	0xFFFFFFFFFF
#define VL53L1_D_010	0xFFFFFFFFFFFF
#define VL53L1_D_004	0xFFFFFFFFFFFFFF
#define VL53L1_D_006	0x7FFFFFFFFFFFFFFF
#define VL53L1_D_011	0xFFFFFFFFFFFFFFFF




uint16_t VL53L1_f_042(
	uint8_t	 sigma_estimator__effective_pulse_width_ns,
	uint8_t  sigma_estimator__effective_ambient_width_ns,
	uint8_t	 sigma_estimator__sigma_ref_mm,
	VL53L1_range_data_t  *pdata);




uint16_t VL53L1_f_044(
	uint8_t	 sigma_estimator__effective_pulse_width_ns,
	uint8_t  sigma_estimator__effective_ambient_width_ns,
	uint8_t	 sigma_estimator__sigma_ref_mm,
	VL53L1_range_data_t *pdata);






VL53L1_Error  VL53L1_f_045(
	uint8_t	      sigma_estimator__sigma_ref_mm,
	uint32_t      VL53L1_p_003,
	uint32_t      VL53L1_p_018,
	uint32_t      VL53L1_p_001,
	uint32_t      a_zp,
	uint32_t      c_zp,
	uint32_t      bx,
	uint32_t      ax_zp,
	uint32_t      cx_zp,
	uint32_t      VL53L1_p_004,
	uint16_t      fast_osc_frequency,
	uint16_t      *psigma_est);







VL53L1_Error  VL53L1_f_014(
	uint8_t	      sigma_estimator__sigma_ref_mm,
	uint32_t      VL53L1_p_003,
	uint32_t      VL53L1_p_018,
	uint32_t      VL53L1_p_001,
	uint32_t      a_zp,
	uint32_t      c_zp,
	uint32_t      bx,
	uint32_t      ax_zp,
	uint32_t      cx_zp,
	uint32_t      VL53L1_p_004,
	uint16_t      fast_osc_frequency,
	uint16_t      *psigma_est);



uint32_t VL53L1_f_046(
	uint64_t VL53L1_p_003,
	uint32_t size
	);





uint32_t VL53L1_f_043(
	uint32_t  VL53L1_p_003,
	uint32_t  VL53L1_p_018);


#ifdef __cplusplus
}
#endif

#endif