R01UH0823EJ0100 Rev.1.00
Page 766 of 1823
Jul 31, 2019
RX23W Group
28. Realtime Clock (RTCe)
28.2.3
Minute Counter (RMINCNT)/Binary Counter 1 (BCNT1)
(1) In calendar count mode:
The RMINCNT counter is used for setting and counting the BCD-coded minute value. It counts carries generated once
per minute in the second counter.
A value from 00 through 59 (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 RMINCNT counter, confirm that its value has actually changed before proceeding with further
processing. Refer to
section 28.6.5, Notes When Writing to and Reading from Registers
for notes on accessing
registers.
(2) In binary count mode:
The BCNT1 counter is a readable/writable 32-bit binary counter b15 to b8.
The 32-bit binary counter performs count operation by a carry generating for each second of the 64-Hz counter.
Before writing to this register, be sure to stop the count operation through the setting of the START bit in RCR2.
To read this counter, follow the procedure in
section 28.3.5, Reading 64-Hz Counter and Time
.
Address(es): RTC.RMINCNT 0008 C404h
b7
b6
b5
b4
b3
b2
b1
b0
—
MIN10[2:0]
MIN1[3:0]
Value after reset:
x
x
x
x
x
x
x
x
x: Undefined
Bit
Symbol
Bit Name
Description
R/W
b3 to b0
1-Minute Count
Counts from 0 to 9 every minute. When a carry is generated, 1 is
added to the tens place.
R/W
b6 to b4
10-Minute Count
Counts from 0 to 5 for 60-minute counting.
R/W
b7
—
Reserved
Set this bit to 0. It is read as the set value.
R/W
Address(es): RTC.BCNT1 0008 C404h
b7
b6
b5
b4
b3
b2
b1
b0
BCNT[15:8]
Value after reset:
x
x
x
x
x
x
x
x
x: Undefined