amiro-lld / include / VL53L0X / v1 / Api_vl53l0x / core / inc / vl53l0x_tuning.h @ 6ebebd4d
History | View | Annotate | Download (3.75 KB)
1 |
/*******************************************************************************
|
---|---|
2 |
Copyright � 2016, STMicroelectronics International N.V.
|
3 |
All rights reserved.
|
4 |
|
5 |
Redistribution and use in source and binary forms, with or without
|
6 |
modification, are permitted provided that the following conditions are met:
|
7 |
* Redistributions of source code must retain the above copyright
|
8 |
notice, this list of conditions and the following disclaimer.
|
9 |
* Redistributions in binary form must reproduce the above copyright
|
10 |
notice, this list of conditions and the following disclaimer in the
|
11 |
documentation and/or other materials provided with the distribution.
|
12 |
* Neither the name of STMicroelectronics nor the
|
13 |
names of its contributors may be used to endorse or promote products
|
14 |
derived from this software without specific prior written permission.
|
15 |
|
16 |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
17 |
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
18 |
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
|
19 |
NON-INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS ARE DISCLAIMED.
|
20 |
IN NO EVENT SHALL STMICROELECTRONICS INTERNATIONAL N.V. BE LIABLE FOR ANY
|
21 |
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
22 |
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
23 |
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
24 |
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
25 |
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
26 |
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
27 |
*******************************************************************************/
|
28 |
|
29 |
|
30 |
#ifndef _VL53L0X_TUNING_H_
|
31 |
#define _VL53L0X_TUNING_H_
|
32 |
|
33 |
#include "vl53l0x_def.h" |
34 |
|
35 |
|
36 |
#ifdef __cplusplus
|
37 |
extern "C" { |
38 |
#endif
|
39 |
|
40 |
|
41 |
uint8_t DefaultTuningSettings[] = { |
42 |
|
43 |
/* update 02/11/2015_v36 */
|
44 |
0x01, 0xFF, 0x01, |
45 |
0x01, 0x00, 0x00, |
46 |
|
47 |
0x01, 0xFF, 0x00, |
48 |
0x01, 0x09, 0x00, |
49 |
0x01, 0x10, 0x00, |
50 |
0x01, 0x11, 0x00, |
51 |
|
52 |
0x01, 0x24, 0x01, |
53 |
0x01, 0x25, 0xff, |
54 |
0x01, 0x75, 0x00, |
55 |
|
56 |
0x01, 0xFF, 0x01, |
57 |
0x01, 0x4e, 0x2c, |
58 |
0x01, 0x48, 0x00, |
59 |
0x01, 0x30, 0x20, |
60 |
|
61 |
0x01, 0xFF, 0x00, |
62 |
0x01, 0x30, 0x09, /* mja changed from 0x64. */ |
63 |
0x01, 0x54, 0x00, |
64 |
0x01, 0x31, 0x04, |
65 |
0x01, 0x32, 0x03, |
66 |
0x01, 0x40, 0x83, |
67 |
0x01, 0x46, 0x25, |
68 |
0x01, 0x60, 0x00, |
69 |
0x01, 0x27, 0x00, |
70 |
0x01, 0x50, 0x06, |
71 |
0x01, 0x51, 0x00, |
72 |
0x01, 0x52, 0x96, |
73 |
0x01, 0x56, 0x08, |
74 |
0x01, 0x57, 0x30, |
75 |
0x01, 0x61, 0x00, |
76 |
0x01, 0x62, 0x00, |
77 |
0x01, 0x64, 0x00, |
78 |
0x01, 0x65, 0x00, |
79 |
0x01, 0x66, 0xa0, |
80 |
|
81 |
0x01, 0xFF, 0x01, |
82 |
0x01, 0x22, 0x32, |
83 |
0x01, 0x47, 0x14, |
84 |
0x01, 0x49, 0xff, |
85 |
0x01, 0x4a, 0x00, |
86 |
|
87 |
0x01, 0xFF, 0x00, |
88 |
0x01, 0x7a, 0x0a, |
89 |
0x01, 0x7b, 0x00, |
90 |
0x01, 0x78, 0x21, |
91 |
|
92 |
0x01, 0xFF, 0x01, |
93 |
0x01, 0x23, 0x34, |
94 |
0x01, 0x42, 0x00, |
95 |
0x01, 0x44, 0xff, |
96 |
0x01, 0x45, 0x26, |
97 |
0x01, 0x46, 0x05, |
98 |
0x01, 0x40, 0x40, |
99 |
0x01, 0x0E, 0x06, |
100 |
0x01, 0x20, 0x1a, |
101 |
0x01, 0x43, 0x40, |
102 |
|
103 |
0x01, 0xFF, 0x00, |
104 |
0x01, 0x34, 0x03, |
105 |
0x01, 0x35, 0x44, |
106 |
|
107 |
0x01, 0xFF, 0x01, |
108 |
0x01, 0x31, 0x04, |
109 |
0x01, 0x4b, 0x09, |
110 |
0x01, 0x4c, 0x05, |
111 |
0x01, 0x4d, 0x04, |
112 |
|
113 |
|
114 |
0x01, 0xFF, 0x00, |
115 |
0x01, 0x44, 0x00, |
116 |
0x01, 0x45, 0x20, |
117 |
0x01, 0x47, 0x08, |
118 |
0x01, 0x48, 0x28, |
119 |
0x01, 0x67, 0x00, |
120 |
0x01, 0x70, 0x04, |
121 |
0x01, 0x71, 0x01, |
122 |
0x01, 0x72, 0xfe, |
123 |
0x01, 0x76, 0x00, |
124 |
0x01, 0x77, 0x00, |
125 |
|
126 |
0x01, 0xFF, 0x01, |
127 |
0x01, 0x0d, 0x01, |
128 |
|
129 |
0x01, 0xFF, 0x00, |
130 |
0x01, 0x80, 0x01, |
131 |
0x01, 0x01, 0xF8, |
132 |
|
133 |
0x01, 0xFF, 0x01, |
134 |
0x01, 0x8e, 0x01, |
135 |
0x01, 0x00, 0x01, |
136 |
0x01, 0xFF, 0x00, |
137 |
0x01, 0x80, 0x00, |
138 |
|
139 |
0x00, 0x00, 0x00 |
140 |
}; |
141 |
|
142 |
#ifdef __cplusplus
|
143 |
} |
144 |
#endif
|
145 |
|
146 |
#endif /* _VL53L0X_TUNING_H_ */ |