uint32_t load
Definition: rtc.h:78
Structure holding RTC descriptor.
Definition: rtc.h:57
uint32_t freq
Definition: rtc.h:61
int32_t rtc_init(struct rtc_desc **device, struct rtc_init_param *init_param)
Initialize the RTC peripheral.
Definition: rtc.c:60
Definition: ad9361_util.h:75
void * extra
Definition: rtc.h:65
uint8_t id
Definition: rtc.h:74
uint32_t load
Definition: rtc.h:63
int32_t rtc_remove(struct rtc_desc *dev)
Free the resources allocated by rtc_init().
Definition: rtc.c:121
void * extra
Definition: rtc.h:80
int32_t rtc_set_cnt(struct rtc_desc *dev, uint32_t tmr_cnt)
Set the current count for the real time clock.
Definition: rtc.c:188
uint8_t id
Definition: rtc.h:59
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:96
int32_t rtc_get_cnt(struct rtc_desc *dev, uint32_t *tmr_cnt)
Get the current count for the real time clock.
Definition: rtc.c:175
Structure holding RTC initialization parameters.
Definition: rtc.h:72
uint32_t freq
Definition: rtc.h:76
int32_t rtc_start(struct rtc_desc *dev)
Start the real time clock.
Definition: rtc.c:142
int32_t rtc_stop(struct rtc_desc *dev)
Stop the real time clock.
Definition: rtc.c:158