28.10.2014 Views

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Timer Modules (TIM1 and TIM2)<br />

<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />

15.8.4.2 Gated Time Accumulation Mode<br />

Setting the PAMOD bit configures the PA for gated time accumulation<br />

operation. An active level on the PAI pin enables a divide-by-64 clock to<br />

drive the PA. The PA edge bit, PEDGE, selects low levels or high levels<br />

to enable the divided-by-64 clock.<br />

The trailing edge of the active level at the PAI pin sets the PA input flag,<br />

PAIF. The PA input interrupt enable bit, PAI, enables the PAIF flag to<br />

generate interrupt requests.<br />

nc...<br />

<strong>Freescale</strong> <strong>Semiconductor</strong>, I<br />

NOTE:<br />

NOTE:<br />

The PAI input and timer channel 3 use the same pin. To use the PAI<br />

input, disconnect it from the output logic by clearing the channel 3 output<br />

mode and output level bits, OM3 and OL3. Also clear the channel 3<br />

output compare mask bit, OC3M3.<br />

The PA counter registers, TIMPACNTH/L reflect the number of pulses<br />

from the divide-by-64 clock since the last reset.<br />

The timer prescaler generates the divide-by-64 clock. If the timer is not<br />

active, there is no divide-by-64 clock.<br />

CHANNEL 3 OUTPUT COMPARE<br />

OM3<br />

OL3<br />

PULSE<br />

ACCUMULATOR<br />

OC3M3<br />

Figure 15-26. Channel 3 Output Compare/Pulse Accumulator Logic<br />

PAD<br />

Technical Data <strong>MMC2107</strong> – Rev. 2.0<br />

324 Timer Modules (TIM1 and TIM2) MOTOROLA<br />

For More Information On This Product,<br />

Go to: www.freescale.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!