STM32 RTC Scheduler
RTC-based scheduler for ultra-low power applications
|
Go to the documentation of this file.
22 #include "stm32l4xx_hal.h"
28 RTC_DateTypeDef* date,
29 RTC_TimeTypeDef* time);
void RtcWaitForClockSynchronization(void)
This function waits until the RTC time and date registers are synchronized with RTC APB clock....
void RtcConvertEpochToDatetime(uint32_t epoch, RTC_DateTypeDef *date, RTC_TimeTypeDef *time)
Convert an epoch to human-readable date and time format.
uint8_t RtcSetAlarmFromEpoch(const uint32_t epoch)
Set an RTC alarm at a given time specified by an epoch.
void RtcDeactivateAlarm(void)
Deactivate a previously set RTC alarm.
uint32_t RtcGetEpoch(void)
Get the current epoch.
void RtcInit(void)
RTC initialization function.