NEC 78K0 User Manual page 100

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0:
Table of Contents

Advertisement

Figure 5-2. Format of Processor Clock Control Register (PCC)
Address: FFFBH
After reset: 00H
Symbol
<7>
PCC
MCC
MCC
0
1
FRC
0
1
CLS
0
1
Note 4
CSS
0
1
Notes 1.
Bit 5 is read-only.
2.
When the CPU is operating on the subsystem clock, MCC should be used to stop the X1 oscillator
operation. When the CPU is operating on the Ring-OSC clock, use bit 7 (MSTOP) of the main OSC
control register (MOC) to stop the X1 oscillator operation (this cannot be set by MCC). A STOP
instruction should not be used.
3.
This bit can be set to 1 only when the subsystem clock is not used.
4.
Be sure to switch CSS from 1 to 0 when bits 1 (MCS) and 0 (MCM0) of the main clock mode register
(MCM) are 1.
Caution Be sure to clear bit 3 to 0.
Remarks 1. MCM0: Bit 0 of the main clock mode register (MCM)
2. f
:
Main system clock oscillation frequency (X1 input clock oscillation frequency or Ring-OSC
X
clock oscillation frequency)
3. f
:
Ring-OSC clock oscillation frequency
R
4. f
:
X1 input clock oscillation frequency
XP
5. f
:
Subsystem clock oscillation frequency
XT
100
CHAPTER 5 CLOCK GENERATOR
Note 1
R/W
<6>
<5>
FRC
CLS
Control of X1 oscillator operation
Oscillation possible
Oscillation stopped
Subsystem clock feedback resistor selection
On-chip feedback resistor used
On-chip feedback resistor not used
X1 input clock or Ring-OSC clock
Subsystem clock
PCC2
PCC1
PCC0
0
0
0
0
0
1
0
1
1
0
0
0
0
0
0
1
0
1
1
0
Other than above
User's Manual U16227EJ2V0UD
<4>
3
2
CSS
0
PCC2
Note 3
CPU clock status
CPU clock (f
0
f
f
X
R
1
f
/2
f
/2
X
R
2
0
f
/2
f
/2
X
R
3
1
f
/2
f
/2
X
R
4
0
f
/2
f
/2
X
R
0
f
/2
XT
1
0
1
0
Setting prohibited
1
0
PCC1
PCC0
Note 2
) selection
CPU
MCM0 = 0
MCM0 = 1
f
XP
f
/2
XP
2
2
f
/2
XP
3
3
f
/2
XP
4
4
f
/2
XP

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kc1

Table of Contents