no-OS
maxim_rtc.h
Go to the documentation of this file.
1 /***************************************************************************/
40 #ifndef MAXIM_RTC_H_
41 #define MAXIM_RTC_H_
42 
43 #include <stdint.h>
44 #include "no_os_rtc.h"
45 
46 #define MAX_RTC_MAX_VALUE (0xFFFFF)
47 
48 #endif
maxim_rtc.h
Header file of RTC driver.
no_os_rtc_set_cnt
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:159
no_os_irq.h
Header file of IRQ interface.
no_os_rtc_init_param
Structure holding RTC initialization parameters.
Definition: no_os_rtc.h:72
device
Definition: ad9361_util.h:75
maxim_rtc.h
Header file of RTC driver.
no_os_rtc_desc::extra
void * extra
Definition: no_os_rtc.h:65
no_os_rtc_desc::load
uint32_t load
Definition: no_os_rtc.h:63
no_os_rtc_set_irq_time
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:192
no_os_rtc_get_cnt
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:146
no_os_rtc_desc
Structure holding RTC descriptor.
Definition: no_os_rtc.h:57
no_os_rtc_init
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:66
maxim_rtc.h
Header file of RTC driver.
no_os_rtc.h
Header of the RTC interface.
no_os_rtc_stop
int32_t no_os_rtc_stop(struct no_os_rtc_desc *dev)
Stop the real time clock.
Definition: maxim_rtc.c:132
maxim_rtc.h
Header file of RTC driver.
init_param
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:96
maxim_rtc.h
Header file of RTC driver.
no_os_rtc_remove
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:104
no_os_rtc_start
int32_t no_os_rtc_start(struct no_os_rtc_desc *dev)
Start the real time clock.
Definition: maxim_rtc.c:119
no_os_util.h
Header file of utility functions.
errno.h
Error macro definition for ARM Compiler.
no_os_rtc_desc::id
uint8_t id
Definition: no_os_rtc.h:59
no_os_rtc_desc::freq
uint32_t freq
Definition: no_os_rtc.h:61