118
CHAPTER 5 PORT FUNCTIONS
User’s Manual U12697EJ3V0UM
5.2.4 Port 3
Port 3 is an 8-bit I/O port with output latch. The P30 to P37 pins can specify the input mode/output mode in 1-
bit units with the port 3 mode register. A pull-up resistor can be connected via pull-up resistor option register 3,
regardless of whether the input mode or output mode is specified.
Port 3 supports timer input/output as an alternate function.
RESET input sets port 3 to the input mode.
Figures 5-8 and 5-9 show a block diagram of port 3.
Figure 5-8. Block Diagram of P30 to P32, and P37
P-ch
WR
PM
WR
PORT
RD
WR
PU
V
DD
Selector
PU30 to PU32,
PU37
Output latch
(P30 to P32, P37)
PM30 to PM32,
PM37
Internal bus
Alternate function
P30/TO0 to
P32/TO2,
P33/TI1,
P37/EXA
PU: Pull-up resistor option register
PM: Port mode register
RD: Port 3 read signal
WR: Port 3 write signal