XC886/888CLM
Capture/Compare Unit 6
User’s Manual
14-61
V1.3, 2010-02
CCU6, V 1.0
Field
Bits
Type Description
T13CLK
2:0
rw
Timer T13 Input Clock Select
Selects the input clock for timer T13 which is derived
from the peripheral clock according to the equation
f
T13
=
f
CCU
/2
<T13CLK>
.
000
f
T13
=
f
CCU
001
f
T13
=
f
CCU
/2
010
f
T13
=
f
CCU
/4
011
f
T13
=
f
CCU
/8
100
f
T13
=
f
CCU
/16
101
f
T13
=
f
CCU
/32
110
f
T13
=
f
CCU
/64
111
f
T13
=
f
CCU
/128
T13PRE
3
rw
Timer T13 Prescaler Bit
In order to support higher clock frequencies, an
additional prescaler factor of 1/256 can be enabled for
the prescaler for T13.
0
The additional prescaler for T13 is disabled.
1
The additional prescaler for T13 is enabled.
T13R
4
rh
Timer T13 Run Bit
T13R starts and stops timer T13. It is set/reset by
software by setting bits T13RS or T13RR or it is
set/reset by hardware according to the function
defined by bit fields T13SSC, T13TEC and T13TED.
0
Timer T13 is stopped.
1
Timer T13 is running.
A concurrent set/reset action on T13R (from T13SSC,
T13TEC, T13RR or T13RS) will have no effect. The bit
T13R will remain unchanged.
STE13
5
rh
Timer T13 Shadow Transfer Enable
Bit STE13 enables or disables the shadow transfer of
the T13 period value, the compare value and passive
state select bit and level from their shadow registers to
the actual registers if a T13 shadow transfer event is
detected. Bit STE13 is cleared by hardware after the
shadow transfer.
A T13 shadow transfer event is a period-match.
0
The shadow register transfer is disabled.
1
The shadow register transfer is enabled.
*