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