hour2bcd
*bp++ = hour2bcd(ds1305->hr12, time->tm_hour);
buf[1 + DS1305_HOUR] = hour2bcd(ds1305->hr12, alm->time.tm_hour);