x-cube-tof1/Drivers/BSP/Components/vl53l4cx/modules/vl53lx_dmax.h

56 lines
1.2 KiB
C

/**
******************************************************************************
* Copyright (c) 2020, STMicroelectronics - All Rights Reserved
This file is part of VL53LX Protected and is licensed
'STMicroelectronics Proprietary license'
License terms: STMicroelectronics Proprietary in accordance with licensing
terms at www.st.com/sla0081
******************************************************************************
*/
#ifndef _VL53LX_DMAX_H_
#define _VL53LX_DMAX_H_
#include "vl53lx_types.h"
#include "vl53lx_hist_structs.h"
#include "vl53lx_dmax_private_structs.h"
#include "vl53lx_error_codes.h"
#ifdef __cplusplus
extern "C" {
#endif
VL53LX_Error VL53LX_f_001(
uint16_t target_reflectance,
VL53LX_dmax_calibration_data_t *pcal,
VL53LX_hist_gen3_dmax_config_t *pcfg,
VL53LX_histogram_bin_data_t *pbins,
VL53LX_hist_gen3_dmax_private_data_t *pdata,
int16_t *pambient_dmax_mm);
uint32_t VL53LX_f_002(
uint32_t events_threshold,
uint32_t ref_signal_events,
uint32_t ref_distance_mm,
uint32_t signal_thresh_sigma);
#ifdef __cplusplus
}
#endif
#endif