/* Get the current calendar value. 
Retrieves the current time of the calendar. */
void rtc_calendar_get_time(struct rtc_module *const module, struct rtc_calendar_time *const time)
/* Get the current calendar value. 
Retrieves the current time of the calendar. */
void rtc_calendar_get_time(struct rtc_module *const module, struct rtc_calendar_time *const time)
{
	Assert(module);
	Assert(module->hw);
	Rtc *const rtc_module = module->hw;
	while (rtc_calendar_is_syncing(module)) {
	}
	uint32_t register_value = rtc_module->MODE2.CLOCK.reg;
	rtc_calendar_register_value_to_time(module, register_value, time);
}