CHAPTER 4 PORT FUNCTIONS
User's Manual U11919EJ3V0UM00
71
4.2 Port Configuration
Ports have the following hardware configuration.
Table 4-2. Port Configuration
Parameter
Configuration
Control register
Port mode register (PMm: m = 0 to 5)
Pull-up resistor option register (PUO)
Port
Total: 34 (input/output: 34)
Pull-up resistor
Total: 34 (on-chip pull-up resistor can be connected by software)
4.2.1 Port 0
This is an 8-bit I/O port with output latch. Port 0 can be specified in the input or output mode in 1-bit units by
using the port mode register 0 (PM0). When using P00 to P07 pins as input port pins, on-chip pull-up resistors can
be connected in 8-bit units by using the pull-up resistor option register (PUO).
RESET input sets port 0 to input mode.
Figure 4-2 shows the block diagram of port 0.
Figure 4-2. Block Diagram of P00 to P07
Internal Bus
WR
PUO
RD
WR
PORT
WR
PM
Output Latch
(P00 to P07)
PM00 to PM07
Selector
PUO0
V
DD0
P-ch
P00 to P07
PUO : Pull-up resistor option register
PM
: Port mode register
RD
: Port 0 read signal
WR : Port 0 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...