English
Language : 

XC164-16 Datasheet, PDF (200/417 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller with C166SV2 Core Volume 2 (of 2): Peripheral Units
XC164-16 Derivatives
Peripheral Units (Vol. 2 of 2)
Capture/Compare Unit 6 (CAPCOM6)
Set
CHE
Reset
RCHE
SCHE
>_ 1
CM_CHE
&
ENCHE
Interrupt Req.
SWHE
CM_WHE
ENIDLE
Set
WHE
Reset
RWHE
>_ 1
&
ENWHE
SIDLE
>_1
&
Set
Reset IDLE
RIDLE
Interrupt Req.
Clear MCMP
Set
STR
Reset
RSTR
SSTR
>_ 1
MCM_ST
&
ENSTR
Interrupt Req.
MCA05540
Figure 18-36 Hall Mode Flag Logic
Please note that for flags CHE, WHE, and STR, the interrupt request generation is
triggered by the set signal for the flag. That means, a request can be generated even if
the flag is already set. There is no need to reset the flag in order to enable further
interrupt requests.
The implementation for the IDLE flag is different. It is set by HW through signal CM_WHE
if enabled by bit ENIDLE. Software can also set the flag via bit SIDLE. As long as bit IDLE
is set, the modulation pattern field MCMP is cleared to force the outputs to the passive
state. Flag IDLE must be reset by software through bit RIDLE in order to return to normal
operation. To fully restart from IDLE mode, the transfer requests for the bitfields in
register MCMOUTS to register MCMOUT have to be initiated by software via bits
STRMCM and STRHP in register MCMOUTS. In this way, the release from IDLE mode
is under software control, but can be performed synchronously to the PWM signal.
User’s Manual
CAPCOM6_X, V2.0
18-56
V2.1, 2004-03