TC1796
Peripheral Units (Vol. 2 of 2)
General Purpose Timer Array (GPTA)
User’s Manual
24-39
V2.0, 2007-07
GPTA, V2.0
GT Interrupt Control
Each of the GTs is able to generate a service request output signal SQTk. This signal is
controlled as shown in
. On a GTk timer overflow, the service request flag
GT0k is always set. The service request output SQTk is activated only if it is enabled by
the enable bit GTCTRk.REN. Additional information about service request and interrupt
handling is given in section
“Interrupt Sharing Unit (IS)” on Page 24-112
Figure 24-26 GTk Service Request Generation
Synchronization of Global Timers
Both Global Timers, GT0 and GT1, can be enabled and disabled individually. Each GT
has its own run signal GTkRUN that is generated outside the GPTA kernel (see also
). Signal GTkRUN is generated in a GPTA clock control unit. This external
control capability makes it possible to control the run signals GTkRUN in a way that all
Global Timers of one or more GPTA modules can be enabled/disabled synchronously.
The two Global Timers will run synchronously only if all of the following conditions are
true:
•
Timers use the same input signal
•
Timers are started (and stopped, if required) synchronously
•
Timers use identical start and reload values
•
Timers are not written while they are running
MCA05935_mod
REN
GTCTRk
GT0k
GT0k
GT0k
SRSS0 (read )
SRSR0 (read )
Set
SQTk
SRSS0 (write)
SRSC0 (write)
Timer Overflow
Set
Clear