Revision 6b53f6bf modules/DiWheelDrive_1-1/aosconf.h
modules/DiWheelDrive_1-1/aosconf.h | ||
---|---|---|
28 | 28 |
|
29 | 29 |
#include <stdbool.h> |
30 | 30 |
|
31 |
/*===========================================================================*/ |
|
32 |
/** |
|
33 |
* @name Kernel parameters and options |
|
34 |
* @{ |
|
35 |
*/ |
|
36 |
/*===========================================================================*/ |
|
37 |
|
|
38 | 31 |
/* |
39 | 32 |
* Include an external configuration file to override the following default settings only if required. |
40 | 33 |
*/ |
... | ... | |
42 | 35 |
#include <osconf.h> |
43 | 36 |
#endif |
44 | 37 |
|
38 |
/*===========================================================================*/ |
|
45 | 39 |
/** |
46 |
* @brief Flag to set the module as SSSP master. |
|
47 |
*/ |
|
48 |
#if !defined(OS_CFG_SSSP_MASTER) |
|
49 |
#define AMIROOS_CFG_SSSP_MASTER false |
|
50 |
#else |
|
51 |
#define AMIROOS_CFG_SSSP_MASTER OS_CFG_SSSP_MASTER |
|
52 |
#endif |
|
53 |
|
|
54 |
/** |
|
55 |
* @brief Time boundary for robot wide clock synchronization in microseconds. |
|
56 |
* @details Whenever the SSSP S (snychronization) signal gets logically deactivated, |
|
57 |
* All modules need to align their local uptime to the nearest multiple of this value. |
|
40 |
* @name Kernel parameters and options |
|
41 |
* @{ |
|
58 | 42 |
*/ |
59 |
#if !defined(OS_CFG_SSSP_SYSSYNCPERIOD) |
|
60 |
#define AMIROOS_CFG_SSSP_SYSSYNCPERIOD 1000000 |
|
61 |
#else |
|
62 |
#define AMIROOS_CFG_SSSP_SYSSYNCPERIOD OS_CFG_SSSP_SYSSYNCPERIOD |
|
63 |
#endif |
|
43 |
/*===========================================================================*/ |
|
64 | 44 |
|
65 | 45 |
/** |
66 | 46 |
* @brief Flag to enable/disable debug API. |
... | ... | |
103 | 83 |
|
104 | 84 |
/*===========================================================================*/ |
105 | 85 |
/** |
86 |
* @name SSSP (Startup Shutdown Synchronization Protocol) configuration. |
|
87 |
* @{ |
|
88 |
*/ |
|
89 |
/*===========================================================================*/ |
|
90 |
|
|
91 |
/** |
|
92 |
* @brief Flag to set the module as SSSP master. |
|
93 |
* @details There must be only one module with this flag set to true in a system. |
|
94 |
*/ |
|
95 |
#if !defined(OS_CFG_SSSP_MASTER) |
|
96 |
#define AMIROOS_CFG_SSSP_MASTER false |
|
97 |
#else |
|
98 |
#define AMIROOS_CFG_SSSP_MASTER OS_CFG_SSSP_MASTER |
|
99 |
#endif |
|
100 |
|
|
101 |
/** |
|
102 |
* @brief Time boundary for robot wide clock synchronization in microseconds. |
|
103 |
* @details Whenever the SSSP S (snychronization) signal gets logically deactivated, |
|
104 |
* All modules need to align their local uptime to the nearest multiple of this value. |
|
105 |
*/ |
|
106 |
#if !defined(OS_CFG_SSSP_SYSSYNCPERIOD) |
|
107 |
#define AMIROOS_CFG_SSSP_SYSSYNCPERIOD 1000000 |
|
108 |
#else |
|
109 |
#define AMIROOS_CFG_SSSP_SYSSYNCPERIOD OS_CFG_SSSP_SYSSYNCPERIOD |
|
110 |
#endif |
|
111 |
|
|
112 |
/** @} */ |
|
113 |
|
|
114 |
/*===========================================================================*/ |
|
115 |
/** |
|
106 | 116 |
* @name System shell options |
107 | 117 |
* @{ |
108 | 118 |
*/ |
Also available in: Unified diff