Hitachi H8S/2646 Hardware Manual page 261

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

Advertisement

Pin
Selection Method and Pin Functions
P12/PO10/
The pin function is switched as shown below according to the combination of
TIOCC0/TCLKA
the operating mode, and the TPU channel 0 setting (by bits MD3 to MD0 in
TMDR0, bits IOC3 to IOC0 in TIOR0L, and bits CCLR2 to CCLR0 in TCR0),
bits TPSC2 to TPSC0 in TCR0 to TCR5, bit NDER10 in NDERH, and bit
P12DDR.
TPU Channel
0 Setting
P12DDR
NDER10
Pin function
TPU Channel
0 Setting
MD3 to MD0
IOC3 to IOC0
CCLR2 to
CCLR0
Output
function
Notes: *1 TIOCC0 input when MD3 to MD0 = B'0000, and IOC3 to IOC0 =
Table
Below (1)
TIOCC0
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 TCLKA input when the setting for TCR0 to TCR5 is: TPSC2 to
TPSC0 = B'100.
TCLKA input when channels 1 and 5 are set to phase counting
mode.
*3 TIOCD0 output is disabled.
When BFA = 1 or BFB = 1 in TMDR0, output is disabled and
setting (2) applies.
Table Below (2)
0
P12 input
P12 output
TIOCC0 input
TCLKA input
(1)
(2)
(1)
B'001x
B'0010
B'xx00
PWM
mode 1
output
1
1
0
1
PO10 output
* 1
* 2
(1)
(2)
B'0011
Other than B'xx00
Other
B'101
than
B'101
PWM
mode 2
*3
output
x: Don't care
229

Advertisement

Table of Contents
loading

Table of Contents