
iiiPeriPheraLModuLes1(systeM):CLoCkManageMentunit(CMu)
s1C33L17teChniCaLManuaL
ePson
iii-1-47
III
CMU
0x301B14:Clockoptionregister(pCMu_oPt)
name
address
registername
Bit
Function
setting
init. r/W
remarks
–
osCtM7
osCtM6
osCtM5
osCtM4
osCtM3
osCtM2
osCtM1
osCtM0
–
osC3oFF
tMhsP
–
WakeuPWt
D31–16
D15
D14
D13
D12
D11
D10
D9
D8
D7–4
D3
D2
D1
D0
reserved
OSCoscillationstabilization-wait
timer
reserved
OSC3disableduringSLEEP
Wait-timerhigh-speedmode
reserved
Wakeup-waitfunctionenable
1 Waitinterrupt 0 Nowait
1 Highspeed 0 Normal
1 Stop
0 Run
–
0
–
0
–
0
–
R/W
–
R/W
–
R/W
0whenbeingread.
00301B14
(W)
–
Clockoption
register
(pCMU_OPT)
Protected
–
0to255
d[31:16] reserved
d[15:8] osCtM[7:0]:osCoscillationstabilization-Waittimer
Sets an oscillation stabilization wait time during which the CPU is kept waiting before it starts operating
upon returning from SLEEP mode. This wait time can be set in increments of 16 OSC clock cycles
when TMHSP (D2) = 1, or 8,192 clock cycles when TMHSP (D2) = 0. (Default: 0b00 = no wait time)
TableIII.1.14.12OscillationStabilizationWaitTimeatWakeup
tMhsP
1
0
osCtM[7:0]
0x0
0x1
0x2
:
0xFF
0x0
0x1
0x2
:
0xFF
time
0
800ns
1.6
s
:
0.204ms
0
0.409ms
0.819ms
:
104.5ms
numberofclocks
0
16
32
:
4080
0
8192
16384
:
2M
(Thetimeshownhereisanexamplewhenoperatingwitha20MHzOSC3.)
When the OSC3 oscillation is to be turned off during SLEEP mode, make sure the wait time set by these
bits is equal to or greater than the OSC3 oscillation start time stipulated in the electrical characteristics
table.
note: The OSC oscillation start wait timer operates with the operating clock activated after the
SLEEP mode is released.Therefore, use the switched clock frequency for calculating the
oscillationwaittimetobesettoOSCTM[7:0]whenexecutingtheslpinstructionforswitching
overtheclocksources.
d[7:4]
reserved
d3
osC3oFF:osC3disableduringsLeeP
Selects whether to turn off the OSC3 oscillator circuit during SLEEP mode.
1 (R/W): Stop
0 (R/W): Operating (default)
Continue operating OSC3 when entering SLEEP mode to switch over the clock sources (OSC), or turn
it off when entering SLEEP mode for power-down purposes.