Searched refs:RTC_YEARS_ADDR (Results 1 – 1 of 1) sorted by relevance
45 #define RTC_YEARS_ADDR 0x6 macro91 + bcd2bin(data[RTC_YEARS_ADDR]) in rtc_get()106 tmp->tm_year =((int)cent*100)+bcd2bin(data[RTC_YEARS_ADDR]); in rtc_get()137 data[RTC_YEARS_ADDR] = bin2bcd(tmp->tm_year%100);/*same thing either way*/ in rtc_set()
Completed in 3 milliseconds