Searched refs:rtc_calendar_alarm_reg (Results 1 – 1 of 1) sorted by relevance
295 uint32_t rtc_calendar_alarm_reg = 0x0108; in alarm_calendar_to_bcd() local298 RTC_CALENDAR_ALARM_REG_SET_FIELD(D, rtc_calendar_alarm_reg, in alarm_calendar_to_bcd()303 RTC_CALENDAR_ALARM_REG_SET_FIELD(M, rtc_calendar_alarm_reg, in alarm_calendar_to_bcd()307 return rtc_calendar_alarm_reg; in alarm_calendar_to_bcd()338 uint32_t rtc_calendar_alarm_reg = RTC->RTC_CALENDAR_ALARM_REG; in bcd_to_alarm_calendar() local340 timeptr->tm_mday = bcd2bin(RTC_CALENDAR_ALARM_REG_GET_FIELD(D, rtc_calendar_alarm_reg)); in bcd_to_alarm_calendar()341 timeptr->tm_mon = bcd2bin(RTC_CALENDAR_ALARM_REG_GET_FIELD(M, rtc_calendar_alarm_reg)) - 1; in bcd_to_alarm_calendar()409 uint32_t rtc_calendar_alarm_reg; in rtc_smartbond_alarm_set_time() local448 rtc_calendar_alarm_reg = RTC->RTC_CALENDAR_ALARM_REG; in rtc_smartbond_alarm_set_time()457 RTC->RTC_CALENDAR_ALARM_REG = rtc_calendar_alarm_reg; in rtc_smartbond_alarm_set_time()