TC1784
System Control Unit (SCU)
User´s Manual
3-89
V1.1, 2011-05
32-bit SCU, V1.18
Figure 3-23 Event Trigger Logic Overview
When the selected event (edge) is detected, the status flag EIFR.INTFx becomes set.
the status flag is cleared automatically if the “opposite” event is detected if enabled so
via bit EICRy.LDENx = 1. 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 detection where the actual status of the input is important (enabling both edge
detections is not useful in this mode).
The output of the status flag is connected to all following Output Gating Units (OGUz) in
parallel (see
) to provide
pattern detection capability of all OGUz
units
based on different or the same status flags.
In addition to the modification of the status flag, a trigger pulse output TRxz of ETLx can
be enabled (by bit EICRy.EIENx) and selected to
trigger actions in one of the OGUz
units. The target OGUz for the trigger is selected by bit field EICRy.INPx.
The trigger becomes active when the selected edge event is detected, independently
from the status flag EIFR.INTFx.
ERU_ETL.vsd
set
clear
Event Trigger
Logic x (ETLx)
TRx0
to
OGU0
EIFR.INTFx
to all OGU y
Input
channel x
ERSx
Detect
Event
(edge)
EICRm.
FENx
EICRm.
RENx
trigger
pulse
Status Flag
EIFR.INTFx
Modify
Status
Flag
EICRm.
LDENx
EICRm.
EIENx
Select
Trigger
Output
EICRm.
INPx
Enable
Trigger
Pulse
TRx1
to
OGU1
TRx2
to
OGU2
TRx3
to
OGU3
edge event
set
FMR.
FCx
FMR.
FSx
clear
Summary of Contents for TC1784
Page 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Page 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Page 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...