TC1784
General Purpose Timer Array (GPTA
®
v5)
User´s Manual
21-62
V1.1, 2011-05
GPTA
®
v5, V1.14
Logical Operating Cells
The inter-cell communication architecture allows implementation of a complex waveform
generation to be distributed over several GTCs, controlling a common port pin.
For example, one GTC may be configured in Capture Mode triggered by a rising edge
detected on the associated input pin line. The related interrupt service routine can
increment the captured timer value by a delay offset and store the result in the GTCXR
register of the adjacent GTC configured in Compare Mode. Upon a compare event in the
second GTC, the output port line of a third GTC can be set via M1O, M0O interface lines.
When the GTCXR register of the third cell is loaded with another compare value by the
interrupt service routine related to the second GTC, the output port line may be reset by
the next compare event within GTC3.
This logical operating cell provides an output signal with programmable pulse width and
configurable delay with minimal software overhead.
GTC Service Request
The service request output SQSk of a Global Timer Cell GTCk is controlled as shown in
. When the GTCk service request condition becomes active, the service
request flag always becomes set. The service request output SQSk is only activated if it
is enabled by the enable bit GTCCTRk.REN. Additional information about service
request and interrupt handling is given on
.
Figure 21-46 GTCk Service Request Generation
MCA05955
REN
GTCCTRk
GTCk
GTCk
GTCk
SRSS1 (read)
SRSR1 (read)
Set
SQSk
SRSS1 (write)
SRSC1 (write)
GTCk service request
becomes active
Set
Reset
Содержание TC1784
Страница 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Страница 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Страница 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...