English
Language : 

M38002M4 Datasheet, PDF (4/173 Pages) Mitsubishi Electric Semiconductor – 8-BIT SINGLE-CHIP MICROCOMPUTER
BEFORE USING THIS USER’S MANUAL
This user’s manual consists of the following three chapters. Refer to the chapter appropriate to your conditions, such
as hardware design or software development. Chapter 3 also includes necessary information for systems development.
Be sure to refer to this chapter.
1. Organization
q CHAPTER 1 HARDWARE
This chapter describes features of the microcomputer and operation of each peripheral function.
q CHAPTER 2 APPLICATION
This chapter describes usage and application examples of peripheral functions, based mainly on setting examples
of related registers.
q CHAPTER 3 APPENDIX
This chapter includes necessary information for systems development using the microcomputer, electric
characteristics, a list of registers, the masking confirmation (mask ROM version), and mark specifications which
are to be submitted when ordering.
2. Structure of register
The figure of each register structure describes its functions, contents at reset, and attributes as follows :
Bits
(Note 2)
Bit attributes
b7 b6 b5 b4 b3 b2 b1 b0
(Note 1)
Contents immediately after reset release
0
CPU mode register (CPUM) [Address : 3B16]
B
Name
Function
0 Processor mode bits
1
2 Stack page selection bit
b1 b0
0 0 : Single-chip mode
01:
1 0 : Not available
11:
0 : 0 page
1 : 1 page
3 Nothing arranged for these bits. These are write disabled
4 bits. When these bits are read out, the contents are “0.”
5 Fix this bit to “0.”
6 Main clock (XIN-XOUT) stop bit
0 : Operating
1 : Stopped
7
Internal system clock selection bit
0 : XIN-XOUT selected
1 : XCIN-XCOUT selected
At reset R W
0
0
0
0
!
0
!
1
T
T
: Bit in which nothing is arranged
: Bit that is not used for control of the corresponding function
Note 1. Contents immediately after reset release
0••••••“0” at reset release
1••••••“1” at reset release
Undefined••••••Undefined or reset release
T ••••••Contents determined by option at reset release
Note 2. Bit attributes••••••The attributes of control register bits are classified into 3 bytes : read-only, write-only
and read and write. In the figure, these attributes are represented as follows :
R••••••Read
••••••Read enabled
!••••••Read disabled
W••••••Write
••••••Write enabled
! ••••••Write disabled