Header file of RTC driver.
int32_t no_os_rtc_set_cnt(struct no_os_rtc_desc *dev, uint32_t tmr_cnt)
Set the current count for the real time clock.
Definition: maxim_rtc.c:154
Header file of IRQ interface.
Header file of RTC driver.
Structure holding RTC initialization parameters.
Definition: no_os_rtc.h:66
Definition: ad9361_util.h:69
void * no_os_calloc(size_t nitems, size_t size)
Allocate memory and return a pointer to it, set memory to 0.
Definition: chibios_alloc.c:54
Header file of RTC driver.
void * extra
Definition: no_os_rtc.h:59
uint32_t load
Definition: no_os_rtc.h:57
int32_t no_os_rtc_set_irq_time(struct no_os_rtc_desc *dev, uint32_t irq_time)
Set the current count for the real time clock.
Definition: maxim_rtc.c:187
int32_t no_os_rtc_get_cnt(struct no_os_rtc_desc *dev, uint32_t *tmr_cnt)
Get the current count for the real time clock.
Definition: maxim_rtc.c:141
Structure holding RTC descriptor.
Definition: no_os_rtc.h:51
int32_t no_os_rtc_init(struct no_os_rtc_desc **device, struct no_os_rtc_init_param *init_param)
Initialize the RTC peripheral.
Definition: maxim_rtc.c:61
Header file of RTC driver.
Header of the RTC interface.
int32_t no_os_rtc_stop(struct no_os_rtc_desc *dev)
Stop the real time clock.
Definition: maxim_rtc.c:127
void no_os_free(void *ptr)
Deallocate memory previously allocated by a call to no_os_calloc or no_os_malloc.
Definition: chibios_alloc.c:69
Header file of RTC driver.
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:113
Header file of RTC driver.
int32_t no_os_rtc_remove(struct no_os_rtc_desc *dev)
Free the resources allocated by no_os_rtc_init().
Definition: maxim_rtc.c:99
int32_t no_os_rtc_start(struct no_os_rtc_desc *dev)
Start the real time clock.
Definition: maxim_rtc.c:114
Header file of utility functions.
Header file of RTC driver.
Error macro definition for ARM Compiler.
uint8_t id
Definition: no_os_rtc.h:53
uint32_t freq
Definition: no_os_rtc.h:55