
18
2.4 Day-of-week Counter (at Address 3h)
D7
D6
D5
D4
D3
D2
D1
D0
—
—
—
—
—
W
4
W
2
W
1
0
0
0
0
0
W
4
W
2
W
1
0
0
0
0
0
Indefinite
Indefinite
Indefinite
(For writing)
(For reading)
Default settings*
*
) Default settings: Default value means read/written values when the XSTP bit is set to “1” due to power-on from 0 volts or supply voltage drop.
· The day-of-week counter is incremented by 1 when the day-of-week digits are carried to the day-of-month digits.
· Day-of-week display (incremented in septimal notation):
(W
4
, W
2
, W
1
) = (0, 0, 0)
→
(0, 0, 1)
→
...
→
(1, 1, 0)
→
(0, 0, 0)
· Correspondences between days of the week and the day-of-week digits are user-definable (e.g. Sunday = 0, 0, 0)
· The writing of (1, 1, 1) to (W
4
, W
2
, W
1
) is prohibited except when days of the week are unused.
2.5 Calendar Counters (at Addresses 4h to 6h)
· The calendar counters are configured to display the calendar digits in BCD format by using the automatic
calendar function as follows:
The day-of-month digits (D
20
to D
1
) range from 1 to 31 for January, March, May, July, August, October, and
December; from 1 to 30 for April, June, September, and November; from 1 to 29 for February in leap years;
from 1 to 28 for February in ordinary years.
The day-of-month digits are carried to the month digits in reversion from the last day of the month to 1. The
month digits (MO
10
to MO
1
) range from 1 to 12 and are carried to the year digits in reversion from 12 to 1.
The year digits (Y
80
to Y
1
) range from 00 to 99 (00, 04, 08,..., 92, and 96 in leap years) and are carried to the
19/20 digits in reversion from 99 to 00.
The 19/20 digits cycle between 0 and 1 in reversion from 99 to 00 in the year digits.
· Any carry from lower digits with the writing of non-existent calendar data may cause the calendar counters to
malfunction. Therefore, such incorrect writing should be replaced with the writing of existent calendar data.
2.5-1 Day-of-month Counter (at Address 4h)
D7
D6
D5
D4
D3
D2
D1
D0
—
—
D
20
D
10
D
8
D
4
D
2
D
1
0
0
D
20
D
10
D
8
D
4
D
2
D
1
0
0
Indefinite
Indefinite
Indefinite
Indefinite
Indefinite
Indefinite
(For writing)
(For reading)
Default settings*
2.5-2 Month Counter + Century Bit (at Address 5h)
D7
D6
D5
D4
D3
D2
D1
D0
19/20
—
—
MO
10
MO
8
MO
4
MO
2
MO
1
19/20
0
0
MO
10
MO
8
MO
4
MO
2
MO
1
Indefinite
0
0
Indefinite
Indefinite
Indefinite
Indefinite
Indefinite
(For writing)
(For reading)
Default settings*
RS5C348A/B