Hitachi H8S/2646 Hardware Manual page 263

Hitachi 16-bit single-chip microcomputer h8s/2646 series
Table of Contents

Advertisement

Pin
Selection Method and Pin Functions
P10/PO8/TIOCA0 The pin function is switched as shown below according to the combination of
the operating mode, and the TPU channel 0 setting (by bits MD3 to MD0 in
TMDR0, bits IOA3 to IOA0 in TIOR0H, and bits CCLR2 to CCLR0 in TCR0), bit
NDER8 in NDERH, SAE0 bit in DMABCRH, and bit P10DDR.
TPU Channel
0 Setting
P10DDR
NDER8
Pin function
TPU Channel
0 Setting
MD3 to MD0
IOA3 to IOA0
CCLR2 to
CCLR0
Output
function
Notes: *1 TIOCA0 input when MD3 to MD0 = B'0000, and IOA3 to IOA0 =
Table
Below (1)
TIOCA0
output
(2)
B'0000
B'0000
B'0001 to
B'0011
B'0100
B'0101 to
B'1xxx
B'0111
Output
compare
output
B'10xx.
*2 TIOCB0 output is disabled.
Table Below (2)
0
P10
input
output
TIOCA0 input
(1)
(2)
(1)
B'001x
B'0010
B'xx00
PWM
mode 1
output
1
1
0
1
P10
PO8
output
*1
(1)
(2)
B'0011
Other than B'xx00
Other
B'001
than
B'001
PWM
mode 2
*2
output
x: Don't care
231

Advertisement

Table of Contents
loading

Table of Contents