CHAPTER 4 I/O PORTS
■
Block Diagram of Port 7
■
Registers PDR7, DDR7, and PUL7 of Port 7
Registers PDR7, DDR7, and PUL7 are associated with port 7.
The bits of these registers correspond to the pins of port 7 in one-to-one correspondence.
Table 4.7-2 tabulates the correspondence between the pins and the bits of the port 7 registers.
Table 4.7-2 Correspondence between the Pins and the Bits of the Port 7 Registers
Port name
PDR7, DDR7, PUL7
Port 7
Pin corresponding to bit
108
Figure 4.7-1 Block Diagram of Port 7
PDR
PDR read
PDR read
(when read-modify-write is
performed)
Output latch
PDR write
DDR
DDR write
DDR read
PUL read
PUL
PUL write
Bits of associated registers and corresponding pins
bit7
Stop mode (SPL = 1)
Stop mode (SPL = 1)
bit6
bit5
bit4
-
-
-
Pull-up resistor
Pch
Pin
Nch
bit3
bit2
-
-
P72
bit1
bit0
P71
P70