15-2
MCF5272 User’s Manual
Timer Operation
Figure 15-1. Timer Block Diagram
15.2 Timer Operation
The timer units consist of four identical, independent 16-bit timers, timers 0–3. For timers
0 and 1, the clock input to the prescaler is selected from the main clock (divided by 1 or 16)
or from the corresponding timer input (TIN0 or TIN1) pin. For timers 2 and 3, the clock
input to the prescaler can be selected only from the main clock (divided by 1 or 16). TIN is
internally synchronized to the internal clock, with a synchronization delay between two and
three main clocks. The clock input source is selected by the CLK bits of the corresponding
timer mode register (TMR0–TMR3). The prescaler is programmed to divide the clock input
by values from 1 to 256. The output of the prescaler is used as an input to the 16-bit counter.
Data [16)
Timer
Clock
Generator
Divider
Timer Mode Register (TMR0)
Prescaler
Mode Bits
Timer Counter (TCN0)
15
0
Timer Reference Register (TRR0)
15
0
Capture Register (TCR0)
15
0
15
0
Capture
Detection
System Clock or
System Clock/16
TIN0
TOUT0
Clock
Timer 0
Timer 1
Interrupt (T1)
Interrupt (T0)
TOUT1
TIN1
Timer
Clock
Generator
Divider
Timer Mode Register (TMR 2)
Prescaler
Mode Bits
Timer Counter (TCN2)
15
0
Timer Reference Register (TRR2)
15
0
Timer Capture Register (TCR2)
15
0
15
0
Capture
Detection
System Clock or
System Clock/16
UART0_RxD
Clock
Timer 2
Timer 3
Interrupt (T3)
Interrupt (T2)
UART1_RxD
Timer Event Register (TER0)
15
0
Timer Event Register (TER2)
15
0
Summary of Contents for DigitalDNA ColdFire MCF5272
Page 1: ...MCF5272UM D Rev 0 02 2001 MCF5272 ColdFire Integrated Microprocessor User s Manual ...
Page 38: ...xxxviii MCF5272 User s Manual TABLES Table Number Title Page Number ...
Page 58: ...1 10 MCF5272 User s Manual MCF5272 Specific Features ...
Page 90: ...2 42 MCF5272 User s Manual Exception Processing Overview ...
Page 96: ...3 6 MCF5272 User s Manual MAC Instruction Execution Timings ...
Page 158: ...5 46 MCF5272 User s Manual Motorola Recommended BDM Pinout ...
Page 184: ...7 12 MCF5272 User s Manual Interrupt Controller Registers ...
Page 338: ...13 44 MCF5272 User s Manual Application Examples ...
Page 414: ...18 6 MCF5272 User s Manual PWM Programming Model ...
Page 452: ...19 38 MCF5272 User s Manual Power Supply Pins ...
Page 482: ...20 30 MCF5272 User s Manual Reset Operation ...
Page 492: ...21 10 MCF5272 User s Manual Non IEEE 1149 1 Operation ...