Renesas rl78 User Manual
RL78/G1A
CHAPTER 7 REAL-TIME CLOCK
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 P30 = 0 and PM30 = 0
<R>
Cautions 1. First set the RTCEN bit to 1, while oscillation of the count clock (f
SUB
) is stable.
2. 1 Hz output function of real-time clock is not available in the 25- and 32-pin products.
<R>
R01UH0305EJ0200 Rev.2.00
315
Jul 04, 2013