Updates to follow mbed SDK coding style guidelines.

Dependencies:   ST_INTERFACES X_NUCLEO_COMMON

Dependents:   53L0A1_Satellites_with_Interrupts_OS5 Display_53L0A1_OS5

Fork of X_NUCLEO_53L0A1 by ST

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers vl53l0x_tuning.h Source File

vl53l0x_tuning.h

00001 /*******************************************************************************
00002 Copyright © 2016, STMicroelectronics International N.V.
00003 All rights reserved.
00004 
00005 Redistribution and use in source and binary forms, with or without
00006 modification, are permitted provided that the following conditions are met:
00007     * Redistributions of source code must retain the above copyright
00008       notice, this list of conditions and the following disclaimer.
00009     * Redistributions in binary form must reproduce the above copyright
00010       notice, this list of conditions and the following disclaimer in the
00011       documentation and/or other materials provided with the distribution.
00012     * Neither the name of STMicroelectronics nor the
00013       names of its contributors may be used to endorse or promote products
00014       derived from this software without specific prior written permission.
00015 
00016 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
00017 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
00018 WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
00019 NON-INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS ARE DISCLAIMED.
00020 IN NO EVENT SHALL STMICROELECTRONICS INTERNATIONAL N.V. BE LIABLE FOR ANY
00021 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
00022 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00023 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
00024 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00025 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
00026 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00027 *******************************************************************************/
00028 
00029 
00030 #ifndef _VL53L0X_TUNING_H_
00031 #define _VL53L0X_TUNING_H_
00032 
00033 #include "vl53l0x_def.h"
00034 
00035 
00036 #ifdef __cplusplus
00037 extern "C" {
00038 #endif
00039 
00040 
00041 uint8_t DefaultTuningSettings[] = {
00042 
00043     /* update 02/11/2015_v36 */
00044     0x01, 0xFF, 0x01,
00045     0x01, 0x00, 0x00,
00046 
00047     0x01, 0xFF, 0x00,
00048     0x01, 0x09, 0x00,
00049     0x01, 0x10, 0x00,
00050     0x01, 0x11, 0x00,
00051 
00052     0x01, 0x24, 0x01,
00053     0x01, 0x25, 0xff,
00054     0x01, 0x75, 0x00,
00055 
00056     0x01, 0xFF, 0x01,
00057     0x01, 0x4e, 0x2c,
00058     0x01, 0x48, 0x00,
00059     0x01, 0x30, 0x20,
00060 
00061     0x01, 0xFF, 0x00,
00062     0x01, 0x30, 0x09, /* mja changed from 0x64. */
00063     0x01, 0x54, 0x00,
00064     0x01, 0x31, 0x04,
00065     0x01, 0x32, 0x03,
00066     0x01, 0x40, 0x83,
00067     0x01, 0x46, 0x25,
00068     0x01, 0x60, 0x00,
00069     0x01, 0x27, 0x00,
00070     0x01, 0x50, 0x06,
00071     0x01, 0x51, 0x00,
00072     0x01, 0x52, 0x96,
00073     0x01, 0x56, 0x08,
00074     0x01, 0x57, 0x30,
00075     0x01, 0x61, 0x00,
00076     0x01, 0x62, 0x00,
00077     0x01, 0x64, 0x00,
00078     0x01, 0x65, 0x00,
00079     0x01, 0x66, 0xa0,
00080 
00081     0x01, 0xFF, 0x01,
00082     0x01, 0x22, 0x32,
00083     0x01, 0x47, 0x14,
00084     0x01, 0x49, 0xff,
00085     0x01, 0x4a, 0x00,
00086 
00087     0x01, 0xFF, 0x00,
00088     0x01, 0x7a, 0x0a,
00089     0x01, 0x7b, 0x00,
00090     0x01, 0x78, 0x21,
00091 
00092     0x01, 0xFF, 0x01,
00093     0x01, 0x23, 0x34,
00094     0x01, 0x42, 0x00,
00095     0x01, 0x44, 0xff,
00096     0x01, 0x45, 0x26,
00097     0x01, 0x46, 0x05,
00098     0x01, 0x40, 0x40,
00099     0x01, 0x0E, 0x06,
00100     0x01, 0x20, 0x1a,
00101     0x01, 0x43, 0x40,
00102 
00103     0x01, 0xFF, 0x00,
00104     0x01, 0x34, 0x03,
00105     0x01, 0x35, 0x44,
00106 
00107     0x01, 0xFF, 0x01,
00108     0x01, 0x31, 0x04,
00109     0x01, 0x4b, 0x09,
00110     0x01, 0x4c, 0x05,
00111     0x01, 0x4d, 0x04,
00112 
00113 
00114     0x01, 0xFF, 0x00,
00115     0x01, 0x44, 0x00,
00116     0x01, 0x45, 0x20,
00117     0x01, 0x47, 0x08,
00118     0x01, 0x48, 0x28,
00119     0x01, 0x67, 0x00,
00120     0x01, 0x70, 0x04,
00121     0x01, 0x71, 0x01,
00122     0x01, 0x72, 0xfe,
00123     0x01, 0x76, 0x00,
00124     0x01, 0x77, 0x00,
00125 
00126     0x01, 0xFF, 0x01,
00127     0x01, 0x0d, 0x01,
00128 
00129     0x01, 0xFF, 0x00,
00130     0x01, 0x80, 0x01,
00131     0x01, 0x01, 0xF8,
00132 
00133     0x01, 0xFF, 0x01,
00134     0x01, 0x8e, 0x01,
00135     0x01, 0x00, 0x01,
00136     0x01, 0xFF, 0x00,
00137     0x01, 0x80, 0x00,
00138 
00139     0x00, 0x00, 0x00
00140 };
00141 
00142 #ifdef __cplusplus
00143 }
00144 #endif
00145 
00146 #endif /* _VL53L0X_TUNING_H_ */
00147