Register Settings - NEC 78K0 User Manual

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

Advertisement

6.8.5

Register settings

The table below shows the statuses of the setting flags and status flags when each mode is set.
f
CPU
Note 2
X1 input clock
Ring-OSC oscillating
Ring-OSC stopped
Ring-OSC clock
X1 oscillating
X1 stopped
Note 4
Subsystem clock
X1 oscillating, Ring-OSC oscillating
X1 stopped, Ring-OSC oscillating
X1 oscillating, Ring-OSC stopped
X1 stopped, Ring-OSC stopped
Notes 1.
Valid only when "clock can be stopped by software" is selected for Ring-OSC by a mask option.
2.
Do not set MCC = 1 or MSTOP = 1 during X1 input clock operation (even if MCC = 1 or MSTOP = 1 is set,
the X1 oscillation does not stop).
3.
Do not set MCC = 1 during Ring-OSC operation (even if MCC = 1 is set, the X1 oscillation does not stop).
To stop X1 oscillation during Ring-OSC operation, use MSTOP.
4.
Shifting to subsystem clock operation mode must be performed from the X1 input clock operation mode.
From subsystem clock operation mode, only X1 input clock operation mode can be shifted to.
5.
Do not set MCM0 = 0 (shifting to Ring-OSC) during subsystem clock operation.
6.
Do not set MSTOP = 1 during subsystem clock operation (even if MSTOP = 1 is set, X1 oscillation does
not stop). To stop X1 oscillation during subsystem clock operation, use MCC.
CHAPTER 6 CLOCK GENERATOR
Table 6-7. Clock and Register Setting
Mode
PCC Register
MCC
0
0
0
Note 3
0
0
1
0
1
*
User's Manual U15947EJ2V0UD
Setting Flag
MCM
MOC
Register
Register
Register
CSS
MCM0
MSTOP R S T O P
0
1
0
0
1
0
0
0
0
0
0
1
Note 5
Note 6
1
1
0
Note 5
Note 6
1
1
0
Note 5
Note 6
1
1
0
Note 5
Note 6
1
1
0
Status Flag
RCM
PCC
MCM
Register
Register
Note 1
CLS
MCS
0
0
1
1
0
1
0
0
0
0
0
0
0
1
1
0
1
1
1
1
1
1
1
1
167

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kf1

Table of Contents