amiro-os / modules / NUCLEO-L476RG / alldconf.h @ ded1ded7
History | View | Annotate | Download (1.379 KB)
1 |
/*
|
---|---|
2 |
AMiRo-OS is an operating system designed for the Autonomous Mini Robot (AMiRo) platform.
|
3 |
Copyright (C) 2016..2020 Thomas Schöpping et al.
|
4 |
|
5 |
This program is free software: you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License as published by
|
7 |
the Free Software Foundation, either version 3 of the License, or
|
8 |
(at your option) any later version.
|
9 |
|
10 |
This program is distributed in the hope that it will be useful,
|
11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
GNU General Public License for more details.
|
14 |
|
15 |
You should have received a copy of the GNU General Public License
|
16 |
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17 |
*/
|
18 |
|
19 |
/**
|
20 |
* @file
|
21 |
* @brief AMiRo-LLD configuration file for the NUCLEO-L476RG module.
|
22 |
* @details Contains the application specific AMiRo-LLD settings.
|
23 |
*
|
24 |
* @addtogroup NUCLEO-L476RG_config
|
25 |
* @{
|
26 |
*/
|
27 |
|
28 |
#ifndef ALLDCONF_H
|
29 |
#define ALLDCONF_H
|
30 |
|
31 |
/*
|
32 |
* common configuration
|
33 |
*/
|
34 |
#include <aos_alldconf.h> |
35 |
|
36 |
#if (BOARD_VL53L1X_CONNECTED == true) || defined(__DOXYGEN__) |
37 |
|
38 |
/**
|
39 |
* @brief VL53L1X I2C voltage level configuration.
|
40 |
* @details VL53L1X assumes 1.8V I2C communication by default.
|
41 |
* This flag triggers the API to set the device to 2.8V mode.
|
42 |
*/
|
43 |
#define VL53L1X_LLD_I2C_2V8 true |
44 |
|
45 |
#endif
|
46 |
|
47 |
#endif /* ALLDCONF_H */ |
48 |
|
49 |
/** @} */
|