51#define HAL_RTC_LIMIT_SECONDS 60
52#define HAL_RTC_LIMIT_MINUTES 60
53#define HAL_RTC_LIMIT_HOURS 24
55#include "hal_ll_rtc.h"
err_t hal_rtc_reset()
Reset the RTC module.
hal_rtc_err_t
Definition hal_rtc.h:61
@ HAL_RTC_ERROR
Definition hal_rtc.h:65
@ HAL_RTC_SUCCESS
Definition hal_rtc.h:62
@ HAL_RTC_TIME_FORMAT_ERROR
Definition hal_rtc.h:63
err_t hal_rtc_stop()
Stop the RTC module.
void hal_rtc_init()
Initialize the RTC module.
void hal_rtc_system_reset()
Preforms system reset.
err_t hal_rtc_set_time(hal_rtc_time_t *time)
Configure time of RTC module.
err_t hal_rtc_get_time(hal_rtc_time_t *time)
Get time and date.
err_t hal_rtc_start()
Start the RTC module.
int32_t err_t
Definition hal_target.h:64
Structure representing the RTC time.
Definition hal_rtc.h:87