blob: ecfc99453d8e148041afaf4c2231ee4d6eadc546 [file] [log] [blame]
shaoxingc0dbf642018-03-20 19:43:05 +08001/*
2 * vl53l0x_interrupt_threshold_settings.h - Linux kernel modules for
3 * STM VL53L0 FlightSense TOF sensor
4 *
5 * Copyright (C) 2016 STMicroelectronics Imaging Division.
6 * Copyright (c) 2018, The Linux Foundation. All rights reserved.
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 */
18
19#ifndef _VL_INTERRUPT_THRESHOLD_SETTINGS_H_
20#define _VL_INTERRUPT_THRESHOLD_SETTINGS_H_
21
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27
28uint8_t InterruptThresholdSettings[] = {
29
30 /* Start of Interrupt Threshold Settings */
31 0x1, 0xff, 0x00,
32 0x1, 0x80, 0x01,
33 0x1, 0xff, 0x01,
34 0x1, 0x00, 0x00,
35 0x1, 0xff, 0x01,
36 0x1, 0x4f, 0x02,
37 0x1, 0xFF, 0x0E,
38 0x1, 0x00, 0x03,
39 0x1, 0x01, 0x84,
40 0x1, 0x02, 0x0A,
41 0x1, 0x03, 0x03,
42 0x1, 0x04, 0x08,
43 0x1, 0x05, 0xC8,
44 0x1, 0x06, 0x03,
45 0x1, 0x07, 0x8D,
46 0x1, 0x08, 0x08,
47 0x1, 0x09, 0xC6,
48 0x1, 0x0A, 0x01,
49 0x1, 0x0B, 0x02,
50 0x1, 0x0C, 0x00,
51 0x1, 0x0D, 0xD5,
52 0x1, 0x0E, 0x18,
53 0x1, 0x0F, 0x12,
54 0x1, 0x10, 0x01,
55 0x1, 0x11, 0x82,
56 0x1, 0x12, 0x00,
57 0x1, 0x13, 0xD5,
58 0x1, 0x14, 0x18,
59 0x1, 0x15, 0x13,
60 0x1, 0x16, 0x03,
61 0x1, 0x17, 0x86,
62 0x1, 0x18, 0x0A,
63 0x1, 0x19, 0x09,
64 0x1, 0x1A, 0x08,
65 0x1, 0x1B, 0xC2,
66 0x1, 0x1C, 0x03,
67 0x1, 0x1D, 0x8F,
68 0x1, 0x1E, 0x0A,
69 0x1, 0x1F, 0x06,
70 0x1, 0x20, 0x01,
71 0x1, 0x21, 0x02,
72 0x1, 0x22, 0x00,
73 0x1, 0x23, 0xD5,
74 0x1, 0x24, 0x18,
75 0x1, 0x25, 0x22,
76 0x1, 0x26, 0x01,
77 0x1, 0x27, 0x82,
78 0x1, 0x28, 0x00,
79 0x1, 0x29, 0xD5,
80 0x1, 0x2A, 0x18,
81 0x1, 0x2B, 0x0B,
82 0x1, 0x2C, 0x28,
83 0x1, 0x2D, 0x78,
84 0x1, 0x2E, 0x28,
85 0x1, 0x2F, 0x91,
86 0x1, 0x30, 0x00,
87 0x1, 0x31, 0x0B,
88 0x1, 0x32, 0x00,
89 0x1, 0x33, 0x0B,
90 0x1, 0x34, 0x00,
91 0x1, 0x35, 0xA1,
92 0x1, 0x36, 0x00,
93 0x1, 0x37, 0xA0,
94 0x1, 0x38, 0x00,
95 0x1, 0x39, 0x04,
96 0x1, 0x3A, 0x28,
97 0x1, 0x3B, 0x30,
98 0x1, 0x3C, 0x0C,
99 0x1, 0x3D, 0x04,
100 0x1, 0x3E, 0x0F,
101 0x1, 0x3F, 0x79,
102 0x1, 0x40, 0x28,
103 0x1, 0x41, 0x1E,
104 0x1, 0x42, 0x2F,
105 0x1, 0x43, 0x87,
106 0x1, 0x44, 0x00,
107 0x1, 0x45, 0x0B,
108 0x1, 0x46, 0x00,
109 0x1, 0x47, 0x0B,
110 0x1, 0x48, 0x00,
111 0x1, 0x49, 0xA7,
112 0x1, 0x4A, 0x00,
113 0x1, 0x4B, 0xA6,
114 0x1, 0x4C, 0x00,
115 0x1, 0x4D, 0x04,
116 0x1, 0x4E, 0x01,
117 0x1, 0x4F, 0x00,
118 0x1, 0x50, 0x00,
119 0x1, 0x51, 0x80,
120 0x1, 0x52, 0x09,
121 0x1, 0x53, 0x08,
122 0x1, 0x54, 0x01,
123 0x1, 0x55, 0x00,
124 0x1, 0x56, 0x0F,
125 0x1, 0x57, 0x79,
126 0x1, 0x58, 0x09,
127 0x1, 0x59, 0x05,
128 0x1, 0x5A, 0x00,
129 0x1, 0x5B, 0x60,
130 0x1, 0x5C, 0x05,
131 0x1, 0x5D, 0xD1,
132 0x1, 0x5E, 0x0C,
133 0x1, 0x5F, 0x3C,
134 0x1, 0x60, 0x00,
135 0x1, 0x61, 0xD0,
136 0x1, 0x62, 0x0B,
137 0x1, 0x63, 0x03,
138 0x1, 0x64, 0x28,
139 0x1, 0x65, 0x10,
140 0x1, 0x66, 0x2A,
141 0x1, 0x67, 0x39,
142 0x1, 0x68, 0x0B,
143 0x1, 0x69, 0x02,
144 0x1, 0x6A, 0x28,
145 0x1, 0x6B, 0x10,
146 0x1, 0x6C, 0x2A,
147 0x1, 0x6D, 0x61,
148 0x1, 0x6E, 0x0C,
149 0x1, 0x6F, 0x00,
150 0x1, 0x70, 0x0F,
151 0x1, 0x71, 0x79,
152 0x1, 0x72, 0x00,
153 0x1, 0x73, 0x0B,
154 0x1, 0x74, 0x00,
155 0x1, 0x75, 0x0B,
156 0x1, 0x76, 0x00,
157 0x1, 0x77, 0xA1,
158 0x1, 0x78, 0x00,
159 0x1, 0x79, 0xA0,
160 0x1, 0x7A, 0x00,
161 0x1, 0x7B, 0x04,
162 0x1, 0xFF, 0x04,
163 0x1, 0x79, 0x1D,
164 0x1, 0x7B, 0x27,
165 0x1, 0x96, 0x0E,
166 0x1, 0x97, 0xFE,
167 0x1, 0x98, 0x03,
168 0x1, 0x99, 0xEF,
169 0x1, 0x9A, 0x02,
170 0x1, 0x9B, 0x44,
171 0x1, 0x73, 0x07,
172 0x1, 0x70, 0x01,
173 0x1, 0xff, 0x01,
174 0x1, 0x00, 0x01,
175 0x1, 0xff, 0x00,
176 0x00, 0x00, 0x00
177};
178
179#ifdef __cplusplus
180}
181#endif
182
183#endif /* _VL_INTERRUPT_THRESHOLD_SETTINGS_H_ */