![Infineon Technologies XC2200 Скачать руководство пользователя страница 429](http://html1.mh-extra.com/html/infineon-technologies/xc2200/xc2200_user-manual_2055439429.webp)
XC2200 Derivatives
System Units (Vol. 1 of 2)
System Control Unit (SCU)
User’s Manual
6-169
V2.1, 2008-08
SCU, V1.13
6.8.4
Event Trigger Logic (ETLx)
For each Input Channel x (x = 0-3), an event trigger logic ETLx derives a trigger event
and a status from the input ERUxO delivered by the associated ERSx unit. Each ETLx
is based on an edge detection block, where the detection of a rising or a falling edge can
be individually enabled. Both edges lead to a trigger event if both enable bits are set (e.g.
to handle a toggling input).
Each of the four ETLx units has an associated EXICONx register, that controls all options
of an ETLx (the register also holds control bits for the associated ERSx unit, e.g.
to control ESR0 and ETL0).
Figure 6-26 Event Trigger Logic Overview
When the selected event (edge) is detected, the status flag EXICONx.FL becomes set.
This flag can also be modified by software (set or clear). Two different operating modes
are supported by this status flag.
It can be used as “sticky” flag, that is set by hardware when the desired event has been
detected and has to be cleared by software. In this operating mode, it indicates that the
event has taken place, but without indicating the actual status of the input.
In the second operating mode, it is cleared automatically if the “opposite” event is
detected. For example, if only the falling edge detection is enabled to set the status flag,
it is cleared when the rising edge is detected. In this mode, it can be used for pattern
ERU_ETL.vsd
set
clear
Event Trigger
Logic x (ETLx)
TRx0
to
OGU0
EXICONx.FL
to all OGUy
ERSxO
ERSx
Detect
Event
(edge)
EXICONx.
FE
EXICONx.
RE
trigger pulse
Status Flag
FL
Modify
Status
Flag
EXICONx.
LD
EXICONx.
PE
Select
Trigger
Output
EXICONx.
OCS
Enable
Trigger
Pulse
TRx1
to
OGU1
TRx2
to
OGU2
TRx3
to
OGU3
edge event