CHAPTER 14 PORT FUNCTION
User’s Manual U13850EJ4V0UM
409
(1) Function of P11 pins
Port 11 is a 4-bit (total) port for which I/O settings can be controlled in 1-bit units.
In output mode, the values set to each bit (bit 0 to bit 3) are output to the port register (P11).
When using this port in input mode, the pin statuses can be read by reading the P11 register. Also, the P11
register (output latch) values can be read by reading the P11 register while in output mode (bit 0 to bit 3 only).
A pull-up resistor can be connected in 1-bit units for P110 to P113 when specified via pull-up resistor option
register 11 (PU11).
The on/off of wait function can be switched with a port-alternate function control register (PAC).
When using the alternate function as A1 to A4 pins, set the pin functions via the memory address output mode
register (MAM). At this time, be sure to clear P11 and PM11 to 0.
When a reset is input, the settings are initialized to input mode.
Caution A wait function generated by the WAIT pin cannot be used while a separate bus is being used.
However, a programmable wait is possible.
(2) Control register
(a) Port 11 mode register (PM11)
PM11 can be read/written in 1-bit or 8-bit units.
Figure 14-42. Port 11 Mode Register (PM11)
After reset:
1FH
R/W
Address: FFFFF036H
7
6
5
4
3
2
1
0
PM11
0
0
0
1
PM113
PM112
PM111
PM110
PM11n
Control of I/O mode (n = 0 to 3)
0
Output mode
1
Input mode
Содержание MPD703030A
Страница 2: ...User s Manual U13850EJ4V0UM 2 MEMO ...
Страница 514: ...User s Manual U13850EJ4V0UM 514 MEMO ...