Hardware Abstraction Layer for FreeRTOS
|
Data Structures | |
struct | rtc_generic |
struct | timespec |
Typedefs | |
typedef int64_t | time_t |
Functions | |
struct rtc * | rtc_init (uint32_t index) |
int32_t | rtc_deinit (struct rtc *rtc) |
int32_t | rtc_adjust (struct rtc *rtc, struct timespec *offset, TickType_t waittime) |
int32_t | rtc_getTime (struct rtc *rtc, struct timespec *time, TickType_t waittime) |
int32_t | rtc_setTime (struct rtc *rtc, struct timespec *time, TickType_t waittime) |
int32_t | rtc_adjustISR (struct rtc *rtc, struct timespec *offset) |
int32_t | rtc_getTimeISR (struct rtc *rtc, struct timespec *time) |
int32_t | rtc_setTimeISR (struct rtc *rtc, struct timespec *time) |
typedef int64_t time_t |
int32_t rtc_adjust | ( | struct rtc * | rtc, |
struct timespec * | offset, | ||
TickType_t | waittime | ||
) |
int32_t rtc_adjustISR | ( | struct rtc * | rtc, |
struct timespec * | offset | ||
) |
int32_t rtc_deinit | ( | struct rtc * | rtc | ) |
Deinit Driver Instants
rtc | Instant |
int32_t rtc_getTime | ( | struct rtc * | rtc, |
struct timespec * | time, | ||
TickType_t | waittime | ||
) |
int32_t rtc_getTimeISR | ( | struct rtc * | rtc, |
struct timespec * | time | ||
) |
struct rtc* rtc_init | ( | uint32_t | index | ) |
Init Function
index | in rtcs Array |
int32_t rtc_setTime | ( | struct rtc * | rtc, |
struct timespec * | time, | ||
TickType_t | waittime | ||
) |
int32_t rtc_setTimeISR | ( | struct rtc * | rtc, |
struct timespec * | time | ||
) |