NEC PD703114 User Manual page 573

V850e/ia2 32-bit single-chip microcontrollers
Table of Contents

Advertisement

(2) Setting of I/O mode and control mode
The port DH mode register (PMDH) is used to set the I/O mode of port DH and the port DH mode control
register (PMCDH) is used to set the operation in control mode.
(a) Port DH mode register (PMDH)
This register can be read or written in 8-bit or 1-bit units.
7
6
PMDH
1
1
Bit position
Bit name
5 to 0
PMDHn
(n = 5 to 0)
(b) Port DH mode control register (PMCDH)
This register can be read or written in 8-bit or 1-bit units.
Caution Set bits 7 and 6 as follows.
Single-chip mode
ROMless mode
7
6
PMCDH
PMCDH7
PMCDH6
Note 00H: Single-chip mode
FFH: ROMless mode
Bit position
Bit name
5 to 0
PMCDHn
(n = 5 to 0)
CHAPTER 12 PORT FUNCTIONS
5
4
3
PMDH5
PMDH4
PMDH3
Specifies input/output mode of PDHn pin.
0: Output mode (output buffer on)
1: Input mode (output buffer off)
Operation Mode
5
4
3
PMCDH5
PMCDH4
PMCDH3
Specifies operation mode of PDHn pin
0: I/O port mode
1: A21 to A16 output mode
User's Manual U15195EJ5V0UD
2
1
0
PMDH2
PMDH1
PMDH0
Function
Bit 7
Bit 6
0
0
1
1
2
1
0
PMCDH2
PMCDH1
PMCDH0
Function
Address
After reset
FFFFF026H
FFH
Note
Address
After reset
FFFFF046H
00H/FFH
573

Advertisement

Table of Contents
loading

Table of Contents