HALFRED
0.4.0
|
OS calendar time API. More...
OS calendar time API.
HAL OS calendar time API.
Go to the source code of this file.
Functions | |
OSCalTime | OSCALTIME_Get (void) |
HALRESULT | OSCALTIME_Set (OSCalTime time) |
HALRESULT | OSCALTIME_Adjust (OSCalTime timeadj) |
HALRESULT | OSCALTIME_ToDateTime (OSCalTime time, uint16_t *year, uint8_t *month, uint8_t *day, uint8_t *hours, uint8_t *minutes, uint8_t *seconds, uint32_t *nanoseconds) |
HALRESULT | OSCALTIME_FromDateTime (uint16_t year, uint8_t month, uint8_t day, uint8_t hours, uint8_t minutes, uint8_t seconds, uint32_t nanoseconds, OSCalTime *time) |
int64_t | OSCALTIME_ToNS (OSCalTime time) |
OSCalTime | OSCALTIME_FromNS (int64_t ns) |
HALRESULT | OSCALTIME_ToString (OSCalTime time, char *str) |