Go to the documentation of this file.
40 #ifndef ADUCM3029_RTC_H_
41 #define ADUCM3029_RTC_H_
47 #include <drivers/rtc/adi_rtc.h>
void * memory
Definition: aducm3029_rtc.h:84
@ AUDCM_256HZ
Definition: aducm3029_rtc.h:65
Structure holding ADuCM3029 specific RTC descriptor.
Definition: aducm3029_rtc.h:80
@ AUDCM_2048HZ
Definition: aducm3029_rtc.h:62
@ AUDCM_32HZ
Definition: aducm3029_rtc.h:68
@ AUDCM_16384HZ
Definition: aducm3029_rtc.h:59
Header file of IRQ interface.
@ AUDCM_4HZ
Definition: aducm3029_rtc.h:71
Structure holding RTC initialization parameters.
Definition: no_os_rtc.h:72
Definition: ad9361_util.h:75
@ AUDCM_64HZ
Definition: aducm3029_rtc.h:67
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:60
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:177
@ AUDCM_512HZ
Definition: aducm3029_rtc.h:64
void * extra
Definition: no_os_rtc.h:65
aducm_rtc_freq_opt
RTC nominal frequency options for ADuCM3029.
Definition: aducm3029_rtc.h:57
uint32_t load
Definition: no_os_rtc.h:63
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:61
@ AUDCM_128HZ
Definition: aducm3029_rtc.h:66
@ AUDCM_32768HZ
Definition: aducm3029_rtc.h:58
int32_t no_os_rtc_stop(struct no_os_rtc_desc *dev)
Stop the real time clock.
Definition: aducm3029_rtc.c:160
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:190
Structure holding RTC descriptor.
Definition: no_os_rtc.h:57
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:123
Header of the RTC interface.
@ AUDCM_2HZ
Definition: aducm3029_rtc.h:72
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:75
@ AUDCM_4096HZ
Definition: aducm3029_rtc.h:61
@ AUDCM_1HZ
Definition: aducm3029_rtc.h:73
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:119
@ AUDCM_8HZ
Definition: aducm3029_rtc.h:70
int32_t no_os_rtc_start(struct no_os_rtc_desc *dev)
Start the real time clock.
Definition: aducm3029_rtc.c:144
@ AUDCM_8192HZ
Definition: aducm3029_rtc.h:60
void * instance
Definition: aducm3029_rtc.h:82
@ AUDCM_1024HZ
Definition: aducm3029_rtc.h:63
uint8_t id
Definition: no_os_rtc.h:59
uint32_t freq
Definition: no_os_rtc.h:61
@ AUDCM_16HZ
Definition: aducm3029_rtc.h:69