n Block diagram of pins of port 5
Figure 8.5 shows the block diagram of the pins of port 5.
PDR (port data register)
PDR read
PDR write
DDR (port direction register)
DDR write
DDR read
n Registers for port 5
The registers for port 5 are PDR5 and DDR5. The bits composing each register correspond to the pins of
port 5 1-to-1. Table 8-20 shows the correspondence between the registers and the pins for port 5.
Table 8-20 Correspondence between Registers and Pins for Port 5
Port Name
PDR5, DDR5
Port 5
Corresponding pin
Resource input
Output latch
Direction latch
Fig. 8.5 Block Diagram of Pins of Port 5
Bits of Related Registers and Corresponding Pins
bit 15
bit 14
P57
I/O PORT
Resource output
Standby control (SPL = 1)
bit 13
bit 12
P56
P55
P54
8-27
Resource output enable
bit 11
bit 10
bit 9
P53
P52
P51
Pin
bit 8
P50