Searched refs:timr0 (Results 1 – 1 of 1) sorted by relevance
145 uint32_t timr0; in rtc_sam_get_time() local157 timr0 = regs->RTC_TIMR; in rtc_sam_get_time()162 if ((timr0 == timr1) && (calr0 == calr1)) { in rtc_sam_get_time()167 timeptr->tm_sec = bcd2bin(RTC_SAM_REG_GET_FIELD(timr0, TIMR_SEC)); in rtc_sam_get_time()168 timeptr->tm_min = bcd2bin(RTC_SAM_REG_GET_FIELD(timr0, TIMR_MIN)); in rtc_sam_get_time()169 timeptr->tm_hour = bcd2bin(RTC_SAM_REG_GET_FIELD(timr0, TIMR_HOUR)); in rtc_sam_get_time()