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 />

Functional Description<br />

14.7.2 Free-Running Timer Operation<br />

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

In this mode, the counter rolls over from 0x0000 to 0xFFFF without<br />

reloading from the modulus latch and continues to decrement.<br />

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

PCSR. If the PIE bit is set in PCSR, the PIF flag issues an interrupt<br />

request to the CPU.<br />

nc...<br />

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

PIT CLOCK<br />

COUNTER<br />

MODULUS<br />

PIF<br />

14.7.3 Timeout Specifications<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 0xFFFF<br />

0x0005<br />

Figure 14-6. Counter in Free-Running Mode<br />

The 16-bit PIT counter and prescaler supports different timeout periods.<br />

The prescaler divides the system clock as selected by the PRE[3:0] bits<br />

in PCSR. The PM[15:0] bits in PMR select the timeout period.<br />

timeout period = PRE[3:0] × (PM[15:0] + 1) clocks<br />

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

Technical Data<br />

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