5.7 Port 6
Port 6 is an 8-bit input/output port that also provides input and output pins for the 16-bit free-
running timer and 8-bit timers. The pin functions depend on control bits in the control registers of
the timers. Pins not used by the timers are available for general-purpose input/output. Table 5-15
lists the pin functions, which are the same in both the expanded and single-chip modes.
Table 5-15. Port 6 Pin Functions (Modes 1 to 3)
Usage
Pin functions (Modes 1 to 3)
I/O port
P6
0
P6
1
P6
2
P6
3
P6
4
P6
5
P6
6
P6
7
16-bit timer
FTCI
FTOA
FTIA
FTIB
FTIC
FTID
FTOB
—
8-bit timer
TMCI
0
— — TMRI
0
TMO
0
TMCI
1
TMRI
1
TMO
1
See section 6, “16-Bit Free-Running Timer,” and section 7, “8-Bit Timers” for details of the timer
control bits.
Pins of port 6 can drive a single TTL load and a 90pF capacitive load when they are used as output
pins. They can also drive a Darlington pair.
Table 5-16 details the port 6 registers.
Table 5-16. Port 6 Registers
Name
Abbreviation
Read/Write
Initial value
Address
Port 6 data direction register
P6DDR
W
H'00
H'FFB9
Port 6 data register
P6DR
R/W
H'00
H'FFBB
Port 6 Data Direction Register (P6DDR)—H'FFB9
P6DDR is an 8-bit register that selects the direction of each pin in port 6. A pin functions as an
output pin if the corresponding bit in P6DDR is set to “1,” and as an input pin if the bit is cleared to
“0.”
Bit
7
6
5
4
3
2
1
0
P6
7
DDR P6
6
DDR P6
5
DDR P6
4
DDR P6
3
DDR P6
2
DDR P6
1
DDR P6
0
DDR
Initial value
0
0
0
0
0
0
0
0
Read/Write
W
W
W
W
W
W
W
W
101
Содержание 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 ...