
2-9
CPU
CPU Mode Register (CPUM)
The CPU mode register (CPUM) sets the clock operating mode for the CPU and peripheral blocks. This register is
allocated to the internal I/O space at address x'20000040.
Bit No.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Bit name
—
—
—
—
—
—
—
—
—
—
OSCID STOP HALT SLEEP OSC1
OSC0
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Access
R
R
R
R
R
R
R
R
R
R
R
R/W
R/W
R/W R/W
R/W
Bit No.
Bit name
Description
0
OSC0
Always returns "0" when read. Always write "0".
1
OSC1
Always returns "0" when read. Always write "0".
2
SLEEP
CPU operating mode control flag (SLEEP transfer request)
3
HALT
CPU operating mode control flag (HALT transfer request)
4
STOP
CPU operating mode control flag (STOP transfer request)
5
OSCID
Always returns "0" when read. Always write "0".
15 to 6
—
reserved
The various operating modes can be set by setting the bits as shown in the table below.
Oscillation control and operating mode control
Operating mode STOP HALT SLEEP OSC1 OSC0
Clock
CPU operation Peripheral function
oscillation
clock
operation clock
NORMAL
0
0
0
0
0
Oscillating
Running
Running
HALT
0
1
0
0
0
Oscillating
Stopped
Stopped
SLEEP
0
0
1
0
0
Oscillating
Stopped
Running
STOP
1
0
0
0
0
Stopped
Stopped
Stopped
The CPUM register should be accessed by halfwords (16 bits). Byte and word access is not supported.
If the CPUM register is accessed to make a transition to an operating mode of SLEEP/HALT/STOP during execution
of a program in external memory, a branch instruction should not be located within the three instructions immediately
following the CPUM register access instruction.
Summary of Contents for MN103001G/F01K
Page 1: ...MICROCOMPUTER MN1030 MN103001G F01K LSI User s Manual Pub No 23101 050E ...
Page 2: ......
Page 4: ......
Page 6: ......
Page 8: ......
Page 9: ...Table of Contents List of Figures and Tables 0 ...
Page 26: ...xviii ...
Page 27: ...1 0 1 General Specifications ...
Page 35: ...2 CPU 2 ...
Page 57: ...3 Extension Instruction Specifications 3 ...
Page 96: ...Extension Instruction Specifications 3 40 ...
Page 97: ...4 Memory Modes 3 4 ...
Page 102: ...Memory Modes 4 6 ...
Page 103: ...5 Operating Mode 5 ...
Page 107: ...6 Clock Generator 6 13 ...
Page 111: ...7 Internal Memory 7 ...
Page 114: ...Internal Memory 7 4 ...
Page 115: ...8 Bus Controller BC 8 ...
Page 189: ...9 Interrupt Controller 9 ...
Page 220: ...Interrupt Controller 9 32 ...
Page 221: ...10 8 bit Timers 9 10 ...
Page 254: ...8 bit Timers 10 34 ...
Page 255: ...11 16 bit Timers 11 ...
Page 292: ...16 bit Timers 11 38 ...
Page 293: ...12 Watchdog Timer 11 12 ...
Page 302: ...Watchdog Timer 12 10 ...
Page 303: ...13 Serial Interface 13 ...
Page 354: ...Serial Interface 13 52 ...
Page 355: ...14 A D Converter 14 ...
Page 367: ...15 I O Ports 15 ...
Page 431: ...16 Internal Flash Memory 16 ...
Page 439: ...17 17 Ordering Mask ROM ...
Page 442: ...Ordering Mask ROM 17 4 ...
Page 443: ...Appendix ...