R01UH0823EJ0100 Rev.1.00
Page 777 of 1823
Jul 31, 2019
RX23W Group
28. Realtime Clock (RTCe)
28.2.14
Month Alarm Register (RMONAR)/Binary Counter 1 Alarm Enable Register
(BCNT1AER)
(1) In calendar count mode:
The RMONAR register is an alarm register corresponding to the BCD-coded month counter RMONCNT. When the
ENB bit is set to 1, the RMONAR value is compared with the RMONCNT 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.
RMONAR values from 01 through 12 (in BCD) can be specified; if a value outside of this range is specified, the RTC
does not operate correctly.
After writing to the RMONAR 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 BCNT1AER register is a readable/writable register for setting the alarm enable corresponding to 32-bit binary
counter b15 to b8. Among the ENB[31:0] bits, the binary counter (BCNT[31:0]) corresponding to the bits which are set
to 1 and the binary alarm register (BCNTAR[31:0]) are compared, and when all match, the IR flag corresponding to the
ALM interrupt becomes 1.
This register is set to 00h by an RTC software reset.
Address(es): RTC.RMONAR 0008 C41Ah
b7
b6
b5
b4
b3
b2
b1
b0
ENB
—
—
MON10
MON1[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 Month
Value for the ones place of months
R/W
b4
10 Months
Value for the tens place of months
R/W
b6, b5
—
Reserved
Set these bits to 0. They are read as the set value.
R/W
b7
ENB
0: The register value is not compared with the RMONCNT counter value.
1: The register value is compared with the RMONCNT counter value.
R/W
Address(es): RTC.BCNT1AER 0008 C41Ah
b7
b6
b5
b4
b3
b2
b1
b0
ENB[15:8]
Value after reset:
x
x
x
x
x
x
x
x
x: Undefined