English
Language : 

UPD78F0411GA-GAM-AX Datasheet, PDF (273/564 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
CHAPTER 9 REAL-TIME COUNTER
(9) Day count register (DAY)
The DAY register is an 8-bit register that takes a value of 1 to 31 (decimal) and indicates the count value of
days.
It counts up when the hour counter overflows.
This counter counts as follows.
• 01 to 31 (January, March, May, July, August, October, December)
• 01 to 30 (April, June, September, November)
• 01 to 29 (February, leap year)
• 01 to 28 (February, normal year)
When data is written to this register, it is written to a buffer and then to the counter up to 2 clocks (32.768 kHz)
later. Set a decimal value of 00 to 31 to this register in BCD code. If a value outside this range is set, the
register value returns to the normal value after 1 period.
DAY can be set by an 8-bit memory manipulation instruction.
Reset signal generation clears this register to 01H.
Figure 9-10. Format of Day Count Register (DAY)
Address: FF66H After reset: 01H R/W
Symbol
7
6
DAY
0
0
5
DAY20
4
DAY10
3
DAY8
2
DAY4
1
DAY2
0
DAY1
(10) Week count register (WEEK)
The WEEK register is an 8-bit register that takes a value of 0 to 6 (decimal) and indicates the count value of
weekdays.
It counts up in synchronization with the day counter.
When data is written to this register, it is written to a buffer and then to the counter up to 2 clocks (32.768 kHz)
later. Set a decimal value of 00 to 06 to this register in BCD code. If a value outside this range is set, the
register value returns to the normal value after 1 period.
WEEK can be set by an 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 9-11. Format of Week Count Register (WEEK)
Address: FF65H After reset: 00H R/W
Symbol
7
6
5
4
3
2
1
0
WEEK
0
0
0
0
0
WEEK4
WEEK2
WEEK1
User’s Manual U18698EJ1V0UD
271