English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (372/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 7 REAL-TIME COUNTER
Figure 7-10. Format of Day Count Register (DAY)
Address: FFF96H After reset: 01H R/W
Symbol
7
6
5
DAY
0
0
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.
WEEK can be set by an 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 7-11. Format of Week Count Register (WEEK)
Address: FFF95H After reset: 00H R/W
Symbol
7
6
5
4
3
2
1
0
WEEK
0
0
0
0
0
WEEK4
WEEK2
WEEK1
Caution The value corresponding to the month count register or the day count register is not stored in
the week count register automatically. After reset release, set the week count register as follow.
Day
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
WEEK
00H
01H
02H
03H
04H
05H
06H
R01UH0004EJ0501 Rev.5.01
356
Jun 20, 2011