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
Dependents: VL53L1CB_noshield_1sensor_polls_auton VL53L1CB_noshield_1sensor_interrupt_auton X_NUCLEO_53L1A2
vl53l1_platform_user_config.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 00017 00018 #ifndef _VL53L1_PLATFORM_USER_CONFIG_H_ 00019 #define _VL53L1_PLATFORM_USER_CONFIG_H_ 00020 00021 #define VL53L1_BYTES_PER_WORD 2 00022 #define VL53L1_BYTES_PER_DWORD 4 00023 00024 00025 #define VL53L1_BOOT_COMPLETION_POLLING_TIMEOUT_MS 500 00026 #define VL53L1_RANGE_COMPLETION_POLLING_TIMEOUT_MS 2000 00027 #define VL53L1_TEST_COMPLETION_POLLING_TIMEOUT_MS 60000 00028 00029 #define VL53L1_POLLING_DELAY_MS 1 00030 00031 00032 #define VL53L1_TUNINGPARM_PUBLIC_PAGE_BASE_ADDRESS 0x8000 00033 #define VL53L1_TUNINGPARM_PRIVATE_PAGE_BASE_ADDRESS 0xC000 00034 00035 #define VL53L1_GAIN_FACTOR__STANDARD_DEFAULT 0x0800 00036 00037 #define VL53L1_GAIN_FACTOR__HISTOGRAM_DEFAULT 0x0800 00038 00039 00040 00041 #define VL53L1_OFFSET_CAL_MIN_EFFECTIVE_SPADS 0x0500 00042 00043 00044 #define VL53L1_OFFSET_CAL_MAX_PRE_PEAK_RATE_MCPS 0x1900 00045 00046 00047 #define VL53L1_OFFSET_CAL_MAX_SIGMA_MM 0x0040 00048 00049 00050 00051 #define VL53L1_ZONE_CAL_MAX_PRE_PEAK_RATE_MCPS 0x1900 00052 00053 00054 #define VL53L1_ZONE_CAL_MAX_SIGMA_MM 0x0040 00055 00056 00057 00058 #define VL53L1_XTALK_EXTRACT_MAX_SIGMA_MM 0x008C 00059 00060 00061 00062 #define VL53L1_MAX_USER_ZONES 6 00063 00064 00065 #define VL53L1_MAX_RANGE_RESULTS 4 00066 00067 00068 00069 #define VL53L1_MAX_STRING_LENGTH 512 00070 00071 #endif 00072 00073
Generated on Thu Jul 14 2022 10:14:48 by
1.7.2