NEC uPD78054(A) Manuale Utente
![NEC](https://files.manualsbrain.com/attachments/44abc27a7ab3d3ebaea5604c1237604964b3b528/common/fit/150/50/0a4ba346278cf7fed7416c8056bd03af105e868674aa2dfa47e23e007d42/brand_logo.png)
141
CHAPTER 6 PORT FUNCTIONS
P-ch
WR
PM
WR
PORT
RD
WR
PUO
V
DD
Selector
PUO3
Output Latch
(P30 to P37)
(P30 to P37)
PM30-PM37
Internal bus
Alternate Function
P30/TO0
P32/TO2,
P33/TI1,
P34/TI2,
P35/PCL,
P36/BUZ,
P37
P33/TI1,
P34/TI2,
P35/PCL,
P36/BUZ,
P37
6.2.5 Port 3
Port 3 is an 8-bit input/output port with output latch. P30 to P37 pins can specify the input mode/output mode in
1-bit units with the port mode register 3 (PM3). When P30 to P37 pins are used as input ports, an on-chip pull-up
resistor can be used to them in 8-bit units with a pull-up resistor option register L (PUOL).
Alternate functions include timer input/output, clock output and buzzer output.
RESET input sets port 3 to input mode.
Figure 6-9 shows a block diagram of port 3.
Figure 6-9. P30 to P37 Block Diagram
PUO : Pull-up resistor option register
PM
: Port mode register
RD
: Port 3 read signal
WR : Port 3 write signal