Figure 20-55: Port Register 10 (P10); Figure 20-56: Port Mode Register 10 (Pm10) - NEC V850E/PH2 User Manual

32-bit single-chip microcontroller
Table of Contents

Advertisement

(2)
Control registers
(a) Port register 10 (P10)
The P10 register is an 8-bit register that controls reading the pin levels and writing the output
levels of port pins P100 to P105.
This register can be read or written in 8-bit or 1-bit units.
Reset input causes an undefined register content.
After reset:
Undefined
7
P10
0
P10n
0
1
(b) Port mode register 10 (PM10)
The PM10 register is an 8-bit register that specifies the input or output mode.
This register can be read or written in 8-bit or 1-bit units.
Reset input sets this register to FFH.
After reset:
FFH
7
PM10
1
PM10n
0
1
Remark:
n = 0 to 2
Chapter 20 Port Functions

Figure 20-55: Port Register 10 (P10)

R/W
Address:
6
5
0
0
Input/Output Data Control of Pin P10n
Input mode: Low level is input
Output mode: Low level is output
Input mode: High level is input
Output mode: High level is output

Figure 20-56: Port Mode Register 10 (PM10)

R/W
Address:
6
5
1
1
Input/Output Mode Control of Pin P10n (in Port Mode)
Output mode
Input mode
User's Manual U16580EE3V1UD00
FFFFF414H
4
3
2
0
0
P102
FFFFF434H
4
3
2
1
1
PM102
1
0
P101
P100
1
0
PM101
PM100
937

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mupd70f3187

Table of Contents