XC886/888CLM
Capture/Compare Unit 6
User’s Manual
14-13
V1.3, 2010-02
CCU6, V 1.0
•
Bit T13R is set/reset by software by setting bit T13RS or T13RR.
•
In single-shot mode, if bit T13SSC = 1, the bit T13R is reset by hardware when T13
reaches its period value.
•
Bit fields T13TEC and T13TED select the trigger event that will set bit T13R for
synchronization of different T12 compare events.
The T13 counter register can be reset to zero by setting bit T13RES. Setting of T13RES
has no impact on bit T13R.
14.1.2.2
Compare Mode
Register CC63R is the actual compare register for T13. The value stored in CC63R is
compared to the counter value of T13. The register CC63R can only be read by software
and the modification of the value is done by a shadow register transfer from register
CC63SR. The corresponding shadow register CC63SR can be read and written by
software.
Register T13PR contains the period value for timer T13. The period value is compared
to the actual counter value of T13 and the resulting counter actions depend on the
defined counting rules.
The bit CC63ST indicates the occurrence of a compare event of the corresponding
channel. It can be set (if it is 0) by the following events:
•
a software set (MCC63S)
•
a compare set event (T13 counter value above the compare value) if the T13 runs
and if the T13 set event is enabled
The bit CC63ST can be reset (if it is 1) by the following events:
•
a software reset (MCC63R)
•
a compare reset event (T13 counter value below the compare value) if the T13 runs
and if the T13 reset event is enabled (including in single-shot mode at the end of the
T13 period)
Timer T13 is used to modulate the other output signals with a T13 PWM. In order to
decouple COUT63 from the internal modulation, the compare state can be selected
independently by bits T13IM and COUT63PS.
14.1.2.3
Single-Shot Mode
The single-shot mode of timer T13 is selected when bit T13SSC is set to 1. In single-shot
mode, the timer T13 stops automatically at the end of its counting period. If the end of
period event is detected while bit T13SSC is set, the bit T13R and the bit CC63ST are
reset.
14.1.2.4
Synchronization of T13 to T12
The timer T13 can be synchronized on a T12 event. The events include:
*
Содержание XC886CLM
Страница 1: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 3: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 324: ...XC886 888CLM Serial Interfaces User s Manual 12 52 V1 3 2010 02 Serial Interfaces V 1 0...
Страница 663: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG...