TC1784
General Purpose Timer Array (GPTA
®
v5)
User´s Manual
21-65
V1.1, 2011-05
GPTA
®
v5, V1.14
Complex Periodic Output Signal Generation
This application example uses the GT/GTC configuration as shown in
. The
generated output signal is available at GTC03OUT. The GTC input signals of the
GT/GTC configuration are not used in this example.
•
GT0 operates as free-running up-counting 24-bit timer with reload to GTREV0.REV
on overflow. It is clocked by a clock signal from the clock bus. Its reload period
determines the period of the generated PWM output signal.
•
GTC00 operates in Compare Mode with timer GT0 with enable-on-action set (EOA
set) and One Shot Mode enabled (OSM set). Furthermore, the output GTC03OUT
becomes
set
on a local event (OCM = X11
B
).
•
GTC01 operates in Compare Mode with timer GT0 with enable-on-action set (EOA
set) and One Shot Mode enabled (OSM set). Furthermore, the output GTC03OUT
becomes
reset
on a local event (OCM = 110
B
).
•
GTC02 operates in Compare Mode with timer GT0 with enable-on-action set (EOA
set) and One Shot Mode enabled (OSM set). Furthermore, the output GTC03OUT
becomes
set
on a local event (OCM = 111
B
).
•
GTC03 operates in Compare Mode with timer GT0 with enable-on-action set (EOA
set) and One Shot Mode enabled (OSM set). Furthermore, the output GTC03OUT
becomes
reset
on a local event (OCM = 110
B
).
Figure 21-49 Complex Output Signal Generation with GTCs
At the start of the time period (reload of GT0), GTC00 becomes active and waits for the
compare event. At this event, it sets the output signal GTC03OUT, enables GTC01 for
MCD05958
GT0 Timer
Value
Timer
Value
Start of
Time Period
Time
FFFFFF
H
GTC00 Active
GTC01 Active
GTC02 Active
GTC03 Active
Data Output
GTC03OUT
GTCXR03.X
GTCXR02.X
GTCXR01.X
GTCXR00.X
GTREV0.REV
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 ...