HD6435348R Hitachi Semiconductor, HD6435348R Datasheet - Page 48

no-image

HD6435348R

Manufacturer Part Number
HD6435348R
Description
Single-Chip Microcomputer
Manufacturer
Hitachi Semiconductor
Datasheet
Bit
Initial value
Read/Write
2.4 Mode Control Register (MDCR)
Another control register in the register field in page 0 is the mode control register (MDCR). The
mode control register can be read by the CPU, but not written. Table 3-2 lists the attributes of this
register.
Table 2-2 Mode Control Register
Name
Mode control register
The bit configuration of this register is shown below.
* Initialized according to MD
Bits 7 and 6—Reserved: These bits cannot be modified and are always read as 1.
Bits 5 to 3—Reserved: These bits cannot be modified and are always read as 0.
Bits 2 to 0—Mode Select 2 to 0 (MDS2 to MDS0): These bits indicate the values of the mode
pins (MD
to MD
Coding Example: To test whether the MCU is operating in mode 1:
The comparison is with H'C1 instead of H'01 because bits 7 and 6 are always read as 1.
1
, and MDS0 to MD
2
to MD
0
) latched on the rising edge of the signal. MDS2 corresponds to MD
7
1
0
. These bits can be read but not written.
Abbreviation
MDCR
6
1
CMP:G.B #H'C1, @H'FF12
2
to MD
0
5
0
.
27
4
0
Read/Write
Read only
3
0
MDS2
Address
H'FF12
R
2
*
MDS1
R
1
*
MDS0
2
, MDS1
R
0
*

Related parts for HD6435348R