
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
The General Purpose Timer Units
User’s Manual
14-32
V2.2, 2004-01
GPT_X1, V2.0
space (see
). When any of the timer registers is written to by the CPU in
the state immediately preceding a timer increment, decrement, reload, or capture
operation, the CPU write operation has priority in order to guarantee correct results.
The interrupts of GPT2 are controlled through the Interrupt Control Registers TxIC.
These registers are not part of the GPT2 block. The input and output lines of GPT2 are
connected to pins of Ports P3 and P5. The control registers for the port functions are
located in the respective port modules.
Note: The timing requirements for external input signals can be found in
,
summarizes the module interface signals, including pins.
Figure 14-20 GPT2 Block Diagram
CAPREL
Mode
Control
T5
Mode
Control
GPT2 Timer T5
T6
Mode
Control
GPT2 Timer T6
GPT2 CAPREL
T6OTL
T5IN
T3IN/
T3EUD
CAPIN
T6IN
T6OUT
U/D
U/D
Interrupt
Request
(T5IR)
Interrupt
Request
(CRIR)
Interrupt
Request
(T6IR)
T6OUF
Clear
Capture
mc_gpt0103_bldiax1.vsd
Toggle FF
Clear
2
n
: 1
f
GPT
Basic clock
T6CON.BPS2
Reload