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

Register Descriptions<br />

PIE2 — Queue 2 Pause Software Interrupt Enable Bit<br />

PIE2 enables an interrupt when queue 2 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 2<br />

which has the pause bit set.<br />

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

nc...<br />

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

SSE2 — Queue 2 Single-Scan Enable Bit<br />

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

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

when the MQ2 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 SSE2 bit<br />

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

operation on queue 2. The QADC clears the SSE2 bit when the<br />

single-scan is complete.<br />

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

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

MQ2[12:8] — Queue 2 Operating Mode Field<br />

The MQ2 field selects the queue operating mode for queue 2.<br />

Table 18-6 shows the bits in the MQ2 field which enable different<br />

queue 2 operating modes.<br />

MQ2[12:8]<br />

Table 18-6. Queue 2 Operating Modes<br />

Operating Modes<br />

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

00001 Software triggered single-scan mode (started with SSE2)<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 x 2 7<br />

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

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

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

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

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

Technical Data<br />

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