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.

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

Timer Modules (TIM1 and TIM2)<br />

Interrupts<br />

15.10.2 Pulse Accumulator Overflow (PAOVF)<br />

PAOVF is set when the 16-bit pulse accumulator rolls over from $FFFF<br />

to $0000. If the PAOVI bit in TIMPACTL is also set, PAOVF generates<br />

an interrupt request. Clear PAOVF by writing a 1 to it.<br />

NOTE:<br />

When the fast flag clear all enable bit, TFFCA, is set, any access to the<br />

pulse accumulator counter registers clears all the flags in TIMPAFLG.<br />

15.10.3 Pulse Accumulator Input (PAIF)<br />

nc...<br />

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

NOTE:<br />

15.10.4 Timer Overflow (TOF)<br />

NOTE:<br />

PAIF is set when the selected edge is detected at the PAI pin. In event<br />

counter mode, the event edge sets PAIF. In gated time accumulation<br />

mode, the trailing edge of the gate signal at the PAI pin sets PAIF. If the<br />

PAI bit in TIMPACTL is also set, PAIF generates an interrupt request.<br />

Clear PAIF by writing a 1 to it.<br />

When the fast flag clear all enable bit, TFFCA, is set, any access to the<br />

pulse accumulator counter registers clears all the flags in TIMPAFLG.<br />

TOF is set when the timer counter rolls over from $FFFF to $0000. If the<br />

TOI bit in TIMSCR2 is also set, TOF generates an interrupt request.<br />

Clear TOF by writing a 1 to it.<br />

When the timer channel 3 registers contain $FFFF and TCRE is set,<br />

TOF never gets set even though the timer counter registers go from<br />

$FFFF to $0000.<br />

When the fast flag clear all bit, TFFCA, is set, any access to the timer<br />

counter registers clears timer flag register 2. The TFFCA bit is in timer<br />

system control register 1 (TIMSCR1).<br />

When TOF is set, it does not inhibit future overflow events.<br />

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

Technical Data<br />

MOTOROLA Timer Modules (TIM1 and TIM2) 327<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!