Rename library
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
Dependents: VL53L3CX_NoShield_1Sensor_poll_Mb06x VL53L3_NoShield_1Sensor_polling_Mb63 X_NUCLEO_53L3A2 53L3A2_Ranging
Diff: porting/vl53lx_types.h
- Revision:
- 5:89031b2f5316
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/porting/vl53lx_types.h Wed Jul 14 12:45:49 2021 +0100 @@ -0,0 +1,67 @@ + +/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ +/****************************************************************************** + * Copyright (c) 2020, STMicroelectronics - All Rights Reserved + + This file is part of VL53LX and is dual licensed, + either GPL-2.0+ + or 'BSD 3-clause "New" or "Revised" License' , at your option. + ****************************************************************************** + */ + + + +#ifndef _VL53LX_TYPES_H_ +#define _VL53LX_TYPES_H_ + + +#include <stdint.h> +#include <stddef.h> +#include <string.h> +#include <stdio.h> +#include <stdlib.h> + +#ifndef NULL +#error "Error NULL definition should be done. Please add required include " +#endif + + +#if !defined(STDINT_H) && !defined(_STDINT_H) && !defined(_GCC_STDINT_H) && !defined(__STDINT_DECLS) && !defined(_GCC_WRAP_STDINT_H) && !defined(_STDINT) + + #pragma message("Please review type definition of STDINT define for your platform and add to list above ") + + + + + + +typedef unsigned long long uint64_t; + + + +typedef unsigned int uint32_t; + + +typedef int int32_t; + + +typedef unsigned short uint16_t; + + +typedef short int16_t; + + +typedef unsigned char uint8_t; + + +typedef signed char int8_t; + + +#endif + + + +typedef uint32_t FixPoint1616_t; + +#endif +