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

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

Register Descriptions<br />

18.8.6 Status Registers<br />

This subsection describes the QADC status registers.<br />

18.8.6.1 QADC Status Register 0<br />

The QADC status register 0 (QASR0) contains information about the<br />

state of each queue and the current A/D conversion.<br />

Stop mode resets the register ($0000)<br />

nc...<br />

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

Address: 0x00ca_0010 and 0x00ca_0011<br />

Read:<br />

Write:<br />

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

CF1 PF1 CF2 PF2 TOR1 TOR2<br />

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

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

Read: QS7 QS6 CWP5 CWP4 CWP3 CWP2 CWP1 CWP0<br />

Write:<br />

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

Read: Anytime<br />

Write:<br />

For flag bits (CF1, PF1, CF2, PF2, TOR1, TOR2): Writing a 1 has no<br />

effect, write a 0 to clear.<br />

For QA[9:6] and CWP: Write has no effect.<br />

Never in stop mode<br />

QS9<br />

QS8<br />

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

Figure 18-11. QADC Status Register 0 (QASR0)<br />

CF1 — Queue 1 Completion Flag<br />

CF1 indicates that a queue 1 scan has been completed. The scan<br />

completion flag is set by the QADC when the input channel sample<br />

requested by the last CCW in queue 1 is converted, and the result is<br />

stored in the result table.<br />

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

Technical Data<br />

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