Searched refs:cent_day (Results 1 – 1 of 1) sorted by relevance
/external/u-boot/drivers/rtc/ |
D | m48t35ax.c | 28 uchar sec, min, hour, cent_day, date, month, year; in rtc_get() local 39 cent_day= rtc_read (0x4); in rtc_get() 51 year, month, date, cent_day, in rtc_get() 59 tmp->tm_year = bcd2bin (year) + ((cent_day & 0x10) ? 2000 : 1900); in rtc_get() 60 tmp->tm_wday = bcd2bin (cent_day & 0x07); in rtc_get()
|