Chapter 18 Real-Time Counter With Calendar (RTCV2)
S12ZVHY/S12ZVHL Family Reference Manual Rev. 1.05
Freescale Semiconductor
649
The second counter rolls over to 0 after reaching 59.
18.4.10 RTC Minute Register (RTCMINR)
This read/write register contains the current value of the minute counter. This register can be read at any
time without affecting the counter count. Writing to this register loads the value to the minute counter and
the counter continues to count from this new value. Writing values other than 0 to 59 to this register has
no effect. This register is write-protected, writing this register should follow write-protect mechanism
section.
The second counter rolls over to 0 after reaching 59.
18.4.11 RTC Hour Register (RTCHRR)
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.Writing values other than 0 to 23 to this register has
no effect. This register is write-protected, writing this register should follow write-protect mechanism
section.
7
6
5
4
3
2
1
0
R
0
0
SEC5
SEC4
SEC3
SEC2
SEC1
SEC0
W
POR:
0
0
0
0
0
0
0
0
Figure 18-10. Second Register (SECR)
Table 18-11. SECR Field Descriptions
Field
Description
5:0
SEC5~SEC0
Second Counter Value
— These read/write bits contains the current value of the second. 0 to 59 is valid.
Wirting the value other than 0 to 59 has no effect.
7
6
5
4
3
2
1
0
R
0
0
MIN5
MIN4
MIN3
MIN2
MIN1
MIN0
W
POR:
0
0
0
0
0
0
0
0
Figure 18-11. Minute Register (MINR)
Table 18-12. MINR Field Descriptions
Field
Description
5:0
MIN5~MIN0
Minute Counter Value
— These read/write bits contains the current value of the minute. 0 to 59 is valid.Wirting
the value other than 0 to 59 has no effect.