Datasheet
Real Time Clock (RTC)
Technical Data MC68HC908LJ12 — Rev. 2.1
224 Real Time Clock (RTC) Freescale Semiconductor
12.6.7 Hour Register (HRR)
This read/write register contains the current value of the hour counter.
This register can be read at any time without affecting the counter count.
Writing to this register loads the value to the hour counter and the
counter continues to count from this new value.
The hour counter rolls over to 0 ($00) after reaching 23 ($17). Writing a
value other than 0 to 23 to this register has no effect.
12.6.8 Day Register (DAYR)
This read/write register contains the current value of the day-of-month
counter. This register can be read at any time without affecting the
counter count. Writing to this register loads the value to the day counter
and the counter continues to count from this new value.
The day counter rolls over to 1 ($01) after reaching 28 ($1B), 29 ($1C),
30 ($1D), or 31 ($1E), depending on the value in the month and year
registers. Writing a value that is not valid for the month and year to this
register has no effect.
Address: $0049
Read: 0 0 0
HR4 HR3 HR2 HR1 HR0
Write:
Reset:00000000
= Unimplemented
Figure 12-10. Hour Register (HRR)
Address: $004A
Read: 0 0 0
DAY4 DAY3 DAY2 DAY1 DAY0
Write:
Reset:00000001
= Unimplemented
Figure 12-11. Day Register (DAYR)