Datasheet

RL78/L12 CHAPTER 7 REAL-TIME CLOCK
R01UH0330EJ0200 Rev.2.00 307
Dec 13, 2013
7.4.5 1 Hz output of real-time clock
Figure 7-24. 1 Hz Output Setting Procedure
Start
RTCE = 0 Stops counter operation.
RCLOE1 = 1 Enables output of the RTC1HZ pin (1 Hz).
RTCE = 1 Starts counter operation.
Output start from RTC1HZ pin
Setting port
Sets P31 and PM31
Cautions 1. First set the RTCEN bit to 1, while oscillation of the input clock (fSUB) is stable.
2. Pin output function of 1 Hz is not available in the 32-pin products.
<R>