Revision f0dd1ac4 drivers/VL53L1X/v1/api/platform/vl53l1_platform_user_defines.h

View differences:

drivers/VL53L1X/v1/api/platform/vl53l1_platform_user_defines.h
58 58
*
59 59
********************************************************************************
60 60
*
61
* Modified for use within AMiRo-LLD.
62
*
63
* AMiRo-LLD is a compilation of low-level hardware drivers for the Autonomous
64
* Mini Robot (AMiRo) platform.
65
* Copyright (C) 2016..2020  Thomas Schöpping et al.
66
*
67
********************************************************************************
68
*
61 69
*/
62 70

  
63 71

  
64 72
#ifndef _VL53L1_PLATFORM_USER_DEFINES_H_
65 73
#define _VL53L1_PLATFORM_USER_DEFINES_H_
66 74

  
75
#include <amiro-lld.h>
76

  
67 77
#ifdef __cplusplus
68 78
extern "C"
69 79
{
......
75 85
 * @brief  All end user OS/platform/application definitions
76 86
 */
77 87

  
88
/**
89
 * @brief   Flag to set I2C signal level to 2.8V instead of 1.8V.
90
 */
91
#if (defined(VL53L1X_LLD_I2C_2V8) && (VL53L1X_LLD_I2C_2V8 == true)) || defined(__DOXYGEN__)
92
# define USE_I2C_2V8
93
#endif
78 94

  
79 95
/**
80 96
 * @def do_division_u
......
125 141
}
126 142
#endif
127 143

  
128
#endif // _VL53L1_PLATFORM_USER_DEFINES_H_
144
#endif /* _VL53L1_PLATFORM_USER_DEFINES_H_ */

Also available in: Unified diff