XC886/888CLM
Capture/Compare Unit 6
User’s Manual
14-64
V1.3, 2010-02
CCU6, V 1.0
counting up
- counting down >> a T12 channel 0, 1, 2 compare match triggers T13R only while T12
is counting down
- independent from bit CDIR >> each T12 channel 0, 1, 2 compare match triggers T13R
The timer count direction is taken from the value of bit CDIR. As a result, if T12 is running
in edge-aligned mode (counting up only), T13 can only be started automatically if bit field
T13TED = 01
B
or 11
B
.
TCTR2H
Timer Control Register 2 High
Reset Value: 00
H
7
6
5
4
3
2
1
0
0
T13
RSEL
T12
RSEL
r
rw
rw
Field
Bits
Type Description
T12RSEL
1:0
rw
Timer T12 External Run Selection
Bit field T12RSEL defines the event of signal T12HR
that can set the run bit T12R by hardware.
00
The external setting of T12R is disabled.
01
Bit T12R is set if a rising edge of signal T12HR
is detected.
10
Bit T12R is set if a falling edge of signal T12HR
is detected.
11
Bit T12R is set if an edge of signal T12HR is
detected.
T13RSEL
3:2
rw
Timer T13 External Run Selection
Bit field T13RSEL defines the event of signal T13HR
that can set the run bit T13R by hardware.
00
The external setting of T13R is disabled.
01
Bit T13R is set if a rising edge of signal T13HR
is detected.
10
Bit T13R is set if a falling edge of signal T13HR
is detected.
11
Bit T13R is set if an edge of signal T13HR is
detected.
0
7:4
r
Reserved
Returns 0 if read; should be written with 0.
*