Datasheet
V850ES/JG3-H, V850ES/JH3-H CHAPTER 12 REAL-TIME COUNTER
R01UH0042EJ0500 Rev.5.00 Page 644 of 1513
Aug 12, 2011
(5) Sub-count register (RC1SUBC)
The RC1SUBC register is a 16-bit register that counts the reference time of 1 second of the real-time counter.
It takes a value of 0000H to 7FFFH and counts one second with a clock of 32.768 kHz.
This register is read-only, in 16-bit units.
Reset sets this register to 0000H.
Cautions 1 When a correction is made by using the RC1SUBU register, the value may become 8000H
or more.
2. This register is also cleared by writing to the second count register.
3. The value read from this register is not guaranteed if it is read during operation, because a
changing value is read.
RC1SUBC
12 1
08 6
42
After reset: 0000H R Address: FFFFFAD0H
14
0
1
3
11
9
7
53
1
5
1
(6) Second count register (RC1SEC)
The RC1SEC register is an 8-bit register that takes a value of 0 to 59 (decimal) and indicates the count value of
seconds.
It counts up when the sub-counter overflows.
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 59 to this register in BCD code.
This register can be read or written in 8-bit units.
Reset sets this register to 00H.
Caution Setting the RC1SEC register to values other than 00 to 59 is prohibited.
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
RC1SEC register.
0RC1SEC
After reset: 00H R/W Address: FFFFFAD2H