Hitachi H8S/2646 Hardware Manual page 272

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

Advertisement

Pin
Selection Method and Pin Functions
P21/TIOCB3
Switches as follows according to the combinations of the TPU channel 3
setting made using bits MD3 to MD0 of TMDR3, bits IOB3 to IOB0 of TIOR3L,
and bits CCR2 to CCR0 of TCR3, as well as the P21DDR bit.
TPU Channel
3 Setting
P21DDR
Pin function
TPU Channel
3 Setting
MD3 to MD0
IOB3 to IOB0
CCLR2 to
CCLR0
Output
function
240
Table Below (1)
TIOCB3 output
(2)
(1)
B'0000
B'0000
B'0001 to
B'0011
B'0100
B'0101 to
B'1xxx
B'0111
Output
compare
output
Table Below (2)
0
P21 input
TIOCB3 input
(2)
(2)
B'0010
B'0011
B'xx00
Other than B'xx00
mode 2
1
P21 output
(1)
(2)
Other
B'010
than
B'010
PWM
output

Advertisement

Table of Contents
loading

Table of Contents