Creating a project about VL6180XA1 for TT_Mxx

Committer:
ThunderSoft
Date:
Fri Apr 26 09:34:53 2019 +0000
Revision:
3:7a97a01bad5e
Parent:
0:293917667c17
"update the mbed-os code to support TT_M4G9"

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ThunderSoft 0:293917667c17 1 /*******************************************************************************
ThunderSoft 0:293917667c17 2 Copyright © 2014, STMicroelectronics International N.V.
ThunderSoft 0:293917667c17 3 All rights reserved.
ThunderSoft 0:293917667c17 4
ThunderSoft 0:293917667c17 5 Redistribution and use in source and binary forms, with or without
ThunderSoft 0:293917667c17 6 modification, are permitted provided that the following conditions are met:
ThunderSoft 0:293917667c17 7 * Redistributions of source code must retain the above copyright
ThunderSoft 0:293917667c17 8 notice, this list of conditions and the following disclaimer.
ThunderSoft 0:293917667c17 9 * Redistributions in binary form must reproduce the above copyright
ThunderSoft 0:293917667c17 10 notice, this list of conditions and the following disclaimer in the
ThunderSoft 0:293917667c17 11 documentation and/or other materials provided with the distribution.
ThunderSoft 0:293917667c17 12 * Neither the name of STMicroelectronics nor the
ThunderSoft 0:293917667c17 13 names of its contributors may be used to endorse or promote products
ThunderSoft 0:293917667c17 14 derived from this software without specific prior written permission.
ThunderSoft 0:293917667c17 15
ThunderSoft 0:293917667c17 16 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ThunderSoft 0:293917667c17 17 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
ThunderSoft 0:293917667c17 18 WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
ThunderSoft 0:293917667c17 19 NON-INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS ARE DISCLAIMED.
ThunderSoft 0:293917667c17 20 IN NO EVENT SHALL STMICROELECTRONICS INTERNATIONAL N.V. BE LIABLE FOR ANY
ThunderSoft 0:293917667c17 21 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
ThunderSoft 0:293917667c17 22 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
ThunderSoft 0:293917667c17 23 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ThunderSoft 0:293917667c17 24 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
ThunderSoft 0:293917667c17 25 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
ThunderSoft 0:293917667c17 26 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
ThunderSoft 0:293917667c17 27 ********************************************************************************/
ThunderSoft 0:293917667c17 28
ThunderSoft 0:293917667c17 29 #ifndef VL6180x_TYPES_H_
ThunderSoft 0:293917667c17 30 #define VL6180x_TYPES_H_
ThunderSoft 0:293917667c17 31
ThunderSoft 0:293917667c17 32
ThunderSoft 0:293917667c17 33 #include <stdint.h>
ThunderSoft 0:293917667c17 34 #include <stddef.h> /* these is for NULL */
ThunderSoft 0:293917667c17 35 #include "common_define.h"
ThunderSoft 0:293917667c17 36
ThunderSoft 0:293917667c17 37
ThunderSoft 0:293917667c17 38 //#define TwoWire I2C
ThunderSoft 0:293917667c17 39
ThunderSoft 0:293917667c17 40 #ifndef NULL
ThunderSoft 0:293917667c17 41 #error "review NULL definition or add required include "
ThunderSoft 0:293917667c17 42 #endif
ThunderSoft 0:293917667c17 43
ThunderSoft 0:293917667c17 44 #endif /* VL6180x_TYPES_H_ */
ThunderSoft 0:293917667c17 45