English
Language : 

XC164-16 Datasheet, PDF (69/417 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller with C166SV2 Core Volume 2 (of 2): Peripheral Units
XC164-16 Derivatives
Peripheral Units (Vol. 2 of 2)
The General Purpose Timer Units
14.3
Interfaces of the GPT Module
Besides the described intra-module connections, the timer unit blocks GPT1 and GPT2
are connected to their environment in two basic ways (see Figure 14-32):
• Internal connections interface the timers with on-chip resources such as clock
generation unit, interrupt controller, or other timers.
• External connections interface the timers with external resources via port pins.
System
Control
Unit
f GPT
GPTDIS
Interrupt
Control
Unit
T2IRQ
T3IRQ
T4IRQ
T5IRQ
T6IRQ
CRIRQ
CAPCOM
Units
T6OUF
General
Purpose
Timer
Units
T2EUD
T4EUD
T2IN
T3IN
T4IN
T3EUD
T3OUT
T5IN
T6IN
T5EUD
T6EUD
CAPIN
T6OUT
P5.15
P5.14
P3.7
P3.6
P3.5
P3.4
P3.3
P5.13
P5.12
P5.11
P5.10
P3.2
P3.1
mc_gpt0105_modinterface_x.vsd
Figure 14-32 GPT Module Interfaces
Port pins to be used for timer input signals must be switched to input, the respective
direction control bits must be cleared (DPx.y = 0).
Port pins to be used for timer output signals must be switched to output, the respective
direction control bits must be set (DPx.y = 1). The alternate timer output signal must be
selected for these pins via the respective alternate select registers (see Chapter 7).
Interrupt nodes to be used for timer interrupt requests must be enabled and programmed
to a specific interrupt level.
User’s Manual
GPT_X41, V2.0
14-56
V2.1, 2004-03