Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
vl53l1_hist_map.h
00001 00002 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ 00003 /****************************************************************************** 00004 * Copyright (c) 2020, STMicroelectronics - All Rights Reserved 00005 00006 This file is part of VL53L1 and is dual licensed, 00007 either GPL-2.0+ 00008 or 'BSD 3-clause "New" or "Revised" License' , at your option. 00009 ****************************************************************************** 00010 */ 00011 00012 00013 00014 00015 00016 #ifndef _VL53L1_HIST_MAP_H_ 00017 #define _VL53L1_HIST_MAP_H_ 00018 00019 #include "vl53l1_register_map.h" 00020 00021 #ifdef __cplusplus 00022 extern "C" 00023 { 00024 #endif 00025 00026 00027 00028 00029 #define VL53L1_HISTOGRAM_CONFIG__OPCODE_SEQUENCE_0 \ 00030 VL53L1_SIGMA_ESTIMATOR__EFFECTIVE_PULSE_WIDTH_NS 00031 00032 #define VL53L1_HISTOGRAM_CONFIG__OPCODE_SEQUENCE_1 \ 00033 VL53L1_SIGMA_ESTIMATOR__EFFECTIVE_AMBIENT_WIDTH_NS 00034 00035 #define VL53L1_HISTOGRAM_CONFIG__OPCODE_SEQUENCE_2 \ 00036 VL53L1_SIGMA_ESTIMATOR__SIGMA_REF_MM 00037 00038 #define VL53L1_HISTOGRAM_CONFIG__AMB_THRESH_HIGH \ 00039 VL53L1_ALGO__RANGE_IGNORE_THRESHOLD_MCPS 00040 00041 00042 00043 00044 #define VL53L1_RESULT__HISTOGRAM_BIN_0_2 0x008E 00045 #define VL53L1_RESULT__HISTOGRAM_BIN_0_1 0x008F 00046 #define VL53L1_RESULT__HISTOGRAM_BIN_0_0 0x0090 00047 00048 #define VL53L1_RESULT__HISTOGRAM_BIN_23_2 0x00D3 00049 #define VL53L1_RESULT__HISTOGRAM_BIN_23_1 0x00D4 00050 #define VL53L1_RESULT__HISTOGRAM_BIN_23_0 0x00D5 00051 00052 #define VL53L1_RESULT__HISTOGRAM_BIN_23_0_MSB 0x00D9 00053 #define VL53L1_RESULT__HISTOGRAM_BIN_23_0_LSB 0x00DA 00054 00055 00056 00057 #define VL53L1_HISTOGRAM_BIN_DATA_I2C_INDEX \ 00058 VL53L1_RESULT__INTERRUPT_STATUS 00059 #define VL53L1_HISTOGRAM_BIN_DATA_I2C_SIZE_BYTES \ 00060 (VL53L1_RESULT__HISTOGRAM_BIN_23_0_LSB - \ 00061 VL53L1_RESULT__INTERRUPT_STATUS + 1) 00062 00063 #ifdef __cplusplus 00064 } 00065 #endif 00066 00067 #endif 00068
Generated on Thu Jul 14 2022 10:20:22 by
 1.7.2
 1.7.2