XC886/888CLM
Capture/Compare Unit 6
User’s Manual
14-19
V1.3, 2010-02
CCU6, V 1.0
14.1.5
Multi-Channel Mode
The multi-channel mode offers the possibility of modulating all six T12-related outputs.
The bits in bit field MCMP are used to select the outputs that may become active. If the
multi-channel mode is enabled (bit MCMEN = 1), only those outputs that have a 1 at the
corresponding bit positions in bit field MCMP may become active.
This bit field has its own shadow bit field MCMPS, which can be written by software. The
transfer of the new value in MCMPS to the bit field MCMP can be triggered by and
synchronized to T12 or T13 events. This structure permits the software to write the new
value, which is then taken into account by the hardware at a well-defined moment and
synchronized to a PWM period. This avoids unintended pulses due to unsynchronized
modulation sources (T12, T13, SW).
Figure 14-15 Modulation Selection and Synchronization
shows the modulation selection for the multi-channel mode. The event that
triggers the update of bit field MCMP is chosen by SWSEL. If the selected switching
event occurs, the reminder flag R is set. This flag monitors the update request and it is
automatically reset when the update takes place. In order to synchronize the update of
MCMP to a PWM generated by T12 or T13, bit field SWSYN allows the selection of the
Correct
Hall Event
MCMP
MCMPS
to modulation
selection
6
write by software
6
T12pm
T13pm
SW
SEL
T12c1cm
T13zm
SW
SYN
T12zm
direct
T12om
clear
IDLE
O
R
write to
bitfield
MCMPS
with
STRMCM =
'1'
R
set
reset
no action
O
R
A
N
D
shadow transfer
interrupt
CCU6_mod_sync_int
STR
set
*
Содержание 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...