Product Info

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 779 of 1852
Nov 30, 2020
RX23W Group 28. Realtime Clock (RTCe)
28.2.8 Year Counter (RYRCNT)
The RYRCNT counter is used in calendar count mode.
The RYRCNT counter is used for setting and counting the BCD-coded year value. It counts carries generated once per
year in the month counter.
A value from 00 through 99 (in BCD) can be specified; if a value outside of this range is specified, the RTC does not
operate correctly. Before writing to this register, be sure to stop the count operation through the setting of the START bit
in RCR2.
After writing to the RYRCNT counter, confirm that its value has actually changed before proceeding with further
processing. Refer to
section 28.6.5, Notes on Writing to and Reading from Registers for notes on accessing
registers.
Address(es): RTC.RYRCNT 0008 C40Eh
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
———————— YR10[3:0] YR1[3:0]
Value after reset:
00000000xxxxxxxx
x: Undefined
Bit Symbol Bit Name Description R/W
b3 to b0 YR1[3:0] 1-Year Count Counts from 0 to 9 once per year. When a carry is generated, 1 is
added to the tens place.
R/W
b7 to b4 YR10[3:0] 10-Year Count Counts from 0 to 9 once per carry from ones place. When a carry
is generated in the tens place, 1 is added to the hundreds place.
R/W
b15 to b8
Reserved These bits are read as 0. The write value should be 0. R/W