English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (373/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 7 REAL-TIME COUNTER
(11) Month count register (MONTH)
The MONTH register is an 8-bit register that takes a value of 1 to 12 (decimal) and indicates the count value of
months.
It counts up when the day counter overflows.
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. Even if the day count register overflows while this register is being written, this register ignores the overflow
and is set to the value written. Set a decimal value of 01 to 12 to this register in BCD code. Set a decimal value of
01 to 12 to this register in BCD code.
MONTH can be set by an 8-bit memory manipulation instruction.
Reset signal generation clears this register to 01H.
Figure 7-12. Format of Month Count Register (MONTH)
Address: FFF97H After reset: 01H R/W
Symbol
7
6
5
MONTH
0
0
0
4
MONTH10
3
MONTH8
2
MONTH4
1
MONTH2
0
MONTH1
(12) Year count register (YEAR)
The YEAR register is an 8-bit register that takes a value of 0 to 99 (decimal) and indicates the count value of years.
It counts up when the month counter overflows.
Values 00, 04, 08, …, 92, and 96 indicate a leap 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. Even if the month count register overflows while this register is being written, this register ignores the
overflow and is set to the value written. Set a decimal value of 00 to 99 to this register in BCD code. Set a decimal
value of 00 to 99 to this register in BCD code.
YEAR can be set by an 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 7-13. Format of Year Count Register (YEAR)
Address: FFF98H After reset: 00H R/W
Symbol
7
6
5
YEAR
YEAR80
YEAR40
YEAR20
4
YEAR10
3
YEAR8
2
YEAR4
1
YEAR2
0
YEAR1
R01UH0004EJ0501 Rev.5.01
357
Jun 20, 2011