TC1796
Peripheral Units (Vol. 2 of 2)
General Purpose Timer Array (GPTA)
User’s Manual
24-37
V2.0, 2007-07
GPTA, V2.0
24.2.3
Signal Generation Unit
As described in detail in the following sections, the Signal Generation Unit contains three
types of modules:
•
Global Timer (GT)
•
Global Timer Cell (GTC)
•
Local Timer Cell (LTC)
24.2.3.1 Global Timers (GT)
The GPTA provides two global 24-bit timers (GT) that are connected to the clock bus with
its eight clock lines. Each GT is locally equipped with a clock source multiplexer, a 24-bit
up-counter, a 24-bit reload register, and a 24-bit greater/equal comparator (see
Note: Index variable k (= 0, 1) determines the number of the Global Timer.
Figure 24-25 Block Diagram of Global Timer (GT)
The following registers are assigned to the Global Timers GTk (k = 0, 1):
•
GTCTRk = Global Timer Control Register k (see
•
GTREVk = Global Timer Reload Value Register k (see
•
GTTIMk = Global Timer Register k (see
)
•
SRSC0 = Service Request State Clear Register 0 (see
•
SRSS0 = Service Request State Set Register 0 (see
)
MCB05934
MUX
GTCTRk
Clock
Bus
.
.
.
Clock
Select
TIM (24-Bit Timer)
GTTIMk
REV (24-Bit Reload)
GTREVk
TEVk
REN
GTCTRk
&
GPTA Data Bus
MUX (16:1)
SCO
GTCTRk
TGEk
Reload
3
4
≥
SQTk
GTVk
CLK0
CLK1
CLK6
CLK7