Port 3 Data Register (P3DR)—H'FFB6
P3DR is an 8-bit register containing the data for pins P3
7
to P3
0
. When the CPU reads P3DR, for
output pins it reads the value in the P3DR latch, but for input pins, it obtains the logic level directly
from the pin, bypassing the P3DR latch.
Port 3 Input Pull-Up Control Register (P3PCR)—H'FFAE
Bit
7
6
5
4
3
2
1
0
P3
7
PCR P3
6
PCR P3
5
PCR P3
4
PCR P3
3
PCR P3
2
PCR P3
1
PCR P3
0
PCR
Initial value
0
0
0
0
0
0
0
0
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
P3PCR is an 8-bit readable/writable register that controls the input pull-up transistors in port 3. If a
bit in P3DDR is cleared to “0” (designating input) and the corresponding bit in P3PCR is set to “1,”
the input pull-up transistor for that bit is turned on.
Modes 1 and 2: In the expanded modes, port 3 is automatically used as the data bus. The values
in P3DDR, P3DR, and P3PCR are ignored.
Mode 3: In the single-chip mode, port 3 can be used as a general-purpose input/output port.
Bit
7
6
5
4
3
2
1
0
P3
7
P3
6
P3
5
P3
4
P3
3
P3
2
P3
1
P3
0
Initial value
0
0
0
0
0
0
0
0
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
85
Содержание H8/326 Series
Страница 67: ...58 ...
Страница 121: ...112 ...
Страница 274: ... 3 Clock Settling Timing Ø VCC RES STBY tOSC1 tOSC1 Figure 14 8 Clock Setting Timing 265 ...
Страница 279: ...270 ...