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

Memory Map and Registers<br />

14.6.2.1 PIT Control and Status Register<br />

Address: PIT1 — 0x00c8_0000 and 0x00c8_0001<br />

PIT2 — 0x00c9_0000 and 0x00c9_0001<br />

Bit 15 14 13 12 11 10 9 Bit 8<br />

Read: 0 0 0 0<br />

Write:<br />

PRE3 PRE2 PRE1 PRE0<br />

Reset: 0 0 0 0 0 0 0 0<br />

nc...<br />

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

Read: 0<br />

Write:<br />

Bit 7 6 5 4 3 2 1 Bit 0<br />

PDOZE PDBG OVW PIE PIF RLD EN<br />

Reset: 0 0 0 0 0 0 0 0<br />

= Writes have no effect and the access terminates without a transfer error exception.<br />

Figure 14-2. PIT Control and Status Register (PCSR)<br />

PRE[3:0] — Prescaler Bits<br />

The read/write PRE[3:0] bits select the system clock divisor to<br />

generate the PIT clock as Table 14-2 shows.<br />

To accurately predict the timing of the next count, change the<br />

PRE[3:0] bits only when the enable bit (EN) is clear. Changing the<br />

PRE[3:0] resets the prescaler counter. System reset and the loading<br />

of a new value into the counter also reset the prescaler counter.<br />

Setting the EN bit and writing to PRE[3:0] can be done in this same<br />

write cycle. Clearing the EN bit stops the prescaler counter.<br />

PDOZE — Doze Mode Bit<br />

The read/write PDOZE bit controls the function of the PIT in doze<br />

mode. Reset clears PDOZE.<br />

1 = PIT function stopped in doze mode<br />

0 = PIT function not affected in doze mode<br />

When doze mode is exited, timer operation continues from the state<br />

it was in before entering doze mode.<br />

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

Technical Data<br />

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