Fujitsu MB89202 Computer Hardware User Manual


 
95
CHAPTER 4 I/O PORTS
Block Diagram of Port 5
Figure 4.5-1 Block Diagram of Port 5
Registers of Port 5
The registers PDR5, DDR5, and PUL5 are associated with port 5.
One of the bits of these registers corresponds to one pin of port 5.
Table 4.5-2 tabulates the correspondence between the pin and a bit of the port 5 registers.
DDR
P-ch
N-ch
PDR
PUL
Internal data bus
PDR read
PDR read
(when read-modify-write is
performed)
Output latch
PDR write
DDR write
PUL read
Stop mode (SPL = 1)
Output from
peripheral
Output
enable
from
peripheral
Pull-up resistor
Pin
Stop mode (SPL = 1)
PUL write
DDR read
Table 4.5-2 Correspondence between the Pin and a Bit of the Port 5 Registers
Port name Bits of associated registers and corresponding pins
Port 5
PDR5, DDR5, PUL5 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0
Pin corresponding to bit - - - - - - - P50