![Infineon Technologies XC2200 User Manual Download Page 435](http://html1.mh-extra.com/html/infineon-technologies/xc2200/xc2200_user-manual_2055439435.webp)
XC2200 Derivatives
System Units (Vol. 1 of 2)
System Control Unit (SCU)
User’s Manual
6-175
V2.1, 2008-08
SCU, V1.13
In addition, the pattern detection can deliver a trigger event if the pattern detection result
changes from match to miss or vice-versa (if enabled by EXOCONy.GEEN = 1). The
pattern result change event is logically OR-combined with the other enabled trigger
events to support interrupt generation or to trigger other module functions (e.g. in the
ADC). The event is indicated when the pattern detection result changes and
EXOCONy.PDR becomes updated.
The interrupt generation in the OGUy is based on the trigger ERU_TOUTy that can be
gated (masked) with the pattern detection result ERU_PDOUTy. This allows an
automatic and reproducible generation of interrupts during a certain time window, where
the request event is elaborated by the trigger combination block and the time window
information (gating) is given by the pattern detection. For example, interrupts can be
issued on a regular time base (peripheral trigger input from capture/compare unit is
selected) while a combination of input signals occurs (pattern detection based on ETLx
status bits).
A programmable gating scheme introduces flexibility to adapt to application
requirements and allows the generation of interrupt requests ERU_IOUTy under
different conditions:
•
Pattern match
(EXOCONy.GP = 10
B
):
An interrupt request is issued when a trigger event occurs while the pattern detection
shows a pattern match.
•
Pattern miss
(EXOCONy.GP = 11
B
):
An interrupt request is issued when the trigger event occurs while the pattern
detection shows a pattern miss.
•
Independent
of pattern detection (EXOCONy.GP = 01
B
):
In this mode, each occurring trigger event leads to an interrupt request. The pattern
detection output can be used independently from the trigger combination for gating
purposes of other peripherals (independent use of ERU_TOUTy and ERU_PDOUTy
with interrupt requests on trigger events).
•
No interrupts
(EXOCONy.GP = 00
B
, default setting)
In this mode, an occurring trigger event does not lead to an interrupt request. The
pattern detection output can be used independently from the trigger combination for
gating purposes of other peripherals (independent use of ERU_TOUTy and
ERU_PDOUTy without interrupt requests on trigger events).