RL78/G10 CHAPTER 7 12-BIT INTERVAL TIMER
R01UH0384EJ0311 Rev. 3.11 229
Dec 22, 2016
RINTE = 1
HALT instruction executed
STOP instruction executed
Wait for at least one cycle
of the count clock
Return from HALT mode
Return from STOP mode
Enter HALT or
STOP mode
At least one cycle of the
count clock after returned
from HALT or STOP
mode
Yes
RINTE = 1
No
RINTE = 1?
Count operation is started.
Confirm count operation
is started.
HALT instruction executed
STOP instruction executed
Enter HALT or
STOP mode
Return from HALT mode
Return from STOP mode
7.4.2 Start of count operation and re-enter to HALT/STOP mode after returned from HALT/STOP mode
When setting the RINTE bit after returned from HALT or STOP mode and entering HALT or STOP mode again, write 1
to the RINTE bit, and confirm the written value of the RINTE bit is reflected or wait for at least one cycle of the count clock.
Then, enter HALT or STOP mode.
• After setting RINTE to 1, confirm by polling that the RINTE bit has become 1, and then enter HALT or STOP
mode (see Example 1 in Figure 7-6).
• After setting RINTE to 1, wait for at least one cycle of the count clock and then enter HALT or STOP mode (see
Example 2 in Figure 7-6).
Figure 7-6. Procedure of entering to HALT or STOP mode after setting RINTE to 1
Example 1 Example 2