ST Expansion SW Team / VL53L1CB

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Dependents:   VL53L1CB_noshield_1sensor_polls_auton VL53L1CB_noshield_1sensor_interrupt_auton X_NUCLEO_53L1A2

Committer:
charlesmn
Date:
Fri Nov 06 10:06:37 2020 +0000
Revision:
0:3ac96e360672
Child:
7:1add29d51e72
Library for ST Vl53L1A1 time of flight sensor.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
charlesmn 0:3ac96e360672 1
charlesmn 0:3ac96e360672 2 /*******************************************************************************
charlesmn 0:3ac96e360672 3 This file is part of VL53L1 Protected
charlesmn 0:3ac96e360672 4
charlesmn 0:3ac96e360672 5 Copyright (c) 2020, STMicroelectronics - All Rights Reserved
charlesmn 0:3ac96e360672 6
charlesmn 0:3ac96e360672 7 License terms: STMicroelectronics Proprietary in accordance with licensing
charlesmn 0:3ac96e360672 8 terms at www.st.com/sla0081
charlesmn 0:3ac96e360672 9
charlesmn 0:3ac96e360672 10 STMicroelectronics confidential
charlesmn 0:3ac96e360672 11 Reproduction and Communication of this document is strictly prohibited unless
charlesmn 0:3ac96e360672 12 specifically authorized in writing by STMicroelectronics.
charlesmn 0:3ac96e360672 13
charlesmn 0:3ac96e360672 14 */
charlesmn 0:3ac96e360672 15
charlesmn 0:3ac96e360672 16
charlesmn 0:3ac96e360672 17
charlesmn 0:3ac96e360672 18
charlesmn 0:3ac96e360672 19 #ifndef _VL53L1_DMAX_H_
charlesmn 0:3ac96e360672 20 #define _VL53L1_DMAX_H_
charlesmn 0:3ac96e360672 21
charlesmn 0:3ac96e360672 22 #include "vl53l1_types.h"
charlesmn 0:3ac96e360672 23 #include "vl53l1_hist_structs.h"
charlesmn 0:3ac96e360672 24 #include "vl53l1_dmax_private_structs.h"
charlesmn 0:3ac96e360672 25 #include "vl53l1_error_codes.h"
charlesmn 0:3ac96e360672 26
charlesmn 0:3ac96e360672 27 #ifdef __cplusplus
charlesmn 0:3ac96e360672 28 extern "C" {
charlesmn 0:3ac96e360672 29 #endif
charlesmn 0:3ac96e360672 30
charlesmn 0:3ac96e360672 31
charlesmn 0:3ac96e360672 32
charlesmn 0:3ac96e360672 33
charlesmn 0:3ac96e360672 34 VL53L1_Error VL53L1_f_001(
charlesmn 0:3ac96e360672 35 uint16_t target_reflectance,
charlesmn 0:3ac96e360672 36 VL53L1_dmax_calibration_data_t *pcal,
charlesmn 0:3ac96e360672 37 VL53L1_hist_gen3_dmax_config_t *pcfg,
charlesmn 0:3ac96e360672 38 VL53L1_histogram_bin_data_t *pbins,
charlesmn 0:3ac96e360672 39 VL53L1_hist_gen3_dmax_private_data_t *pdata,
charlesmn 0:3ac96e360672 40 int16_t *pambient_dmax_mm);
charlesmn 0:3ac96e360672 41
charlesmn 0:3ac96e360672 42
charlesmn 0:3ac96e360672 43
charlesmn 0:3ac96e360672 44
charlesmn 0:3ac96e360672 45 uint32_t VL53L1_f_002(
charlesmn 0:3ac96e360672 46 uint32_t events_threshold,
charlesmn 0:3ac96e360672 47 uint32_t ref_signal_events,
charlesmn 0:3ac96e360672 48 uint32_t ref_distance_mm,
charlesmn 0:3ac96e360672 49 uint32_t signal_thresh_sigma);
charlesmn 0:3ac96e360672 50
charlesmn 0:3ac96e360672 51
charlesmn 0:3ac96e360672 52 #ifdef __cplusplus
charlesmn 0:3ac96e360672 53 }
charlesmn 0:3ac96e360672 54 #endif
charlesmn 0:3ac96e360672 55
charlesmn 0:3ac96e360672 56 #endif
charlesmn 0:3ac96e360672 57
charlesmn 0:3ac96e360672 58