R01UH0823EJ0100 Rev.1.00 Page 789 of 1823
Jul 31, 2019
RX23W Group 28. Realtime Clock (RTCe)
28.2.24 Hour Capture Register n (RHRCPn) (n = 0, 1)/BCNT2 Capture Register n
(BCNT2CPn) (n = 0, 1)
(1) In calendar count mode:
RHRCPn is a read-only register that captures the RHRCNT value when a time capture event is detected.
The event detection times detected by the RTCIC0 and RTCIC1 pins are stored in the RHRCP0 and RHRCP1 registers,
respectively.
The PM bit is only enabled when the RCR2.HR24 bit is 0 (in 12-hour mode).
This register is set to 00h by an RTC software reset.
Before reading from this register, be sure to stop the time capture event detection through the setting of the
RTCCRn.TCCT[1:0] bits.
(2) In binary count mode:
BCNT2CPn is a read-only register that captures the BCNT2 value when a time capture event is detected.
The event detection times detected by the RTCIC0 and RTCIC1 pins are stored in the BCNT2CP0 and BCNT2CP1
registers, respectively.
This register is set to 00h by an RTC software reset.
Before reading from this register, be sure to stop the time capture event detection through the setting of the
RTCCRn.TCCT[1:0] bits.
Address(es): RTC.RHRCP0 0008 C456h, RTC.RHRCP1 0008 C466h
b7 b6 b5 b4 b3 b2 b1 b0
— PM HR10[1:0] HR1[3:0]
Value after reset:
xxxxxxxx
x: Undefined
Bit Symbol Bit Name Description R/W
b3 to b0 HR1[3:0] 1-Hour Capture Capture value for the ones place of hours R
b5, b4 HR10[1:0] 10-Hour Capture Capture value for the tens place of hours R
b6 PM PM 0: a.m.
1: p.m.
R
b7 — Reserved This bit is read as 0 after an RTC software reset. R
Address(es): RTC.BCNT2CP0 0008 C456h, RTC.BCNT2CP1 0008 C466h
b7 b6 b5 b4 b3 b2 b1 b0
BCNTCPn[23:16]
Value after reset:
xxxxxxxx
x: Undefined