mikroSDK Reference Manual
drv_rtc.h File Reference

Go to the source code of this file.

Data Structures

struct  rtc_time_t
 Structure representing the RTC time. More...
 

Enumerations

enum  rtc_err_t
 

Functions

void rtc_init ()
 Initialize the RTC module. More...
 
err_t rtc_start ()
 Start the RTC module. More...
 
err_t rtc_stop ()
 Stop the RTC module. More...
 
err_t rtc_reset ()
 Reset the RTC module. More...
 
err_t rtc_set_time (rtc_time_t *time)
 Configure time of RTC module. More...
 
err_t rtc_get_time (rtc_time_t *time)
 Get time from RTC module. More...
 
void rtc_system_reset ()
 Preforms system reset. More...
 

Enumeration Type Documentation

◆ rtc_err_t

enum rtc_err_t

Return values.

Enumerator
RTC_SUCCESS 

Success.

RTC_ERROR 

Error.