Fork, renaming of VL53L1CB-2
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
inc/vl53l1_hist_core.h@0:3ac96e360672, 2020-11-06 (annotated)
- 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?
User | Revision | Line number | New 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 | |
charlesmn | 0:3ac96e360672 | 20 | #ifndef _VL53L1_HIST_CORE_H_ |
charlesmn | 0:3ac96e360672 | 21 | #define _VL53L1_HIST_CORE_H_ |
charlesmn | 0:3ac96e360672 | 22 | |
charlesmn | 0:3ac96e360672 | 23 | #include "vl53l1_types.h" |
charlesmn | 0:3ac96e360672 | 24 | #include "vl53l1_ll_def.h" |
charlesmn | 0:3ac96e360672 | 25 | #include "vl53l1_hist_private_structs.h" |
charlesmn | 0:3ac96e360672 | 26 | |
charlesmn | 0:3ac96e360672 | 27 | #ifdef __cplusplus |
charlesmn | 0:3ac96e360672 | 28 | extern "C" |
charlesmn | 0:3ac96e360672 | 29 | { |
charlesmn | 0:3ac96e360672 | 30 | #endif |
charlesmn | 0:3ac96e360672 | 31 | |
charlesmn | 0:3ac96e360672 | 32 | |
charlesmn | 0:3ac96e360672 | 33 | |
charlesmn | 0:3ac96e360672 | 34 | |
charlesmn | 0:3ac96e360672 | 35 | void VL53L1_f_013( |
charlesmn | 0:3ac96e360672 | 36 | uint8_t VL53L1_p_018, |
charlesmn | 0:3ac96e360672 | 37 | uint8_t filter_woi, |
charlesmn | 0:3ac96e360672 | 38 | VL53L1_histogram_bin_data_t *pbins, |
charlesmn | 0:3ac96e360672 | 39 | int32_t *pa, |
charlesmn | 0:3ac96e360672 | 40 | int32_t *pb, |
charlesmn | 0:3ac96e360672 | 41 | int32_t *pc); |
charlesmn | 0:3ac96e360672 | 42 | |
charlesmn | 0:3ac96e360672 | 43 | |
charlesmn | 0:3ac96e360672 | 44 | |
charlesmn | 0:3ac96e360672 | 45 | |
charlesmn | 0:3ac96e360672 | 46 | VL53L1_Error VL53L1_f_011( |
charlesmn | 0:3ac96e360672 | 47 | uint16_t vcsel_width, |
charlesmn | 0:3ac96e360672 | 48 | uint16_t fast_osc_frequency, |
charlesmn | 0:3ac96e360672 | 49 | uint32_t total_periods_elapsed, |
charlesmn | 0:3ac96e360672 | 50 | uint16_t VL53L1_p_006, |
charlesmn | 0:3ac96e360672 | 51 | VL53L1_range_data_t *pdata, |
charlesmn | 0:3ac96e360672 | 52 | uint8_t histo_merge_nb); |
charlesmn | 0:3ac96e360672 | 53 | |
charlesmn | 0:3ac96e360672 | 54 | |
charlesmn | 0:3ac96e360672 | 55 | |
charlesmn | 0:3ac96e360672 | 56 | |
charlesmn | 0:3ac96e360672 | 57 | void VL53L1_f_012( |
charlesmn | 0:3ac96e360672 | 58 | uint16_t gain_factor, |
charlesmn | 0:3ac96e360672 | 59 | int16_t range_offset_mm, |
charlesmn | 0:3ac96e360672 | 60 | VL53L1_range_data_t *pdata); |
charlesmn | 0:3ac96e360672 | 61 | |
charlesmn | 0:3ac96e360672 | 62 | |
charlesmn | 0:3ac96e360672 | 63 | |
charlesmn | 0:3ac96e360672 | 64 | |
charlesmn | 0:3ac96e360672 | 65 | void VL53L1_f_037( |
charlesmn | 0:3ac96e360672 | 66 | VL53L1_histogram_bin_data_t *pdata, |
charlesmn | 0:3ac96e360672 | 67 | int32_t ambient_estimate_counts_per_bin); |
charlesmn | 0:3ac96e360672 | 68 | |
charlesmn | 0:3ac96e360672 | 69 | |
charlesmn | 0:3ac96e360672 | 70 | |
charlesmn | 0:3ac96e360672 | 71 | |
charlesmn | 0:3ac96e360672 | 72 | void VL53L1_f_004( |
charlesmn | 0:3ac96e360672 | 73 | VL53L1_histogram_bin_data_t *pxtalk, |
charlesmn | 0:3ac96e360672 | 74 | VL53L1_histogram_bin_data_t *pbins, |
charlesmn | 0:3ac96e360672 | 75 | VL53L1_histogram_bin_data_t *pxtalk_realigned); |
charlesmn | 0:3ac96e360672 | 76 | |
charlesmn | 0:3ac96e360672 | 77 | |
charlesmn | 0:3ac96e360672 | 78 | |
charlesmn | 0:3ac96e360672 | 79 | int8_t VL53L1_f_038( |
charlesmn | 0:3ac96e360672 | 80 | VL53L1_histogram_bin_data_t *pdata1, |
charlesmn | 0:3ac96e360672 | 81 | VL53L1_histogram_bin_data_t *pdata2); |
charlesmn | 0:3ac96e360672 | 82 | |
charlesmn | 0:3ac96e360672 | 83 | |
charlesmn | 0:3ac96e360672 | 84 | |
charlesmn | 0:3ac96e360672 | 85 | VL53L1_Error VL53L1_f_039( |
charlesmn | 0:3ac96e360672 | 86 | VL53L1_histogram_bin_data_t *pidata, |
charlesmn | 0:3ac96e360672 | 87 | VL53L1_histogram_bin_data_t *podata); |
charlesmn | 0:3ac96e360672 | 88 | |
charlesmn | 0:3ac96e360672 | 89 | #ifdef __cplusplus |
charlesmn | 0:3ac96e360672 | 90 | } |
charlesmn | 0:3ac96e360672 | 91 | #endif |
charlesmn | 0:3ac96e360672 | 92 | |
charlesmn | 0:3ac96e360672 | 93 | #endif |
charlesmn | 0:3ac96e360672 | 94 | |
charlesmn | 0:3ac96e360672 | 95 |