Hitachi H8S/2646 Hardware Manual page 271

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

Advertisement

Pin
Selection Method and Pin Functions
P22/TIOCC3
Switches as follows according to the combinations of the TPU channel 3
setting made using bits MD3 to MD0 of TMDR3, bits IOC3 to IOC0 of TIOR3L,
and bits CCR2 to CCR0 of TCR3, as well as the P22DDR bit.
TPU Channel
3 Setting
P22DDR
Pin function
TPU Channel
3 Setting
MD3 to MD0
IOC3 to IOC0
CCLR2 to
CCLR0
Output
function
Note: * TIOCD3 output prohibited.
Table Below (1)
TIOCC3 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
P22 input
TIOCC3 input
(2)
(1)
B'001x
B'0010
B'xx00
Other than B'xx00
PWM
mode 1
mode 2
output *
1
P22 output
(1)
(2)
B'0011
Other
B'101
than
B'101
PWM
output
239

Advertisement

Table of Contents
loading

Table of Contents