amiro-os / modules / LightRing_1-2 / alldconf.h @ adcbcf83
History | View | Annotate | Download (2.226 KB)
1 | 9ae7c4f3 | Thomas Schöpping | /*
|
---|---|---|---|
2 | AMiRo-OS is an operating system designed for the Autonomous Mini Robot (AMiRo) platform.
|
||
3 | Copyright (C) 2016..2019 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 | 034cb15a | Thomas Schöpping | * @brief AMiRo-LLD configuration file for the LightRing v1.2 module.
|
22 | 9ae7c4f3 | Thomas Schöpping | * @details Contains the application specific AMiRo-LLD settings.
|
23 | *
|
||
24 | * @addtogroup lightring_lld_config
|
||
25 | * @{
|
||
26 | */
|
||
27 | |||
28 | #ifndef ALLDCONF_H
|
||
29 | #define ALLDCONF_H
|
||
30 | |||
31 | /*
|
||
32 | * compatibility guards
|
||
33 | */
|
||
34 | #define _AMIRO_LLD_CFG_
|
||
35 | #define AMIRO_LLD_CFG_VERSION_MAJOR 1 |
||
36 | 3106e8cc | Thomas Schöpping | #define AMIRO_LLD_CFG_VERSION_MINOR 1 |
37 | 9ae7c4f3 | Thomas Schöpping | |
38 | /**
|
||
39 | * @brief Width of the apalTime_t data type.
|
||
40 | *
|
||
41 | * @details Possible values are 8, 16, 32, and 64 bits.
|
||
42 | * By definition time is represented at microsecond precision.
|
||
43 | */
|
||
44 | #define AMIROLLD_CFG_TIME_SIZE 32 |
||
45 | |||
46 | /**
|
||
47 | * @brief Enable flag for the AT24C01BN-SH-B EEPROM.
|
||
48 | */
|
||
49 | #define AMIROLLD_CFG_AT24C01B 1 |
||
50 | |||
51 | /**
|
||
52 | ee884101 | Thomas Schöpping | * @brief Enable flag for the INA219 power monitor.
|
53 | */
|
||
54 | #define AMIROLLD_CFG_INA219 1 |
||
55 | |||
56 | /**
|
||
57 | 8cbe3240 | Julia Niermann | * @brief Enable flag for the P9221R power monitor.
|
58 | */
|
||
59 | #define AMIROLLD_CFG_P9221R 1 |
||
60 | |||
61 | /**
|
||
62 | 9ae7c4f3 | Thomas Schöpping | * @brief Enable flag for the status LED.
|
63 | */
|
||
64 | #define AMIROLLD_CFG_LED 1 |
||
65 | |||
66 | /**
|
||
67 | ee884101 | Thomas Schöpping | * @brief Enable flag for the MIC94042 high-side load switches.
|
68 | 9ae7c4f3 | Thomas Schöpping | */
|
69 | ee884101 | Thomas Schöpping | #define AMIROLLD_CFG_MIC9404x 1 |
70 | 9ae7c4f3 | Thomas Schöpping | |
71 | /**
|
||
72 | * @brief Enable flag for the SN75C3221E RS232 Transceiver.
|
||
73 | */
|
||
74 | #define AMIROLLD_CFG_SNx5C3221E 1 |
||
75 | |||
76 | /**
|
||
77 | ee884101 | Thomas Schöpping | * @brief Enable flag for the TLC5947 LED driver.
|
78 | 9ae7c4f3 | Thomas Schöpping | */
|
79 | ee884101 | Thomas Schöpping | #define AMIROLLD_CFG_TLC5947 1 |
80 | #define TLC5947_LLD_CHAINED 3 |
||
81 | 9ae7c4f3 | Thomas Schöpping | |
82 | #endif /* ALLDCONF_H */ |
||
83 | |||
84 | /** @} */ |