Revision 9ff01927
| amiroos.h | ||
|---|---|---|
| 57 | 57 |
/* subsystems headers */ |
| 58 | 58 |
#include <aosconf.h> |
| 59 | 59 |
#include <hal.h> |
| 60 |
#if defined(HAL_USE_QEI) && (HAL_USE_QEI == TRUE) |
|
| 61 |
#include <hal_qei.h> |
|
| 62 |
#endif |
|
| 63 | 60 |
#include <ch.h> |
| 64 | 61 |
|
| 65 | 62 |
/* configuration check */ |
| core/inc/aos_system.h | ||
|---|---|---|
| 208 | 208 |
* |
| 209 | 209 |
* @param[out] ut Pointer to the system uptime. |
| 210 | 210 |
*/ |
| 211 |
#define aosSysGetUptime(ut) { \
|
|
| 212 |
chSysLock(); \ |
|
| 213 |
aosSysGetUptimeX(ut); \ |
|
| 214 |
chSysUnlock(); \ |
|
| 211 |
static inline void aosSysGetUptime(aos_timestamp_t* ut) |
|
| 212 |
{
|
|
| 213 |
chSysLock(); |
|
| 214 |
aosSysGetUptimeX(ut); |
|
| 215 |
chSysUnlock(); |
|
| 215 | 216 |
} |
| 216 | 217 |
|
| 217 | 218 |
#endif /* _AMIROOS_SYSTEM_H_ */ |
| modules/DiWheelDrive_1-1/alldconf.h | ||
|---|---|---|
| 17 | 17 |
*/ |
| 18 | 18 |
|
| 19 | 19 |
/** |
| 20 |
* @file
|
|
| 21 |
* @brief AMiRo-LLD Configuration file for the DiWheelDrive v1.1 module.
|
|
| 20 |
* @file |
|
| 21 |
* @brief AMiRo-LLD configuration file for the DiWheelDrive v1.1 module.
|
|
| 22 | 22 |
* @details Contains the application specific AMiRo-LLD settings. |
| 23 | 23 |
* |
| 24 | 24 |
* @addtogroup diwheeldrive_lld_config |
| ... | ... | |
| 39 | 39 |
* @brief Width of the apalTime_t data type. |
| 40 | 40 |
* |
| 41 | 41 |
* @details Possible values are 8, 16, 32, and 64 bits. |
| 42 |
* By definition time is represented ot a microsecond precision.
|
|
| 42 |
* By definition time is represented at microsecond precision.
|
|
| 43 | 43 |
*/ |
| 44 | 44 |
#define AMIROLLD_CFG_TIME_SIZE 32 |
| 45 | 45 |
|
| modules/LightRing_1-0/alldconf.h | ||
|---|---|---|
| 18 | 18 |
|
| 19 | 19 |
/** |
| 20 | 20 |
* @file |
| 21 |
* @brief AMiRo-LLD Configuration file for the LightRing v1.0 module.
|
|
| 21 |
* @brief AMiRo-LLD configuration file for the LightRing v1.0 module.
|
|
| 22 | 22 |
* @details Contains the application specific AMiRo-LLD settings. |
| 23 | 23 |
* |
| 24 | 24 |
* @addtogroup lightring_lld_config |
| ... | ... | |
| 39 | 39 |
* @brief Width of the apalTime_t data type. |
| 40 | 40 |
* |
| 41 | 41 |
* @details Possible values are 8, 16, 32, and 64 bits. |
| 42 |
* By definition time is represented ot a microsecond precision.
|
|
| 42 |
* By definition time is represented at microsecond precision.
|
|
| 43 | 43 |
*/ |
| 44 | 44 |
#define AMIROLLD_CFG_TIME_SIZE 32 |
| 45 | 45 |
|
| modules/PowerManagement_1-1/alldconf.h | ||
|---|---|---|
| 17 | 17 |
*/ |
| 18 | 18 |
|
| 19 | 19 |
/** |
| 20 |
* @file
|
|
| 21 |
* @brief AMiRo-LLD Configuration file for the PowerManagement v1.1 module.
|
|
| 20 |
* @file |
|
| 21 |
* @brief AMiRo-LLD configuration file for the PowerManagement v1.1 module.
|
|
| 22 | 22 |
* @details Contains the application specific AMiRo-LLD settings. |
| 23 | 23 |
* |
| 24 | 24 |
* @addtogroup powermanagement_lld_config |
| ... | ... | |
| 39 | 39 |
* @brief Width of the apalTime_t data type. |
| 40 | 40 |
* |
| 41 | 41 |
* @details Possible values are 8, 16, 32, and 64 bits. |
| 42 |
* By definition time is represented ot a microsecond precision.
|
|
| 42 |
* By definition time is represented at microsecond precision.
|
|
| 43 | 43 |
*/ |
| 44 | 44 |
#define AMIROLLD_CFG_TIME_SIZE 32 |
| 45 | 45 |
|
| periphery-lld/AMiRo-LLD | ||
|---|---|---|
| 1 |
Subproject commit 1d4fc1800fbb28e3dab9507b88c5b21492ba7f20 |
|
| 1 |
Subproject commit 3fb3c6e72e644a1a71ea6b5fd525b6907cbb90a4 |
|
Also available in: Unified diff