Searched refs:rtc_status_reg (Results 1 – 1 of 1) sorted by relevance
213 uint32_t rtc_time_reg, rtc_calendar_reg, rtc_status_reg; in rtc_smartbond_set_time() local240 rtc_status_reg = RTC->RTC_STATUS_REG; in rtc_smartbond_set_time()241 if (!(rtc_status_reg & RTC_RTC_STATUS_REG_RTC_VALID_CAL_Msk) || in rtc_smartbond_set_time()242 !(rtc_status_reg & RTC_RTC_STATUS_REG_RTC_VALID_TIME_Msk)) { in rtc_smartbond_set_time()411 uint32_t rtc_status_reg; in rtc_smartbond_alarm_set_time() local453 rtc_status_reg = RTC->RTC_STATUS_REG; in rtc_smartbond_alarm_set_time()454 if (!(rtc_status_reg & RTC_RTC_STATUS_REG_RTC_VALID_CAL_ALM_Msk) || in rtc_smartbond_alarm_set_time()455 !(rtc_status_reg & RTC_RTC_STATUS_REG_RTC_VALID_TIME_ALM_Msk)) { in rtc_smartbond_alarm_set_time()