Datasheet
Timer Module
14-2 MCF5206e USER’S MANUAL MOTOROLA
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
1
Figure 14-1. Timer Block Diagram Module Operation
14.3 GENERAL-PURPOSE TIMER UNITS
The general-purpose timer units provide the following features:
• You can program timers to count and compare to a reference value stored in a register
or capture the timer value at an edge detected on the TIN pin
• An 8-bit prescalar output clocks the timers
• You can program the prescalar clock input
• Programmed events generate interrupts
• You can configure the TOUT pin to toggle or pulse on an event
The maximum resolution of each timer is one system clock cycle (18.5 ns at 54 MHz). To
obtain the maximum period, divide the system clock by 16, set the prescaler value to divide
by 256, and load the reference value with ones. This maximum period is 268,435,456 cycles
(4.97 seconds at 54 MHz).
TIMER
CLOCK
GENERATOR
DIVIDER
MODE REGISTER
PRESCALER MODE BITS
TIMER COUNTER
15 0
REFERENCE REGISTER
15 0
CAPTURE REGISTER
15 0
15 0
70
EVENT REG
CAPTURE
DETECTION
SYSTEM CLOCK OR
SYSTEM
CLOCK/16
TIN
TOUT
DATA BUS (16)
GENERAL-PURPOSE TIMER
CLOCK
IRQ
BUS
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
