04.03.2013 Views

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Under development<br />

Preliminary document<br />

Specifications in this document are tentative and subject to change.<br />

<strong>RL78</strong>/<strong>D1A</strong> CHAPTER 7 REAL-TIME CLOCK<br />

7.4.5 1 Hz output of real-time clock<br />

Figure 7-25. 1 Hz Output Setting Procedure<br />

Start<br />

RTCSEL = xx Selects output port (P64/P15/P94)<br />

PMxx = 0 Sets port mode register to output port mode<br />

Pxx = 0 Sets 0 to output latch of port<br />

RTCE = 0 Stops counter operation.<br />

RCLOE1 = 1 Enables output of the RTC1HZ pin (1 Hz).<br />

RTCE = 1 Starts counter operation.<br />

Output start from RTC1HZ pin<br />

Caution First set the RTCEN bit to 1, while oscillation of the input clock (fSUB) is stable.<br />

R01UH0317EJ0004 Rev. 0.04 480<br />

Feb. 22, 2013

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!