(3) Setting of the oscillation stabilization time after releasing the STOP mode (when crystal or ceramic
oscillation is used for the system clock source)
The OSTS register is used to set the oscillation stabilization time after releasing the STOP mode. The OSTS
setting is valid only when crystal or ceramic oscillation is used for the system clock source.
In this sample program, the high-speed internal oscillation clock is used, so the OSTS register is not set.
Figure 4-5. Format of Oscillation Stabilization Time Selection Register (OSTS)
OSTS
0
0
0
0
Note When the high-speed internal oscillation clock or an external clock input is selected as the system clock,
the OSTS setting is not required.
Caution Bits 7 to 2 must be set to 0.
[Example 1] Setting the oscillation stabilization time to 409.6
used (f
= 10 MHz)
X
OSTS
0
0
0
0
The OSTS register setting value is
• Assembly language
MOV
• C language
OSTS = 0b00000001;
22
CHAPTER 4 SETTING METHODS
0
0
OSTS1 OSTS0
0
0
0
"00000001
OSTS,
#00000001B
Application Note U18752EJ2V0AN
Specification of the oscillation stabilization time after releasing
Note
the STOP mode
10
0
0
2
/fx
12
0
1
2
/fx
15
1
0
2
/fx
17
1
1
2
/fx
μ
s when a crystal or ceramic oscillation clock is
1
μ
12
0
1
2
/fx (409.6
s)
(bits 7 to 2 must be set to 0)".