English
Language : 

MMC2107 Datasheet, PDF (321/618 Pages) –
Freescale Semiconductor, Inc.
Timer Modules (TIM1 and TIM2)
Functional Description
15.7.20 Timer Test Register
The timer test register (TIMTST) is only for factory testing. When not in
test mode, TIMTST is read-only.
Address: TIM1 — 0x00ce_001f
TIM2 — 0x00cf_001f
Bit 7
6
5
4
3
2
1
Bit 0
Read: 0
0
0
0
0
0
0
0
Write:
Reset: 0
0
0
0
0
0
0
0
= Writes have no effect and the access terminates without a transfer error exception.
Figure 15-25. Timer Test Register (TIMTST)
15.8 Functional Description
The timer module is a 16-bit, 4-channel timer with input capture and
output compare functions and a pulse accumulator.
15.8.1 Prescaler
The prescaler divides the module clock by 1, 2, 4, 8, 16, 32, 64, or 128.
The PR[2:0] bits in TIMSCR2 select the prescaler divisor.
15.8.2 Input Capture
Clearing an I/O select bit, IOSx, configures channel x as an input capture
channel. The input capture function captures the time at which an
external event occurs. When an active edge occurs on the pin of an input
capture channel, the timer transfers the value in the timer counter into
the timer channel registers, TIMCxH and TIMCxL.
The minimum pulse width for the input capture input is greater than two
module clocks.
The input capture function does not force data direction. The timer port
data direction register controls the data direction of an input capture pin.
MMC2107 – Rev. 2.0
MOTOROLA
Timer Modules (TIM1 and TIM2)
For More Information On This Product,
Go to: www.freescale.com
Technical Data
321