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

Table 18-17. Error Resulting From Input Leakage (I Off )<br />

Source Impedance<br />

Leakage Value (10-Bit Conversions)<br />

100 nA 200 nA 500 nA 1000 nA<br />

1 kΩ — — 0.1 counts 0.2 counts<br />

10 kΩ 0.2 counts 0.4 counts 1 counts 2 counts<br />

100 kΩ 2 counts 4 count 10 counts 20 counts<br />

nc...<br />

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

18.12 Interrupts<br />

18.12.1 Interrupt Operation<br />

The four interrupt lines are outputs of the module and have no priority or<br />

arbitration within the module.<br />

QADC inputs can be monitored by polling or by using interrupts. When<br />

interrupts are not needed, software can disable the pause and<br />

completion interrupts and monitor the completion flag and the pause flag<br />

for each queue in the status register (QASR). In other words, flag bits<br />

can be polled to determine when new results are available.<br />

Table 18-18 shows the status flag and interrupt enable bits which<br />

correspond to queue 1 and queue 2 activity.<br />

Queue<br />

Queue 1<br />

Queue 2<br />

Table 18-18. QADC Status Flags and Interrupt Sources<br />

Queue Activity<br />

Status<br />

Flag<br />

Interrupt<br />

Enable Bit<br />

Result written to last CCW in queue 1 CF1 CIE1<br />

Result written for a CCW with pause bit set in<br />

queue 1<br />

PF1<br />

PIE1<br />

Result written to last CCW in queue 2 CF2 CIE2<br />

Result written for a CCW with pause bit set in<br />

queue 2<br />

PF2<br />

PIE2<br />

If interrupts are enabled for an event, the QADC requests interrupt<br />

service when the event occurs. Using interrupts does not require<br />

continuously polling the status flags to see if an event has taken place.<br />

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

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