CHAPTER 4 PORT FUNCTIONS
User's Manual U11919EJ3V0UM00
78
4.2.6 Port 5
This is a 4-bit I/O port with output latch. Port 5 can be specified in the input or output mode in 1-bit units by using
the port mode register 5 (PM5). When using P50 to P53 pins as input port pins, on-chip pull-up resistors can be
connected in 4-bit units by using the pull-up resistor option register (PUO).
The pins of this port are also used as the data I/O pins of the timer.
RESET input sets port 5 to input mode.
Figures 4-9 through 4-11 show the block diagrams of port 5.
Figure 4-9. Block Diagram of P50
Internal Bus
V
DD0
P-ch
P50/TI0/TO0
WR
PUO
RD
WR
PORT
WR
PM
PUO5
Alternate
Function
Output Latch
(P50)
PM50
Alternate
Function
Selector
PUO : Pull-up resistor option register
PM
: Port mode register
RD
: Port 5 read signal
WR : Port 5 write signal
www.DataSheet4U.com
Summary of Contents for UPD789022
Page 2: ...User s Manual U11919EJ3V0UM00 2 MEMO www DataSheet4U com ...
Page 8: ...User s Manual U11919EJ3V0UM00 8 MEMO www DataSheet4U com ...
Page 12: ...User s Manual U11919EJ3V0UM00 12 MEMO www DataSheet4U com ...
Page 22: ...User s Manual U11919EJ3V0UM00 22 MEMO www DataSheet4U com ...
Page 32: ...User s Manual U11919EJ3V0UM00 32 MEMO www DataSheet4U com ...
Page 84: ...User s Manual U11919EJ3V0UM00 84 MEMO www DataSheet4U com ...
Page 92: ...User s Manual U11919EJ3V0UM00 92 MEMO www DataSheet4U com ...
Page 104: ...User s Manual U11919EJ3V0UM00 104 MEMO www DataSheet4U com ...
Page 166: ...User s Manual U11919EJ3V0UM00 166 MEMO www DataSheet4U com ...
Page 178: ...User s Manual U11919EJ3V0UM00 178 MEMO www DataSheet4U com ...
Page 184: ...User s Manual U11919EJ3V0UM00 184 MEMO www DataSheet4U com ...
Page 204: ...User s Manual U11919EJ3V0UM00 204 MEMO www DataSheet4U com ...
Page 206: ...User s Manual U11919EJ3V0UM00 206 MEMO www DataSheet4U com ...
Page 212: ...User s Manual U11919EJ3V0UM00 212 MEMO www DataSheet4U com ...