159
Table 7.12
Port A Pin Functions (Modes 1 and 2)
Pin
Pin Functions and Selection Method
PA
7
/TP
7
/
TIOCB
2
Bit PWM2 in TMDR, bits IOB2 to IOB0 in TIOR2, bit NDER7 in NDERA, and bit
PA7DDR select the pin function as follows.
16-bit timer
channel 2 settings
(1) in table below
(2) in table below
PA
7
DDR
—
0
1
1
NDER7
—
—
0
1
Pin function
TIOCB
2
output
PA
7
input
PA
7
output
TP
7
output
TIOCB
2
input*
Note: * TIOCB
2
input when IOB2 = 1 and PWM2 = 0.
16-bit timer
channel 2 settings
(2)
(1)
(2)
IOB2
0
1
IOB1
0
0
1
—
IOB0
0
1
—
—
PA
6
/TP
6
/
TIOCA
2
Bit PWM2 in TMDR, bits IOA2 to IOA0 in TIOR2, bit NDER6 in NDERA, and bit
PA
6
DDR select the pin function as follows.
16-bit timer
channel 2 settings
(1) in table below
(2) in table below
PA
6
DDR
—
0
1
1
NDER6
—
—
0
1
Pin function
TIOCA
2
output
PA
6
input
PA
6
output
TP
6
output
TIOCA
2
input*
Note: * TIOCA
2
input when IOA2 = 1.
16-bit timer
channel 2 settings
(2)
(1)
(2)
(1)
PWM2
0
1
IOA2
0
1
—
IOA1
0
0
1
—
—
IOA0
0
1
—
—
—
Содержание H8/3008
Страница 1: ...Hitachi 16 Bit Microcomputer H8 3008 Hardware Manual ADE 602 221 Rev 1 0 9 14 00 Hitachi Ltd ...
Страница 4: ......
Страница 17: ...xii ...
Страница 70: ...54 ...
Страница 114: ...98 ...
Страница 154: ...138 ...
Страница 314: ...298 ...
Страница 412: ...396 ...
Страница 496: ...480 ...