Hitachi H8S/2678 Series Reference Manual page 213

16-bit single-chip microcomputer
Table of Contents

Advertisement

Pin
Selection Method and Pin Functions
P16/PO14/
The pin function is switched as shown below according to the combination of the
TIOCA2/
TPU channel 2 settings (by bits MD3 to MD0 in TMDR2, bits IOA3 to IOA0 in
EDRAK2
TIOR2, and bits CCLR1 and CCLR0 in TCR2), bit NDER14 in NDERH, bit
EDRAKE in EDMDR2 and bit P16DDR.
Modes 1, 2, 4, 5, 6, 7 (EXPE = 1)
EDRAKE
TPU channel 2
settings
P16DDR
NDER14
Pin function
Mode 7 (EXPE = 0)
EDRAKE
TPU channel 2
settings
P16DDR
NDER14
Pin function
Note:
TPU channel 2
settings
MD3 to MD0
IOA3 to IOA0
CCLR1, CCLR0
Output function
Note:
196
(1) in table
below
TIOCA2
output
(1) in table
below
TIOCA2 output
1. TIOCA2 input when MD3 to MD0 = B'0000 or B'01XX and IOA3 = 1.
(2)
B'0000, B'01xx
B'0000
B'0001 to B'0011
B'0100
B'0101 to B'0111
B'1xxx
2. TIOCB2 output disabled.
0
(2) in table below
0
P16
input
output
0
P16 input
(1)
(2)
B'001x
B'xx00
Output compare
output
1
1
0
1
P16
PO14
output
1
TIOCA2 input*
(2) in table below
1
0
P16 output
1
TIOCA2 input*
(1)
(1)
B'0010
Other than B'xx00
Other
than
B'10
2
PWM*
PWM
mode 1
mode 2
output
output
1
EDRAK2
output
1
1
PO14 output
(2)
B'0011
B'10
x: Don't care

Advertisement

Table of Contents
loading

Table of Contents