392
T
able 10-11 (c) ITU Operating Modes (Channel 2)
Register Settings
TSNC
TMDR
TFCR
T
OCR
T
OER
TIOR2
TCR2
Reset-
Comple-
Synchro-
Output
Synchro-
mentary nized
Buffer-
Level
Master
Clear
Clock
Operating Mode
nization
MDF
FDIR
PWM
PWM
PWM
ing
XTGD
Select
Enable
IOA
IOB
Select
Select
Synchronous preset
SYNC2 = 1
o
—
o
——
—
—
—
—
ooo
o
PWM mode
oo
—
PWM2 = 1
—
—
—
—
—
—
—
o
*
oo
Output compare A
oo
—
PWM2 = 0
—
—
—
—
—
—
IOA2 = 0
oo
o
Other bits
unrestricted
Output compare B
oo
—
o
——
—
—
—
—
o
IOB2 = 0
oo
Other bits
unrestricted
Input capture A
oo
—
PWM2 = 0
—
—
—
—
—
—
IOA2 = 1
oo
o
Other bits
unrestricted
Input capture B
oo
—
PWM2 = 0
—
—
—
—
—
—
o
IOB2 = 1
oo
Other bits
unrestricted
Counter By
compare
oo
—
o
——
—
—
—
—
oo
CCLR1 = 0
o
clearing
match/input
CCLR0 = 1
capture A
By compare
oo
—
o
——
—
—
—
—
oo
CCLR1 = 1
o
match/input
CCLR0 = 0
capture B
Syn-
SYNC2 = 1
o
—
o
——
—
—
—
—
oo
CCLR1 = 1
o
chronous
CCLR0 = 1
clear
Phase counting
o
MDF = 1
oo
——
—
—
—
—
ooo
—
mode
Legend:
o
Setting available (valid). — Setting does not af
fect this mode.
Note:
*
The input capture function cannot be used in PWM mode. If compare match A and compare match B occur simultaneously
, the compare
match signal is inhibited.
www.DataSheet4U.com