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_init.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_PLATFORM_INIT_H_ 00017 #define _VL53L1_PLATFORM_INIT_H_ 00018 00019 #include "vl53l1_platform.h" 00020 00021 #ifdef __cplusplus 00022 extern "C" 00023 { 00024 #endif 00025 00026 00027 00028 00029 00030 00031 VL53L1_Error VL53L1_platform_init( 00032 VL53L1_Dev_t *pdev, 00033 uint8_t i2c_slave_address, 00034 uint8_t comms_type, 00035 uint16_t comms_speed_khz); 00036 00037 00038 00039 00040 VL53L1_Error VL53L1_platform_terminate( 00041 VL53L1_Dev_t *pdev); 00042 00043 00044 #ifdef __cplusplus 00045 } 00046 #endif 00047 00048 #endif 00049 00050
Generated on Thu Jul 14 2022 10:14:48 by
1.7.2