CHAPTER 14 PORT FUNCTION
User’s Manual U13850EJ4V0UM
402
(1) Function of P9 pins
Port 9 is a 7-bit I/O port for which I/O settings can be controlled in 1-bit units. I/O settings are controlled via the
port 9 mode register (PM9).
In output mode, the values set to each bit are output to the port 9 register (P9).
When using this port in input mode, the pin statuses can be read by reading the P9 register. Also, the P9
register (output latch) values can be read by reading the P9 register while in output mode.
A software pull-up function is not implemented.
When using the P9 for control signals in expansion mode, set the pin functions via the memory expansion mode
register (MM).
When a reset is input, the settings are initialized to input mode.
(2) Control register
(a) Port 9 mode register (PM9)
PM9 can be read/written in 1-bit or 8-bit units.
Figure 14-34. Port 9 Mode Register (PM9)
After reset:
7FH
R/W
Address: FFFFF032H
7
6
5
4
3
2
1
0
PM9
0
PM96
PM95
PM94
PM93
PM92
PM91
PM90
PM9n
Control of I/O mode (n = 0 to 6)
0
Output mode
1
Input mode
Содержание MPD703030A
Страница 2: ...User s Manual U13850EJ4V0UM 2 MEMO ...
Страница 514: ...User s Manual U13850EJ4V0UM 514 MEMO ...