/* Waits infinitely for initialization flag to be set in RTC_ISR. 
Requires unlocking backup domain write protection (PWR_CR_DBP)  */
void rtc_wait_for_init_ready(void)
/* Waits infinitely for initialization flag to be set in RTC_ISR. 
Requires unlocking backup domain write protection (PWR_CR_DBP)  */
void rtc_wait_for_init_ready(void)
{
	while (!rtc_init_flag_is_ready());
}