Alex exoskeleton
ALEX SoftwareDocumentation
|
Go to the source code of this file.
Functions | |
void | CO_time_init (CO_time_t *tm, CO_SDO_t *SDO, uint64_t *epochTimeBaseMs, uint32_t *epochTimeOffsetMs, uint16_t idx_OD_time) |
void | CO_time_process (CO_time_t *tm) |
void CO_time_init | ( | CO_time_t * | tm, |
CO_SDO_t * | SDO, | ||
uint64_t * | epochTimeBaseMs, | ||
uint32_t * | epochTimeOffsetMs, | ||
uint16_t | idx_OD_time | ||
) |
Initialize time object.
Function must be called in the communication reset section.
tm | This object will be initialized. |
SDO | SDO server object. |
epochTimeBaseMs | Pointer to milliseconds since Unix Epoch (1.1.1970, 00:00:00, UTC) - base. |
epochTimeOffsetMs | pointer to offset. Set to 0 at program startup and increments since then. |
idx_OD_time | Index in Object Dictionary. |