English
Language : 

UPD70F3212 Datasheet, PDF (116/861 Pages) NEC – 32-Bit Single-Chip Microcontrollers
CHAPTER 4 PORT FUNCTIONS
(1) Port 9 register (P9)
After reset: 00H (output latch) R/W Address: P9H FFFFF412H,
P9L FFFFF412H, P9H FFFFF413H
15
14
13
12
11
10
9
8
P9 (P9HNote)
P915 P914 P913 P912 P911 P910
P99
P98
(P9L)
P97
P96
P95
P94
P93
P92
P91
P90
P9n
Control of output data (in output mode) (n = 0 to 15)
0 0 is output
1 1 is output
Note When reading from or writing to bits 8 to 15 of the P9 register in 8-bit or 1-bit units,
specify these bits as bits 0 to 7 of the P9H register.
Remark
The P9 register can be read or written in 16-bit units.
However, when the higher 8 bits and the lower 8 bits of the P9 register are used as
the P9H register and as the P9L register, respectively, these registers can be read or
written in 8-bit or 1-bit units.
(2) Port 9 mode register (PM9)
After reset: FFFFH
R/W
Address: PM9 FFFFF432H,
PM9L FFFFF432H, PM9H FFFFF433H
PM9 (PM9HNote)
15
PM915
14
PM914
13
PM913
12
PM912
11
PM911
10
PM910
9
PM99
8
PM98
(PM9L)
PM97 PM96 PM95 PM94 PM93 PM92 PM91 PM90
PM9n
0
1
Output mode
Input mode
Control of I/O mode (n = 0 to 5)
Note When reading from or writing to bits 8 to 15 of the PM9 register in 8-bit or 1-bit units,
specify these bits as bits 0 to 7 of the PM9H register.
Remark
The PM9 register can be read or written in 16-bit units.
However, when the higher 8 bits and the lower 8 bits of the PM9 register are used as
the PM9H register and as the PM9L register, respectively, this register can be read or
written in 8-bit or 1-bit units.
(3) Port 9 mode control register (PMC9)
Caution When using port 9 as the A0 to A15 pins, set the PMC9 register to FFFFH in 16-bit units.
116
User’s Manual U16890EJ1V0UD