Searched refs:RV3029_W_DAYS (Results 1 – 1 of 1) sorted by relevance
62 #define RV3029_W_DAYS 0x0C macro112 tm->tm_wday = bcd2bin(regs[RV3029_W_DAYS - RV3029_W_SEC]) - 1; in rv3029_rtc_get()144 regs[RV3029_W_DAYS - RV3029_W_SEC] = bin2bcd(tm->tm_wday + 1) & 0x7; in rv3029_rtc_set()
Completed in 3 milliseconds