MOTOROLA Chapter 17. Timers 17-1
Chapter 17 Timers
170
170

The CPM includes four identical 16-bit general-purpose timers or two 32-bit timers. Each

general-purpose timer consists of a timer mode register (TMR), a timer capture register

(TCR), a timer counter (TCN), a timer reference register (TRR), a timer event register

(TER), and a timer global conÞguration register (TGCR). The TMRs contain the prescaler

values programmed by the user.

Figure 17-1 shows the timer block diagram.

Figure 17-1. Timer Block Diagram

Pin assignments for TINx, TGATEx, and TOUTx are described in Section 35.5, ÒPorts

Tables.Ó

Timer
Capture
Detection
Timer Event Register
Mode Register
Mode BitsPrescaler
Timer Counter (TCN)
Capture Register
Reference Register
Divider Clock
TER1
TMR1
TCN1
TRR1
TCR1
General
TIN1
TOUT1
Timer1
Timer2
Timer3
Timer4
Global Configuration Register
TGATE1
TGATE2
TGCR
TIN2
TIN3
TIN4
TOUT2
TOUT3
TOUT4
System Clock
Clock
Generator