XC886/888CLM
Capture/Compare Unit 6
User’s Manual
14-6
V1.3, 2010-02
CCU6, V 1.0
The switching rules are considered only while the timer is running. As a result, write
actions to the timer registers while the timer is stopped do not lead to compare actions.
14.1.1.4
Compare Mode of T12
In compare mode, the registers CC6xR (x = 0 - 2) are the actual compare registers for
T12. The values stored in CC6xR are compared (all three channels in parallel) to the
counter value of T12. The register CC6xR can only be read by software and the
modification of the value is done by a shadow register transfer from register CC6xSR.
Register T12PR contains the period value for timer T12. The period value is compared
to the actual counter value of T12 and the resulting counter actions depend on the
defined counting rules.
shows an example in the center-aligned mode without dead-time. The bit
CC6xST indicates the occurrence of a capture or compare event of the corresponding
channel. It can be set (if it is 0) by the following events:
•
a software set (MCC6xS)
•
a compare set event (T12 counter value above the compare value) if the T12 runs
and if the T12 set event is enabled
•
upon a capture set event
The bit CC6xST can be reset (if it is 1) by the following events:
•
a software reset (MCC6xR)
•
a compare reset event (T12 counter value below the compare value) if the T12 runs
and if the T12 reset event is enabled (including in single-shot mode at the end of the
T12 period)
•
a reset event in the hysteresis-like control mode
The bit CC6xPS represents passive state select bit. The timer T12’s two output lines
(CC6x, COUT6x) can be selected to be in the passive state while CC6xST is 0 (with
CC6xPS = 0) or while CC6xST is 1 (with CC6xPS = 1).
The output level that is driven while the output is in the passive state is defined by the
corresponding bit in bit field PSL.
shows the settings of CC6xPS/COUT6xPS and PSL for different
applications. The examples are in the center-aligned mode with dead-time.
Hardware modifications of the compare state bits are only possible while timer T12 is
running. Therefore, the bit T12R can be used to enable/disable the modification by
hardware.
*
Содержание 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...