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

nc...<br />

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

18.10.3 Scan Modes<br />

Another pause and end-of-queue boundary condition occurs when the<br />

pause and an end-of-queue condition occur in the same CCW. Both the<br />

pause and end-of-queue conditions are recognized simultaneously. The<br />

end-of-queue condition has precedence so a conversion is not<br />

performed for the CCW and the pause flag is not set. The QADC sets the<br />

completion flag and the queue status becomes idle. Examples of this<br />

situation are:<br />

• The pause bit is set in CCW10 and EOQ is programmed into<br />

CCW10.<br />

• During queue 1 operation, the pause bit set in CCW32, which is<br />

also BQ2.<br />

The QADC queuing mechanism allows the application to utilize different<br />

requirements for automatically scanning input channels.<br />

In single-scan mode, a single pass through a sequence of conversions<br />

defined by a queue is performed. In continuous-scan mode, multiple<br />

passes through a sequence of conversions defined by a queue are<br />

executed. The possible modes are:<br />

• Disabled mode and reserved mode<br />

• Software-initiated single-scan mode<br />

• External trigger single-scan mode<br />

• External gated single-scan mode<br />

• Interval timer single-scan mode<br />

• Software-initiated continuous-scan mode<br />

• External trigger continuous-scan mode<br />

• External gated continuous-scan mode<br />

• Periodic timer continuous-scan mode<br />

These paragraphs describe single-scan and continuous-scan<br />

operations.<br />

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

466 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!