RTC_SEC
.rtc_data_start = RTC_SEC,
.rtc_data_start = RTC_SEC,
tm->tm_sec = data[RTC_SEC] & config->rtc_count_sec_mask;
data[RTC_SEC] = tm->tm_sec & config->rtc_count_sec_mask;
if (!(data[RTC_SEC] & config->rtc_ready_to_read_mask)) {
data[RTC_SEC] = 0;
data[RTC_SEC] = 0;
if (config->rtc_data_start != RTC_SEC) {
tm->tm_sec = data[RTC_SEC] & mask;
data[RTC_SEC] = tm->tm_sec;
data[RTC_SEC] |= (1 << ALARM_ENABLE_SHIFT);
tm->tm_sec = bcd2bin(regs[RTC_SEC] & 0x7f);
regs[RTC_SEC] = bin2bcd(tm->tm_sec);
tm->tm_sec = ((buf[RTC_SEC] >> 4) & 0x7) * 10
+ (buf[RTC_SEC] & 0x0f);
buf[RTC_SEC] = (high << 4) + low;
data[RTC_SEC] |= (1 << ALARM_ENABLE_SHIFT);
data[RTC_HOUR], data[RTC_MIN], data[RTC_SEC]);
tm->tm_sec = data[RTC_SEC] & 0x7f;
data[RTC_SEC] = tm->tm_sec;
tm->tm_sec = bcd2bin(data[RTC_SEC]);
data[RTC_SEC] = bin2bcd(tm->tm_sec);
data[RTC_SEC] = bin2bcd(tm->tm_sec);
tm->tm_sec = bcd2bin(data[RTC_SEC] & 0x7f);
tm->tm_sec = data[RTC_SEC] & 0x7f;
data[RTC_SEC] = tm->tm_sec;
data[RTC_SEC] |= ALARM_ENABLE_MASK;