2013-05-05 09:21:30 +00:00
|
|
|
void EpsonRTC::serialize(serializer& s) {
|
2012-05-21 10:56:48 +00:00
|
|
|
Thread::serialize(s);
|
|
|
|
|
|
|
|
s.integer(clocks);
|
|
|
|
s.integer(seconds);
|
|
|
|
|
|
|
|
s.integer(chipselect);
|
|
|
|
s.integer((unsigned&)state);
|
|
|
|
s.integer(mdr);
|
|
|
|
s.integer(offset);
|
|
|
|
s.integer(wait);
|
|
|
|
s.integer(ready);
|
2012-05-23 11:27:45 +00:00
|
|
|
s.integer(holdtick);
|
2012-05-21 10:56:48 +00:00
|
|
|
|
|
|
|
s.integer(secondlo);
|
|
|
|
s.integer(secondhi);
|
|
|
|
s.integer(batteryfailure);
|
|
|
|
|
|
|
|
s.integer(minutelo);
|
|
|
|
s.integer(minutehi);
|
2012-05-23 11:27:45 +00:00
|
|
|
s.integer(resync);
|
2012-05-21 10:56:48 +00:00
|
|
|
|
|
|
|
s.integer(hourlo);
|
|
|
|
s.integer(hourhi);
|
|
|
|
s.integer(meridian);
|
|
|
|
|
|
|
|
s.integer(daylo);
|
|
|
|
s.integer(dayhi);
|
|
|
|
s.integer(dayram);
|
|
|
|
|
|
|
|
s.integer(monthlo);
|
|
|
|
s.integer(monthhi);
|
|
|
|
s.integer(monthram);
|
|
|
|
|
|
|
|
s.integer(yearlo);
|
|
|
|
s.integer(yearhi);
|
|
|
|
|
|
|
|
s.integer(weekday);
|
|
|
|
|
|
|
|
s.integer(hold);
|
|
|
|
s.integer(calendar);
|
|
|
|
s.integer(irqflag);
|
|
|
|
s.integer(roundseconds);
|
|
|
|
|
|
|
|
s.integer(irqmask);
|
|
|
|
s.integer(irqduty);
|
|
|
|
s.integer(irqperiod);
|
|
|
|
|
|
|
|
s.integer(pause);
|
|
|
|
s.integer(stop);
|
|
|
|
s.integer(atime);
|
|
|
|
s.integer(test);
|
|
|
|
}
|