![Infineon Technologies TC1796 Скачать руководство пользователя страница 1718](http://html1.mh-extra.com/html/infineon-technologies/tc1796/tc1796_user-manual_20554371718.webp)
TC1796
Peripheral Units (Vol. 2 of 2)
General Purpose Timer Array (GPTA)
User’s Manual
24-63
V2.0, 2007-07
GPTA, V2.0
GTC Application Examples
The Global Timers together with GTCs can typically be used for input signal timing
analysis of very complex input signals as well as for generation of complex output
signals.
shows a configuration with Global Timer 0 and four GTCs, which
is used in the following two examples:
•
Example 1: Complex input signal capturing and analyzing
•
Example 2: Complex periodical output signal generation
Figure 24-47 Complex Input/Output Signal Capturing/Generation with GTs and
GTCs
Complex Input Signal Capturing and Analyzing
In this application example, one input signal from a GTC input multiplexer group
becomes analyzed from a timing reference point for three consecutive signal transitions.
This common input signal (e.g. a port line) is selected by a GTC input multiplexer group
(GIMG) common for GTC01, GTC02, and GTC03 (see also
). The GTCs
are configured in the following way:
•
GT0 operates as free-running up-counting 24-bit timer with reload to GTREV0.REV
on overflow. It is clocked by one clock signal from the clock bus.
•
GTC00 operates in Compare Mode with timer GT0. The compare match event is
reported on the M0O/M1O output lines to the GTC01.
MCA05956
GTC00
M1I
M0I
M1O M0O
Global Timer
GT0
Clock
Bus
0
0
GTV0
GTC01IN
GTC02IN
GTC03IN
GIMG
xy
TGE0
TEV0
GTC01
M1I
M0I
M1O M0O
GTC02
M1I
M0I
M1O M0O
GTC03
M1I
M0I
M1O M0O
GTC03OUT