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
Summary of Contents for mPD789026 Subseries
Page 2: ...User s Manual U11919EJ3V0UM00 2 MEMO...
Page 8: ...User s Manual U11919EJ3V0UM00 8 MEMO...
Page 12: ...User s Manual U11919EJ3V0UM00 12 MEMO...
Page 22: ...User s Manual U11919EJ3V0UM00 22 MEMO...
Page 32: ...User s Manual U11919EJ3V0UM00 32 MEMO...
Page 84: ...User s Manual U11919EJ3V0UM00 84 MEMO...
Page 92: ...User s Manual U11919EJ3V0UM00 92 MEMO...
Page 104: ...User s Manual U11919EJ3V0UM00 104 MEMO...
Page 166: ...User s Manual U11919EJ3V0UM00 166 MEMO...
Page 178: ...User s Manual U11919EJ3V0UM00 178 MEMO...
Page 184: ...User s Manual U11919EJ3V0UM00 184 MEMO...
Page 204: ...User s Manual U11919EJ3V0UM00 204 MEMO...
Page 206: ...User s Manual U11919EJ3V0UM00 206 MEMO...