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

vl53l1_dmax.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_DMAX_H_
00026 #define _VL53L1_DMAX_H_
00027 
00028 #include "vl53l1_types.h"
00029 #include "vl53l1_hist_structs.h"
00030 #include "vl53l1_dmax_private_structs.h"
00031 #include "vl53l1_error_codes.h"
00032 
00033 #ifdef __cplusplus
00034 extern "C" {
00035 #endif
00036 
00037 
00038 
00039 
00040 VL53L1_Error VL53L1_f_001(
00041     uint16_t                              target_reflectance,
00042     VL53L1_dmax_calibration_data_t       *pcal,
00043     VL53L1_hist_gen3_dmax_config_t       *pcfg,
00044     VL53L1_histogram_bin_data_t          *pbins,
00045     VL53L1_hist_gen3_dmax_private_data_t *pdata,
00046     int16_t                              *pambient_dmax_mm);
00047 
00048 
00049 
00050 
00051 uint32_t VL53L1_f_002(
00052     uint32_t     events_threshold,
00053     uint32_t     ref_signal_events,
00054     uint32_t     ref_distance_mm,
00055     uint32_t     signal_thresh_sigma);
00056 
00057 
00058 #ifdef __cplusplus
00059 }
00060 #endif
00061 
00062 #endif
00063