Searched refs:cent (Results 1 – 2 of 2) sorted by relevance
177 int cent; in rtc_mc146818_set_time() local197 cent = (1900 + timeptr->tm_year) / 100; in rtc_mc146818_set_time()206 rtc_write(RTC_CENTURY, cent); in rtc_mc146818_set_time()220 uint8_t cent; in rtc_mc146818_get_time() local241 cent = rtc_read(RTC_CENTURY); in rtc_mc146818_get_time()250 timeptr->tm_year = 100 * (int)cent + year - 1900; in rtc_mc146818_get_time()
32 .. figure:: images/hw-cent-control.svg