Datasheet
Section 10 Realtime Clock (RTC)
Rev. 2.00 Sep. 23, 2005 Page 147 of 472
REJ09B0160-0200
10.3.5 RTC Control Register 1 (RTCCR1)
RTCCR1 controls start/stop and reset of the clock timer. For the definition of time expression, see
figure 10.2.
Bit Bit Name
Initial
Value R/W Description
7 RUN — R/W
RTC operation start
0: Stops RTC operation
1: Starts RTC operation
6 12/24 — R/W Operating mode
0: RTC operates in 12-hour mode. RHRDR counts on 0
to 11.
1: RTC operates in 24-hour mode. RHRDR counts on 0
to 23.
5 PM — R/W A.m./p.m.
0: Indicates a.m. when RTC is in the 12-hour mode.
1: Indicates p.m. when RTC is in the 12-hour mode.
4 RST 0 R/W Reset
0: Normal operation
1: Resets registers and control circuits except RTCCSR
and this bit. Clear this bit to 0 after having been set to
1.
3 to 0 — All 0 — Reserved
These bits are always read as 0.
24-hour count 01234567891011121314151617
12-hour count 0
PM
24-hour count
12-hour count
PM
0 (Morning) 1 (Afternoon)
Noon
123456789101101234
5
18 19 20 21 22 23 0
6
1 (Afternoon) 0
7 8 9 10 11
0
Figure 10.2 Definition of Time Expression










