R01UH0823EJ0100 Rev.1.00 Page 773 of 1823
Jul 31, 2019
RX23W Group 28. Realtime Clock (RTCe)
28.2.10 Minute Alarm Register (RMINAR)/Binary Counter 1 Alarm Register (BCNT1AR)
(1) In calendar count mode:
The RMINAR register is an alarm register corresponding to the BCD-coded minute counter RMINCNT. When the ENB
bit is set to 1, the RMINAR value is compared with the RMINCNT value. From among the alarm registers (RSECAR,
RMINAR, RHRAR, RWKAR, RDAYAR, RMONAR, and RYRAREN), only those selected with the ENB bits set to 1
are compared with the corresponding counters. When the respective values all match, the IR flag corresponding to the
ALM interrupt is set to 1.
RMINAR values from 00 through 59 (in BCD) can be specified; if a value outside of this range is specified, the RTC
does not operate correctly.
After writing to the RMINAR register, 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.
This register is set to 00h by an RTC software reset.
(2) In binary count mode:
The BCNT1AR counter is a readable/writable alarm register corresponding to 32-bit binary counter b15 to b8.
This register is set to 00h by an RTC software reset.
Address(es): RTC.RMINAR 0008 C412h
b7 b6 b5 b4 b3 b2 b1 b0
ENB MIN10[2:0] MIN1[3:0]
Value after reset:
xxxxxxxx
x: Undefined
Bit Symbol Bit Name Description R/W
b3 to b0 MIN1[3:0] 1 Minute Value for the ones place of minutes R/W
b6 to b4 MIN10[2:0] 10 Minutes Value for the tens place of minutes R/W
b7 ENB ENB 0: The register value is not compared with the RMINCNT counter value.
1: The register value is compared with the RMINCNT counter value.
R/W
Address(es): RTC.BCNT1AR 0008 C412h
b7 b6 b5 b4 b3 b2 b1 b0
BCNTAR[15:8]
Value after reset:
xxxxxxxx
x: Undefined