574
Chapter 16
Port Functions
Preliminary User’s Manual U15839EE1V0UM00
16.3.9 Port
9
Port 9 is an 8-bit input/output port in which input or output can be specified in 1-bit units. Port mode con-
trol is not available for port 9.
This register can be read or written in 1-bit and 8-bit units.
Figure 16-27:
Port 9 (P9)
Remark:
In Input Mode: When the P9 register is read, the pin levels at that time are read. Writing to
the P9 register writes the values to that register. This does not affect the
input pins.
In Output Mode:When the P9 register is read, the values of P9 are read. Writing to the P9
register writes the values to that register and those values are immediately
output.
Note: The reset value of register P9 is 00H. Due to the input mode of the port after reset, the read
input value is determined by the port pins.
(1)
Setting in input/output mode
Port 9 is set in input/output mode using the port 9 mode register (PM9).
(a) Port 9 mode register (PM9)
This register can be read or written in 8-bit or 1-bit units.
Figure 16-28:
Port 9 Mode Register (PM9)
7
6
5
4
3
2
1
0
Address
At Reset
P9
P97
P96
P95
P94
P93
P92
P91
P90
FFFFF40EH
00H
Note
Bit Position
Bit Name
Function
7 to 0
P9n
(n = 7 to 0)
Input/output port
7
6
5
4
3
2
1
0
Address
At Reset
PM9
PM97
PM96
PM95
PM94
PM93
PM92
PM91
PM90
FFFFF42EH
FFH
Bit Position
Bit Name
Function
7 to 0
PM9n
(n = 7 to 0)
Specifies input/output mode of P9n pin.
0: Output mode (Output buffer on)
1: Input mode (Output buffer off)
Содержание mPD703128
Страница 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 612: ......