hh

Dependents:   VL53L0X-mbedOS-master VL53L0X-mbedOS-masterbb

Committer:
mjarvisal
Date:
Tue Aug 23 05:14:05 2016 +0000
Revision:
0:e6fcdb78a136
Initial release

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mjarvisal 0:e6fcdb78a136 1 /*******************************************************************************
mjarvisal 0:e6fcdb78a136 2 Copyright © 2016, STMicroelectronics International N.V.
mjarvisal 0:e6fcdb78a136 3 All rights reserved.
mjarvisal 0:e6fcdb78a136 4
mjarvisal 0:e6fcdb78a136 5 Redistribution and use in source and binary forms, with or without
mjarvisal 0:e6fcdb78a136 6 modification, are permitted provided that the following conditions are met:
mjarvisal 0:e6fcdb78a136 7 * Redistributions of source code must retain the above copyright
mjarvisal 0:e6fcdb78a136 8 notice, this list of conditions and the following disclaimer.
mjarvisal 0:e6fcdb78a136 9 * Redistributions in binary form must reproduce the above copyright
mjarvisal 0:e6fcdb78a136 10 notice, this list of conditions and the following disclaimer in the
mjarvisal 0:e6fcdb78a136 11 documentation and/or other materials provided with the distribution.
mjarvisal 0:e6fcdb78a136 12 * Neither the name of STMicroelectronics nor the
mjarvisal 0:e6fcdb78a136 13 names of its contributors may be used to endorse or promote products
mjarvisal 0:e6fcdb78a136 14 derived from this software without specific prior written permission.
mjarvisal 0:e6fcdb78a136 15
mjarvisal 0:e6fcdb78a136 16 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
mjarvisal 0:e6fcdb78a136 17 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
mjarvisal 0:e6fcdb78a136 18 WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
mjarvisal 0:e6fcdb78a136 19 NON-INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS ARE DISCLAIMED.
mjarvisal 0:e6fcdb78a136 20 IN NO EVENT SHALL STMICROELECTRONICS INTERNATIONAL N.V. BE LIABLE FOR ANY
mjarvisal 0:e6fcdb78a136 21 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
mjarvisal 0:e6fcdb78a136 22 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
mjarvisal 0:e6fcdb78a136 23 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
mjarvisal 0:e6fcdb78a136 24 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
mjarvisal 0:e6fcdb78a136 25 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
mjarvisal 0:e6fcdb78a136 26 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
mjarvisal 0:e6fcdb78a136 27 *******************************************************************************/
mjarvisal 0:e6fcdb78a136 28
mjarvisal 0:e6fcdb78a136 29
mjarvisal 0:e6fcdb78a136 30 #ifndef _VL53L0X_INTERRUPT_THRESHOLD_SETTINGS_H_
mjarvisal 0:e6fcdb78a136 31 #define _VL53L0X_INTERRUPT_THRESHOLD_SETTINGS_H_
mjarvisal 0:e6fcdb78a136 32
mjarvisal 0:e6fcdb78a136 33
mjarvisal 0:e6fcdb78a136 34 #ifdef __cplusplus
mjarvisal 0:e6fcdb78a136 35 extern "C" {
mjarvisal 0:e6fcdb78a136 36 #endif
mjarvisal 0:e6fcdb78a136 37
mjarvisal 0:e6fcdb78a136 38
mjarvisal 0:e6fcdb78a136 39 uint8_t InterruptThresholdSettings[] = {
mjarvisal 0:e6fcdb78a136 40
mjarvisal 0:e6fcdb78a136 41 /* Start of Interrupt Threshold Settings */
mjarvisal 0:e6fcdb78a136 42 0x1, 0xff, 0x00,
mjarvisal 0:e6fcdb78a136 43 0x1, 0x80, 0x01,
mjarvisal 0:e6fcdb78a136 44 0x1, 0xff, 0x01,
mjarvisal 0:e6fcdb78a136 45 0x1, 0x00, 0x00,
mjarvisal 0:e6fcdb78a136 46 0x1, 0xff, 0x01,
mjarvisal 0:e6fcdb78a136 47 0x1, 0x4f, 0x02,
mjarvisal 0:e6fcdb78a136 48 0x1, 0xFF, 0x0E,
mjarvisal 0:e6fcdb78a136 49 0x1, 0x00, 0x03,
mjarvisal 0:e6fcdb78a136 50 0x1, 0x01, 0x84,
mjarvisal 0:e6fcdb78a136 51 0x1, 0x02, 0x0A,
mjarvisal 0:e6fcdb78a136 52 0x1, 0x03, 0x03,
mjarvisal 0:e6fcdb78a136 53 0x1, 0x04, 0x08,
mjarvisal 0:e6fcdb78a136 54 0x1, 0x05, 0xC8,
mjarvisal 0:e6fcdb78a136 55 0x1, 0x06, 0x03,
mjarvisal 0:e6fcdb78a136 56 0x1, 0x07, 0x8D,
mjarvisal 0:e6fcdb78a136 57 0x1, 0x08, 0x08,
mjarvisal 0:e6fcdb78a136 58 0x1, 0x09, 0xC6,
mjarvisal 0:e6fcdb78a136 59 0x1, 0x0A, 0x01,
mjarvisal 0:e6fcdb78a136 60 0x1, 0x0B, 0x02,
mjarvisal 0:e6fcdb78a136 61 0x1, 0x0C, 0x00,
mjarvisal 0:e6fcdb78a136 62 0x1, 0x0D, 0xD5,
mjarvisal 0:e6fcdb78a136 63 0x1, 0x0E, 0x18,
mjarvisal 0:e6fcdb78a136 64 0x1, 0x0F, 0x12,
mjarvisal 0:e6fcdb78a136 65 0x1, 0x10, 0x01,
mjarvisal 0:e6fcdb78a136 66 0x1, 0x11, 0x82,
mjarvisal 0:e6fcdb78a136 67 0x1, 0x12, 0x00,
mjarvisal 0:e6fcdb78a136 68 0x1, 0x13, 0xD5,
mjarvisal 0:e6fcdb78a136 69 0x1, 0x14, 0x18,
mjarvisal 0:e6fcdb78a136 70 0x1, 0x15, 0x13,
mjarvisal 0:e6fcdb78a136 71 0x1, 0x16, 0x03,
mjarvisal 0:e6fcdb78a136 72 0x1, 0x17, 0x86,
mjarvisal 0:e6fcdb78a136 73 0x1, 0x18, 0x0A,
mjarvisal 0:e6fcdb78a136 74 0x1, 0x19, 0x09,
mjarvisal 0:e6fcdb78a136 75 0x1, 0x1A, 0x08,
mjarvisal 0:e6fcdb78a136 76 0x1, 0x1B, 0xC2,
mjarvisal 0:e6fcdb78a136 77 0x1, 0x1C, 0x03,
mjarvisal 0:e6fcdb78a136 78 0x1, 0x1D, 0x8F,
mjarvisal 0:e6fcdb78a136 79 0x1, 0x1E, 0x0A,
mjarvisal 0:e6fcdb78a136 80 0x1, 0x1F, 0x06,
mjarvisal 0:e6fcdb78a136 81 0x1, 0x20, 0x01,
mjarvisal 0:e6fcdb78a136 82 0x1, 0x21, 0x02,
mjarvisal 0:e6fcdb78a136 83 0x1, 0x22, 0x00,
mjarvisal 0:e6fcdb78a136 84 0x1, 0x23, 0xD5,
mjarvisal 0:e6fcdb78a136 85 0x1, 0x24, 0x18,
mjarvisal 0:e6fcdb78a136 86 0x1, 0x25, 0x22,
mjarvisal 0:e6fcdb78a136 87 0x1, 0x26, 0x01,
mjarvisal 0:e6fcdb78a136 88 0x1, 0x27, 0x82,
mjarvisal 0:e6fcdb78a136 89 0x1, 0x28, 0x00,
mjarvisal 0:e6fcdb78a136 90 0x1, 0x29, 0xD5,
mjarvisal 0:e6fcdb78a136 91 0x1, 0x2A, 0x18,
mjarvisal 0:e6fcdb78a136 92 0x1, 0x2B, 0x0B,
mjarvisal 0:e6fcdb78a136 93 0x1, 0x2C, 0x28,
mjarvisal 0:e6fcdb78a136 94 0x1, 0x2D, 0x78,
mjarvisal 0:e6fcdb78a136 95 0x1, 0x2E, 0x28,
mjarvisal 0:e6fcdb78a136 96 0x1, 0x2F, 0x91,
mjarvisal 0:e6fcdb78a136 97 0x1, 0x30, 0x00,
mjarvisal 0:e6fcdb78a136 98 0x1, 0x31, 0x0B,
mjarvisal 0:e6fcdb78a136 99 0x1, 0x32, 0x00,
mjarvisal 0:e6fcdb78a136 100 0x1, 0x33, 0x0B,
mjarvisal 0:e6fcdb78a136 101 0x1, 0x34, 0x00,
mjarvisal 0:e6fcdb78a136 102 0x1, 0x35, 0xA1,
mjarvisal 0:e6fcdb78a136 103 0x1, 0x36, 0x00,
mjarvisal 0:e6fcdb78a136 104 0x1, 0x37, 0xA0,
mjarvisal 0:e6fcdb78a136 105 0x1, 0x38, 0x00,
mjarvisal 0:e6fcdb78a136 106 0x1, 0x39, 0x04,
mjarvisal 0:e6fcdb78a136 107 0x1, 0x3A, 0x28,
mjarvisal 0:e6fcdb78a136 108 0x1, 0x3B, 0x30,
mjarvisal 0:e6fcdb78a136 109 0x1, 0x3C, 0x0C,
mjarvisal 0:e6fcdb78a136 110 0x1, 0x3D, 0x04,
mjarvisal 0:e6fcdb78a136 111 0x1, 0x3E, 0x0F,
mjarvisal 0:e6fcdb78a136 112 0x1, 0x3F, 0x79,
mjarvisal 0:e6fcdb78a136 113 0x1, 0x40, 0x28,
mjarvisal 0:e6fcdb78a136 114 0x1, 0x41, 0x1E,
mjarvisal 0:e6fcdb78a136 115 0x1, 0x42, 0x2F,
mjarvisal 0:e6fcdb78a136 116 0x1, 0x43, 0x87,
mjarvisal 0:e6fcdb78a136 117 0x1, 0x44, 0x00,
mjarvisal 0:e6fcdb78a136 118 0x1, 0x45, 0x0B,
mjarvisal 0:e6fcdb78a136 119 0x1, 0x46, 0x00,
mjarvisal 0:e6fcdb78a136 120 0x1, 0x47, 0x0B,
mjarvisal 0:e6fcdb78a136 121 0x1, 0x48, 0x00,
mjarvisal 0:e6fcdb78a136 122 0x1, 0x49, 0xA7,
mjarvisal 0:e6fcdb78a136 123 0x1, 0x4A, 0x00,
mjarvisal 0:e6fcdb78a136 124 0x1, 0x4B, 0xA6,
mjarvisal 0:e6fcdb78a136 125 0x1, 0x4C, 0x00,
mjarvisal 0:e6fcdb78a136 126 0x1, 0x4D, 0x04,
mjarvisal 0:e6fcdb78a136 127 0x1, 0x4E, 0x01,
mjarvisal 0:e6fcdb78a136 128 0x1, 0x4F, 0x00,
mjarvisal 0:e6fcdb78a136 129 0x1, 0x50, 0x00,
mjarvisal 0:e6fcdb78a136 130 0x1, 0x51, 0x80,
mjarvisal 0:e6fcdb78a136 131 0x1, 0x52, 0x09,
mjarvisal 0:e6fcdb78a136 132 0x1, 0x53, 0x08,
mjarvisal 0:e6fcdb78a136 133 0x1, 0x54, 0x01,
mjarvisal 0:e6fcdb78a136 134 0x1, 0x55, 0x00,
mjarvisal 0:e6fcdb78a136 135 0x1, 0x56, 0x0F,
mjarvisal 0:e6fcdb78a136 136 0x1, 0x57, 0x79,
mjarvisal 0:e6fcdb78a136 137 0x1, 0x58, 0x09,
mjarvisal 0:e6fcdb78a136 138 0x1, 0x59, 0x05,
mjarvisal 0:e6fcdb78a136 139 0x1, 0x5A, 0x00,
mjarvisal 0:e6fcdb78a136 140 0x1, 0x5B, 0x60,
mjarvisal 0:e6fcdb78a136 141 0x1, 0x5C, 0x05,
mjarvisal 0:e6fcdb78a136 142 0x1, 0x5D, 0xD1,
mjarvisal 0:e6fcdb78a136 143 0x1, 0x5E, 0x0C,
mjarvisal 0:e6fcdb78a136 144 0x1, 0x5F, 0x3C,
mjarvisal 0:e6fcdb78a136 145 0x1, 0x60, 0x00,
mjarvisal 0:e6fcdb78a136 146 0x1, 0x61, 0xD0,
mjarvisal 0:e6fcdb78a136 147 0x1, 0x62, 0x0B,
mjarvisal 0:e6fcdb78a136 148 0x1, 0x63, 0x03,
mjarvisal 0:e6fcdb78a136 149 0x1, 0x64, 0x28,
mjarvisal 0:e6fcdb78a136 150 0x1, 0x65, 0x10,
mjarvisal 0:e6fcdb78a136 151 0x1, 0x66, 0x2A,
mjarvisal 0:e6fcdb78a136 152 0x1, 0x67, 0x39,
mjarvisal 0:e6fcdb78a136 153 0x1, 0x68, 0x0B,
mjarvisal 0:e6fcdb78a136 154 0x1, 0x69, 0x02,
mjarvisal 0:e6fcdb78a136 155 0x1, 0x6A, 0x28,
mjarvisal 0:e6fcdb78a136 156 0x1, 0x6B, 0x10,
mjarvisal 0:e6fcdb78a136 157 0x1, 0x6C, 0x2A,
mjarvisal 0:e6fcdb78a136 158 0x1, 0x6D, 0x61,
mjarvisal 0:e6fcdb78a136 159 0x1, 0x6E, 0x0C,
mjarvisal 0:e6fcdb78a136 160 0x1, 0x6F, 0x00,
mjarvisal 0:e6fcdb78a136 161 0x1, 0x70, 0x0F,
mjarvisal 0:e6fcdb78a136 162 0x1, 0x71, 0x79,
mjarvisal 0:e6fcdb78a136 163 0x1, 0x72, 0x00,
mjarvisal 0:e6fcdb78a136 164 0x1, 0x73, 0x0B,
mjarvisal 0:e6fcdb78a136 165 0x1, 0x74, 0x00,
mjarvisal 0:e6fcdb78a136 166 0x1, 0x75, 0x0B,
mjarvisal 0:e6fcdb78a136 167 0x1, 0x76, 0x00,
mjarvisal 0:e6fcdb78a136 168 0x1, 0x77, 0xA1,
mjarvisal 0:e6fcdb78a136 169 0x1, 0x78, 0x00,
mjarvisal 0:e6fcdb78a136 170 0x1, 0x79, 0xA0,
mjarvisal 0:e6fcdb78a136 171 0x1, 0x7A, 0x00,
mjarvisal 0:e6fcdb78a136 172 0x1, 0x7B, 0x04,
mjarvisal 0:e6fcdb78a136 173 0x1, 0xFF, 0x04,
mjarvisal 0:e6fcdb78a136 174 0x1, 0x79, 0x1D,
mjarvisal 0:e6fcdb78a136 175 0x1, 0x7B, 0x27,
mjarvisal 0:e6fcdb78a136 176 0x1, 0x96, 0x0E,
mjarvisal 0:e6fcdb78a136 177 0x1, 0x97, 0xFE,
mjarvisal 0:e6fcdb78a136 178 0x1, 0x98, 0x03,
mjarvisal 0:e6fcdb78a136 179 0x1, 0x99, 0xEF,
mjarvisal 0:e6fcdb78a136 180 0x1, 0x9A, 0x02,
mjarvisal 0:e6fcdb78a136 181 0x1, 0x9B, 0x44,
mjarvisal 0:e6fcdb78a136 182 0x1, 0x73, 0x07,
mjarvisal 0:e6fcdb78a136 183 0x1, 0x70, 0x01,
mjarvisal 0:e6fcdb78a136 184 0x1, 0xff, 0x01,
mjarvisal 0:e6fcdb78a136 185 0x1, 0x00, 0x01,
mjarvisal 0:e6fcdb78a136 186 0x1, 0xff, 0x00,
mjarvisal 0:e6fcdb78a136 187 0x00, 0x00, 0x00
mjarvisal 0:e6fcdb78a136 188 };
mjarvisal 0:e6fcdb78a136 189
mjarvisal 0:e6fcdb78a136 190 #ifdef __cplusplus
mjarvisal 0:e6fcdb78a136 191 }
mjarvisal 0:e6fcdb78a136 192 #endif
mjarvisal 0:e6fcdb78a136 193
mjarvisal 0:e6fcdb78a136 194 #endif /* _VL53L0X_INTERRUPT_THRESHOLD_SETTINGS_H_ */