Searched refs:RV3029C2_W_DAYS (Results 1 – 1 of 1) sorted by relevance
45 #define RV3029C2_W_DAYS 0x0C macro180 tm->tm_wday = bcd2bin(regs[RV3029C2_W_DAYS-RV3029C2_W_SEC]) - 1; in rv3029c2_i2c_read_time()347 regs[RV3029C2_W_DAYS-RV3029C2_W_SEC] = bin2bcd((tm->tm_wday & 7)+1); in rv3029c2_i2c_set_time()