EasyManuals Logo
Home>Renesas>Computer Hardware>RL78 Series

Renesas RL78 Series User Manual

Renesas RL78 Series
1879 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #710 background imageLoading...
Page #710 background image
RL78/F13, F14 CHAPTER 9 REAL-TIME CLOCK
R01UH0368EJ0210 Rev.2.10 678
Dec 10, 2015
9.4.2 Shifting to HALT/STOP mode after starting operation
Perform one of the following processing when shifting to HALT/STOP mode immediately after setting the RTCE bit to 1.
However, after setting the RTCE bit to 1, this processing is not required when shifting to HALT/STOP mode after INTRTC
interrupt has occurred.
ï‚· Shifting to HALT/STOP mode when at least two operating clocks (f
RTC) have elapsed after setting the RTCE bit to 1
(see Figure 9-20, Example 1).
ï‚· Checking by polling the RWST bit to become 1, after setting the RTCE bit to 1 and then setting the RWAIT bit to 1.
Afterward, setting the RWAIT bit to 0 and shifting to HALT/STOP mode after checking again by polling that the RWST
bit has become 0 (see Figure 9-20, Example 2).
Figure 9-22. Procedure for Shifting to HALT/STOP Mode After Setting RTCE bit to 1
Yes
RTCE = 1
RWAIT = 1
No
Yes
RWAIT = 0
No
RWST = 1 ?
RWST = 0 ?
RTCE = 1
HALT/STOP instruction
execution
Waiting at least for 2
f
RTC clocks
Sets to counter operation
start
Shifts to HALT/STOP
mode
Sets to counter operation
start
Sets to stop the SEC to YEAR
counters, reads the counter
value, write mode
Checks the counter wait status
Sets the counter operation
Shifts to HALT/STOP
mode
Example 1 Example 2
HALT/STOP instruction
execution

Table of Contents

Other manuals for Renesas RL78 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RL78 Series and is the answer not in the manual?

Renesas RL78 Series Specifications

General IconGeneral
BrandRenesas
ModelRL78 Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals