stm32_rtc_check_rif
ret = stm32_rtc_check_rif(rtc, STM32_RTC_RES_INIT);
ret = stm32_rtc_check_rif(rtc, STM32_RTC_RES_ALRA);