![Hitachi H8/3008 Hardware Manual Download Page 175](http://html.mh-extra.com/html/hitachi/h8-3008/h8-3008_hardware-manual_140473175.webp)
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
—
—
—
Summary of Contents for H8/3008
Page 1: ...Hitachi 16 Bit Microcomputer H8 3008 Hardware Manual ADE 602 221 Rev 1 0 9 14 00 Hitachi Ltd ...
Page 4: ......
Page 17: ...xii ...
Page 70: ...54 ...
Page 114: ...98 ...
Page 154: ...138 ...
Page 314: ...298 ...
Page 412: ...396 ...
Page 496: ...480 ...