mcf5307cft90b Freescale Semiconductor, Inc, mcf5307cft90b Datasheet - Page 297

no-image

mcf5307cft90b

Manufacturer Part Number
mcf5307cft90b
Description
Mcf5307 Coldfire Integrated Microprocessor User
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Freescale Semiconductor, Inc.
Chapter 13
Timer Module
This chapter describes the configuration and operation of the two general-purpose timer
modules (timer 0 and timer 1). It includes programming examples.
13.1 Overview
The timer module incorporates two independent, general-purpose 16-bit timers, timer 0 and
timer 1. The output of an 8-bit prescaler clocks each timer. There are two sets of registers,
one for each timer. The timers can operate from the system bus clock (BCLKO) or from an
external clocking source using one of the TIN signals. If BCLKO is selected, it can be
divided by 16 or 1.
Figure 13-1 is a block diagram of one of the two identical ti5mer modules.
GENERAL-PURPOSE TIMER
System Bus
Clock
(÷1 or ÷16)
Timer Mode Register (TMRn)
Timer
Prescaler
Mode Bits
Clock
Generator
TIN
Divider
clock
15
0
Capture
Timer Counter (TCNn)
Detection
(contains incrementing value)
15
0
15
0
Timer Capture Register (TCRn)
Timer Reference Register (TRRn)
TOUT
(latches TCN value when triggered by TIN)
(reference value for comparison with TCN)
Timer Event Register (TERn)
IRQn
(indicates capture or when TCN = TRRn)
Figure 13-1. Timer Block Diagram
Chapter 13. Timer Module
13-1
For More Information On This Product,
Go to: www.freescale.com

Related parts for mcf5307cft90b