Figure 17-3
is a block diagram of the CPM timers.
TGCR
Global Configuration Register
TER1
TMR1
Prescaler
Divider
TCN1
Timer Counter (TCN)
TRR1
Reference Register (TRR)
TCR1
Capture Register (TCR)
Timer1
Timer2
Timer3
Timer4
17.2.1
Features
The following list summarizes the main features of the CPM timers:
•
Maximum period of 10.7 seconds (at 25 MHz)
•
40-ns resolution (at 25 MHz)
•
Programmable sources for the clock input
•
Input capture capability
•
Output compare with programmable mode for the output pin
•
Timers are cascadeable to form 32-bit timers
•
Free run and restart modes
•
Timer 1 is used with the PCMCIA speaker inputs to generate alerts on SPKROUT.
17.2.2
CPM Timer Operation
The following subsections describe the timer operation. The timer mode registers (TMRx) and the timer
global configuration register (TGCR) mentioned in this section are described in
Timer Register Set."
Freescale Semiconductor
Event Register
Mode Register
Mode Bits
Clock
Figure 17-3. CPM Timer Block Diagram
MPC885 PowerQUICC Family Reference Manual, Rev. 2
Communications Processor Module and CPM Timers
General
System Clock
Timer
Clock
Generator
Capture
Detection
Section 17.2.3, "CPM
TGATE1
TGATE2
TIN1
TIN2
TIN3
TIN4
TOUT1
TOUT2
TOUT3
TOUT4
17-5