Searched refs:timr (Results 1 – 1 of 1) sorted by relevance
98 uint32_t timr; in rtc_sam_timr_from_tm() local100 timr = RTC_TIMR_SEC(bin2bcd(timeptr->tm_sec)); in rtc_sam_timr_from_tm()101 timr |= RTC_TIMR_MIN(bin2bcd(timeptr->tm_min)); in rtc_sam_timr_from_tm()102 timr |= RTC_TIMR_HOUR(bin2bcd(timeptr->tm_hour)); in rtc_sam_timr_from_tm()104 return timr; in rtc_sam_timr_from_tm()