28.10.2014 Views

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Programmable Interrupt Timer Modules (PIT1 and PIT2)<br />

14.7 Functional Description<br />

This subsection describes the PIT functional operation.<br />

14.7.1 Set-and-Forget Timer Operation<br />

This mode of operation is selected when the RLD bit in the PCSR<br />

register is set.<br />

nc...<br />

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

PIT CLOCK<br />

COUNTER<br />

MODULUS<br />

PIF<br />

When the PIT counter reaches a count of 0x0000, the PIF flag is set in<br />

PCSR. The value in the modulus latch is loaded into the counter, and the<br />

counter begins decrementing toward 0x0000. If the PIE bit is set in<br />

PCSR, the PIF flag issues an interrupt request to the CPU.<br />

When the OVW bit is set in PCSR, the counter can be directly initialized<br />

by writing to PMR without having to wait for the count to reach 0x0000.<br />

0x0002 0x0001 0x0000 0x0005<br />

0x0005<br />

Figure 14-5. Counter Reloading from the Modulus Latch<br />

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

290 Programmable Interrupt Timer Modules (PIT1 and PIT2) 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!