CPC700 User’s Manual—Preliminary
9-5
• The corresponding Interrupt Enable bit must be set (1) in the GPT Interrupt Enable (GPTIE) Register
• The Time Base Counter must increment to the same value programmed in the corresponding Com-
pare Timer (COMPx) Register, excluding Compare Mask (MASKx) Register bits.
• If enabled in the CPC700 interrupt controller, the compare timer interrupt will be sent to the processor.
9.2.4 Interrupt Generation
The capture and compare interrupts are implemented as ten separate interrupt lines to the CPC700 inter-
rupt controller, one for each of the five capture and five compare timers. If enabled in the interrupt control-
ler, a timer interrupt can be used to interrupt the processor.
9.2.5 GPT Register Reset Values
The GPT may be reset via software in either of two ways. The first way to reset the GPT is with the
GPT_RST bit in the CPRRESET register. To save on power consumption, only those registers required to
bring the GPT to a stable state are reset with GPT_RST. Other registers should be programmed first
before being used. Table 97 shows which registers are reset with GPT_RST and which are not.
The second way to reset the GPT is with the GPT_TBC_RST bit in the CPRRESET register. This bit only
resets the TBC register. Both GPT_RST and GPT_TBC_RST reset the TBC register to zero. Refer to Sec-
tion 6.5.2, “Peripheral Reset Control Register (CPRRESET)” for details.
Table 97. GPT Registers Reset Values
Register
Alias
Register Name
Reset with
GPT_RST
GPT_RST
Reset Value
TBC
Time Base Counter
Yes
32’h 00000000
GPTCE
GPT Capture Enable
Yes
32’h 00000000
GPTEC
GPT Edge-Detection Con-
trol
No
N/A
GPTSC
GPT Synchronization Con-
trol
No
N/A
GPTIM
GPT Interrupt Mask
Yes
32’h F800F800
GPTIS
GPT Interrupt Status
No
N/A
GPTIE
GPT Interrupt Enable
No
N/A
CAPTx
Capture (1/5)
No
N/A
COMPx
Compare (1/5)
No
N/A
MASKx
Compare Mask (1/5)
No
N/A
Summary of Contents for CPC700
Page 10: ...Table of Contents x Table of Contents...
Page 16: ...Tables xvi List of Tables...
Page 28: ...1 12 CPC700 User s Manual Preliminary...
Page 72: ...3 36 Processor Interface...
Page 132: ...4 60 Memory Controller...
Page 184: ...5 52 PCI Interface...
Page 194: ...6 10 Clock Power Management and Reset...
Page 224: ...8 18 IIC...
Page 244: ...10 10 Interrupt Controller...
Page 246: ...I 11 2 JTAG...
Page 250: ...12 4 Processor Local Bus PLB...
Page 262: ...14 10 Register Summary...
Page 267: ...CPC700 User s Manual Preliminary...