Datasheet
V850ES/JG3-H, V850ES/JH3-H CHAPTER 12 REAL-TIME COUNTER
R01UH0042EJ0500 Rev.5.00 Page 648 of 1513
Aug 12, 2011
(10) Day-of-week count register (RC1WEEK)
The RC1WEEK register is an 8-bit register that takes a value of 0 to 6 (decimal) and indicates the day-of-week
count value.
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 (2 x 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.
This register can be read or written in 8-bit units.
Reset sets this register to 00H.
00000RC1WEEK
After reset: 00H R/W Address: FFFFFAD5H
Cautions 1. Setting a value other than 00 to 06 to the RC1WEEK register is prohibited.
2. Values corresponding to the month count register and day count register are not
automatically stored to the day-of-week register.
Be sure to set as follows after rest release.
Day of Week RC1WEEK
Sunday 00H
Monday 01H
Tuesday 02H
Wednesday 03H
Thursday 04H
Friday 05H
Saturday 06H
Remark See 12.4.1 Initial settings, 12.4.2 Rewriting each counter during real-time counter operation, and
12.4.3 Reading each counter during real-time counter operation when reading or writing the
RC1WEEK register.