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

Queued Analog-to-Digital Converter (QADC)<br />

PIE1 — Queue 1 Pause Interrupt Enable Bit<br />

PIE1 enables an interrupt when queue 1 enters the pause state. The<br />

interrupt request is initiated when conversion is complete for a CCW<br />

that has the pause bit set.<br />

1 = Enable an interrupt after an end-of-conversion for queue 1<br />

which has the pause bit set.<br />

0 = Disable the pause interrupt associated with queue 1.<br />

nc...<br />

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

SSE1 — Queue 1 Single-Scan Enable Bit<br />

SSE1 enables a single-scan of queue 1 to start after a trigger event<br />

occurs. The SSE1 bit may be set to a 1 during the same write cycle<br />

when the MQ1 bits are set for one of the single-scan queue operating<br />

modes. The single-scan enable bit can be written as a 1 or a 0, but is<br />

always read as a 0, unless a test mode is selected. The SSE1 bit<br />

enables a trigger event to initiate queue execution for any single-scan<br />

operation on queue 1.The QADC clears the SSE1 bit when the<br />

single-scan is complete.<br />

1 = Accept a trigger event to start queue 1 in a single-scan mode.<br />

0 = Trigger events are not accepted for single-scan modes.<br />

MQ1[12:8] — Queue 1 Operating Mode Field<br />

The MQ1 field selects the queue operating mode for queue 1.<br />

Table 18-5 shows the bits in the MQ1 field which enable different<br />

queue 1 operating modes.<br />

MQ1[12:8]<br />

Table 18-5. Queue 1 Operating Modes<br />

Operating Mode<br />

00000 Disabled mode, conversions do not occur<br />

00001 Software-triggered single-scan mode (started with SSE1)<br />

00010 External-trigger rising-edge single-scan mode<br />

00011 External-trigger falling-edge single-scan mode<br />

00100 Interval timer single-scan mode: time = QCLK period × 2 7<br />

00101 Interval timer single-scan mode: time = QCLK period × 2 8<br />

00110 Interval timer single-scan mode: time = QCLK period × 2 9<br />

00111 Interval timer single-scan mode: time = QCLK period × 2 10<br />

01000 Interval timer single-scan mode: time = QCLK period × 2 11<br />

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

420 Queued Analog-to-Digital Converter (QADC) 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!