Datasheet

V850ES/JG3-H, V850ES/JH3-H CHAPTER 12 REAL-TIME COUNTER
R01UH0042EJ0500 Rev.5.00 Page 647 of 1513
Aug 12, 2011
(9) Day count register (RC1DAY)
The RC1DAY 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 in leap year)
01 to 28 (February in normal year)
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 31 to this register in BCD code.
This register can be read or written in 8-bit units.
Reset sets this register to 01H.
Caution Setting a value other than 01 to 31 to the RC1DAY register is prohibited. Setting a value outside
the above-mentioned count range, such as “February 30” is also prohibited.
Remark See 12.4.1 Initial settings, 12.4.2 Rewriting each counter during the real-time counter operation,
and 12.4.3 Reading each counter during the real-time counter operation when reading or writing the
RC1DAY register.
00RC1DAY
After reset: 01H R/W Address: FFFFFAD6H