NEC PD703114 User Manual page 575

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

Advertisement

(2) Setting of I/O mode and control mode
The port DL mode register (PMDL) is used to set the I/O mode of port DL and the port DL mode control
register (PMCDL) is used to set the operation in control mode.
(a) Port DL mode register (PMDL)
The PMDL register can be read or written in 16-bit units.
When using the higher 8 bits of the PMDL register as the PMDLH register and the lower 8 bits as the
PMDLL register, it can be read or written in 8-bit or 1-bit units.
15
14
PMDL
PMDL15
PMDL14
7
6
PMDL7
PMDL6
Bit position
Bit name
15 to 0
PMDLn
(n = 15 to 0)
(b) Port DL mode control register (PMCDL)
The PMCDL register can be read or written in 16-bit units.
When using the higher 8 bits of the PMCDL register as the PMCDLH register and the lower 8 bits as the
PMCDLL register, it can be read or written in 8-bit or 1-bit units.
15
14
PMCDL
PMCDL15
PMCDL14
7
6
PMCDL7
PMCDL6
Note 0000H : Single-chip mode
FFFFH : ROMless mode
Bit position
Bit name
15 to 0
PMCDLn
(n = 15 to 0)
CHAPTER 12 PORT FUNCTIONS
13
12
11
PMDL13
PMDL12
PMDL11
5
4
3
PMDL5
PMDL4
PMDL3
Specifies input/output mode of PDLn pin.
0: Output mode (output buffer on)
1: Input mode (output buffer off)
13
12
11
PMCDL13
PMCDL12
PMCDL11
5
4
3
PMCDL5
PMCDL4
PMCDL3
Specifies operation mode of PDLn pin.
0: I/O port mode
1: AD15 to AD0 I/O mode
User's Manual U15195EJ5V0UD
10
9
8
PMDL10
PMDL9
PMDL8
2
1
0
PMDL2
PMDL1
PMDL0
Function
10
9
8
PMCDL10
PMCDL9
PMCDL8
2
1
0
PMCDL2
PMCDL1
PMCDL0
Function
Address
After reset
FFFFF025H
FFFFH
Address
FFFFF024H
Note
Address
After reset
FFFFF045H
0000H/FFFFH
Address
FFFFF044H
575

Advertisement

Table of Contents
loading

Table of Contents