CHAPTER 14 PORT FUNCTION
User’s Manual U13850EJ6V0UD
501
(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.
Caution
When using port 9 as an I/O port, set the BIC bit of the system control register (SYC) to 0. After
the system is reset, the BIC bit is 0.
(2) Control register
(a) Port 9 mode register (PM9)
PM9 can be read/written in 1-bit or 8-bit units.
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
Содержание V850/SB1
Страница 2: ...User s Manual U13850EJ6V0UD 2 MEMO ...