Searched refs:PCF8563_REG_MO (Results 1 – 1 of 1) sorted by relevance
39 #define PCF8563_REG_MO 0x07 macro235 tm->tm_mon = bcd2bin(buf[PCF8563_REG_MO] & 0x1F) - 1; /* rtc mn 1-12 */ in pcf8563_get_datetime()240 pcf8563->c_polarity = (buf[PCF8563_REG_MO] & PCF8563_MO_C) ? in pcf8563_get_datetime()271 buf[PCF8563_REG_MO] = bin2bcd(tm->tm_mon + 1); in pcf8563_set_datetime()276 buf[PCF8563_REG_MO] |= PCF8563_MO_C; in pcf8563_set_datetime()