Figure 20-52: Port Register 9 (P9); Figure 20-53: Port Mode Register 9 (Pm9) - NEC V850E/PH2 User Manual

32-bit single-chip microcontroller
Table of Contents

Advertisement

(2)
Control registers
(a) Port register 9 (P9)
The P9 register is an 8-bit register that controls reading the pin levels and writing the output levels
of port pins P90 to P96.
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
P9
0
P9n
0
1
(b) Port mode register 9 (PM9)
The PM9 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
PM9
1
PM9n
0
1
Remark:
n = 0 to 6
Chapter 20 Port Functions

Figure 20-52: Port Register 9 (P9)

R/W
Address:
6
5
P96
P95
Input/Output Data Control of Pin P9n
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-53: Port Mode Register 9 (PM9)

R/W
Address:
6
5
PM96
PM95
Input/Output Mode Control of Pin P9n (in Port Mode)
Output mode
Input mode
User's Manual U16580EE3V1UD00
FFFFF412H
4
3
P94
P93
P92
FFFFF432H
4
3
PM94
PM93
PM92
2
1
0
P91
P90
2
1
0
PM91
PM90
933

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mupd70f3187

Table of Contents