AC100_ALM_DAY_MASK
alrm_tm->tm_mday = bcd2bin(reg[4] & AC100_ALM_DAY_MASK);
reg[4] = (bin2bcd(alrm_tm->tm_mday) & AC100_ALM_DAY_MASK) |