Go to the documentation of this file.
34 #ifndef ADUCM3029_RTC_H_
35 #define ADUCM3029_RTC_H_
41 #include <drivers/rtc/adi_rtc.h>
void * memory
Definition: aducm3029_rtc.h:78
@ AUDCM_256HZ
Definition: aducm3029_rtc.h:59
Structure holding ADuCM3029 specific RTC descriptor.
Definition: aducm3029_rtc.h:74
@ AUDCM_2048HZ
Definition: aducm3029_rtc.h:56
@ AUDCM_32HZ
Definition: aducm3029_rtc.h:62
@ AUDCM_16384HZ
Definition: aducm3029_rtc.h:53
Header file of IRQ interface.
@ AUDCM_4HZ
Definition: aducm3029_rtc.h:65
Structure holding RTC initialization parameters.
Definition: no_os_rtc.h:66
Definition: ad9361_util.h:69
@ AUDCM_64HZ
Definition: aducm3029_rtc.h:61
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
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: aducm3029_rtc.c:171
@ AUDCM_512HZ
Definition: aducm3029_rtc.h:58
void * extra
Definition: no_os_rtc.h:59
aducm_rtc_freq_opt
RTC nominal frequency options for ADuCM3029.
Definition: aducm3029_rtc.h:51
uint32_t load
Definition: no_os_rtc.h:57
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: aducm3029_rtc.c:55
@ AUDCM_128HZ
Definition: aducm3029_rtc.h:60
@ AUDCM_32768HZ
Definition: aducm3029_rtc.h:52
int32_t no_os_rtc_stop(struct no_os_rtc_desc *dev)
Stop the real time clock.
Definition: aducm3029_rtc.c:154
Header file of RTC driver for ADuCM302x.
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: aducm3029_rtc.c:184
Structure holding RTC descriptor.
Definition: no_os_rtc.h:51
int32_t no_os_rtc_remove(struct no_os_rtc_desc *dev)
Free the resources allocated by no_os_rtc_init().
Definition: aducm3029_rtc.c:117
Header of the RTC interface.
@ AUDCM_2HZ
Definition: aducm3029_rtc.h:66
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
@ AUDCM_4096HZ
Definition: aducm3029_rtc.h:55
@ AUDCM_1HZ
Definition: aducm3029_rtc.h:67
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:113
@ AUDCM_8HZ
Definition: aducm3029_rtc.h:64
int32_t no_os_rtc_start(struct no_os_rtc_desc *dev)
Start the real time clock.
Definition: aducm3029_rtc.c:138
@ AUDCM_8192HZ
Definition: aducm3029_rtc.h:54
void * instance
Definition: aducm3029_rtc.h:76
@ AUDCM_1024HZ
Definition: aducm3029_rtc.h:57
uint8_t id
Definition: no_os_rtc.h:53
uint32_t freq
Definition: no_os_rtc.h:55
@ AUDCM_16HZ
Definition: aducm3029_rtc.h:63