
Timer Module
MCF5272 ColdFire
®
Integrated Microprocessor User’s Manual, Rev. 3
15-2
Freescale Semiconductor
Figure 15-1. Timer Block Diagram
Timers 0 and 1 may output a signal on the timer outputs (TOUT0 or TOUT1) when the reference value is
reached, as selected by the output mode bit, TMR[OM]. This signal can be an active-low pulse or a toggle
of the current output, under program control.
The TCAPs are used to latch counter values when the corresponding input capture edge detector detects a
defined transition (of TIN0, TIN1, URT0_RxD, or URT1_RxD). The type of transition triggering the
capture is selected by the capture edge bits, TMR[CE].A capture or reference event sets the TER bit and
generates a maskable interrupt.
Data [16)
Timer
Clock
Generator
Divider
Timer Mode Register (TMR0)
Prescaler
Mode Bits
Timer Counter (TCN0)
15
0
Timer Reference Register (TRR0)
15
0
Timer Capture Register (TCAP0)
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 (TCAP2)
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