Semiconductor
MSM6542-01/02/03
83
EXPLANATION OF REGISTERS
Registers R-S
1, R-S10, R-MI1, R-MI10, R-H1, R-H10, R-D1, R-D10, R-MO1, R-MO10, R-Y1, R-Y10,
R-W
a)
The letter R followed by a hyphen (-) in these register names indicate a realtime register. S
1,
S
10, MI1, MI10, H1, H10, MO1, MO10, Y1, Y10, and W are abbreviations for Second 1, Second 10,
MInute 1, MInute 10, Hour 1, Hour 10, Day 1, Day 10, MOnth 1, MOnth 10, Year 1, Year 10,
and Week. The value of each register is weighted in BCD.
b)
Positive logic is used. For example, when (r-s
8, r-s4, r-s2, r-s1) is (1, 0, 0, 1), it indicates 9
seconds.
c)
An asterisk (*) in bank 0 in the realtime register table indicates the bit is automatically set
at 0 even though the write data is 1, when the CAL bit of the C
E' register is high.
When the CAL bit is low, registers R-D
1, R-D10, R-MO1, R-MO10, R-Y1, and R-Y10 are used as
RAM areas. The bits marked * in these RAM areas can be used for write and read
operations.
For more information, see the description of "C
E' register" in "EXPLANATION OF REG-
ISTERS."
d)
Be sure not to set non-existent data in an non-RAM area, that is, realtime registers.
Otherwise, a clock error may occur.
e)
r-pm/am, r-h
20, and r-h10
In the 12-hour clock mode, the possible hours are from 1 A.M. to 12 A.M. and from 1 P.M.
to 12 P.M. When the bit is 1, it indicates P.M. When the bit is 0, it indicates A.M. In the 24-
hour clock mode, the possible hours are from 0 o'clock to 23 o'clock.
During write operation, the r-pm/am bit is ignored in the 24-hour clock mode and the r-
h
20 bit in the 12-hour clock mode.
During read operation, the r-pm/am bit is unconditionally set at 0 in the 24-hour clock
mode and the r-h
20 bit in the 12-hour clock mode.
f)
R-Y
1 and R-Y10
The IC described in this manual operates in Gregorian years. When it operates in Japanese
calendar years (Heisei), a leap year is also automatically determined. Leap years are 1992,
1996, 2000, 2004, 2008, and so on.