
CHAPTER 4 PORT FUNCTIONS
User’s Manual U15905EJ2V1UD
129
(b) Port mode register 9 (PM9)
This is a 16-bit register that specifies the input or output mode.
This register can be read or written only in 16-bit units.
If the higher 8 bits of the PM9 register is used as PM9H and the lower 8 bits as PM9L, however, PM9H and
PM9L can be manipulated in 8-bit or 1-bit units.
PM97
Output mode
Input mode
PM9n
0
1
Controls input/output mode (n = 0 to 15)
PM96
PM95
PM94
PM93
PM92
PM91
PM90
After reset: FFFFH
R/W
Address: PM9 FFFFF432H,
PM9L FFFFF432H, PM9H FFFFF433H
PM915
(PM9HNote)
(PM9L)
PM914
PM913
PM912
PM911
PM910
PM99
PM98
8
9
10
11
12
13
14
15
Note
When reading or writing 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.