MOTOROLA
Chapter 27. Queued Analog-to-Digital Converter (QADC)
27-51
Digital Control Subsystem
• Externally gated single-scan mode
• Interval timer single-scan mode
NOTE
Queue 2 cannot be programmed for externally gated
single-scan mode.
In all single-scan queue operating modes, queue execution is enabled by writing the
single-scan enable bit to a 1 in the queue’s control register. The single-scan enable bits,
SSE1 and SSE2, are provided for queue 1 and queue 2, respectively.
Until a queue’s single-scan enable bit is set, any trigger events for that queue are ignored.
The single-scan enable bit may be set to a 1 during the same write cycle that selects the
single-scan queue operating mode. The single-scan enable bit can be written only to 1, but
will always read 0. Once set, writing the single-scan enable bit to 0 has no effect. Only the
QADC can clear the single-scan enable bit. The completion flag, completion interrupt, or
queue status is used to determine when the queue has completed.
After the single-scan enable bit is set, a trigger event causes the QADC to begin execution
with the first CCW in the queue. The single-scan enable bit remains set until the queue is
completed. After the queue reaches completion, the QADC resets the single-scan enable bit
to 0. Writing the single-scan enable bit to a 1 or a 0 before the queue scan is complete has
no effect; however, if the queue operating mode is changed, the new queue operating mode
and the value of the single-scan enable bit are recognized immediately. The conversion in
progress is aborted, and the new queue operating mode takes effect.
In software-initiated single-scan mode, writing a 1 to the single-scan enable bit causes the
QADC to generate a trigger event internally, and queue execution begins immediately. In
the other single-scan queue operating modes, once the single-scan enable bit is written, the
selected trigger event must occur before the queue can start. The single-scan enable bit
allows the entire queue to be scanned once. A trigger overrun is captured if a trigger event
occurs during queue execution in an edge-sensitive external trigger mode or a
periodic/interval timer mode.
In the interval timer single-scan mode, the next expiration of the timer is the trigger event
for the queue. After queue execution is complete, the queue status is shown as idle. The
queue can be restarted by setting the single-scan enable bit to 1. Queue execution begins
with the first CCW in the queue.
27.8.6.1 Software-Initiated Single-Scan Mode
Software can initiate the execution of a scan sequence for queue 1 or 2 by selecting
software-initiated single-scan mode and writing the single-scan enable bit in QACR1 or
QACR2. A trigger event is generated internally and the QADC immediately begins
Summary of Contents for ColdFire MCF5281
Page 124: ...3 20 MCF5282 User s Manual MOTOROLA EMAC Instruction Set Summary ...
Page 141: ...MOTOROLA Chapter 5 Static RAM SRAM 5 5 SRAM Programming Model ...
Page 142: ...5 6 MCF5282 User s Manual MOTOROLA SRAM Programming Model ...
Page 168: ...6 26 MCF5282 User s Manual MOTOROLA Interrupts ...
Page 186: ...7 18 MCF5282 User s Manual MOTOROLA Functional Description ...
Page 228: ...9 22 MCF5282 User s Manual MOTOROLA Functional Description ...
Page 246: ...10 18 MCF5282 User s Manual MOTOROLA Low Power Wakeup Operation ...
Page 254: ...11 8 MCF5282 User s Manual MOTOROLA Memory Map and Registers ...
Page 264: ...12 10 MCF5282 User s Manual MOTOROLA Chip Select Registers ...
Page 280: ...13 16 MCF5282 User s Manual MOTOROLA Misaligned Operands ...
Page 314: ...14 34 MCF5282 User s Manual MOTOROLA MCF5282 External Signals ...
Page 339: ...MOTOROLA Chapter 15 Synchronous DRAM Controller Module 15 25 SDRAM Example ...
Page 340: ...15 26 MCF5282 User s Manual MOTOROLA SDRAM Example ...
Page 356: ...16 16 MCF5282 User s Manual MOTOROLA DMA Controller Module Functional Description ...
Page 408: ...17 52 MCF5282 User s Manual MOTOROLA Buffer Descriptors ...
Page 446: ...20 24 MCF5282 User s Manual MOTOROLA Interrupts ...
Page 474: ...22 18 MCF5282 User s Manual MOTOROLA Programming Model ...
Page 510: ...23 36 MCF5282 User s Manual MOTOROLA Operation ...
Page 526: ...24 16 MCF5282 User s Manual MOTOROLA I2C Programming Examples ...
Page 672: ...28 12 MCF5282 User s Manual MOTOROLA Functional Description ...
Page 718: ...29 46 MCF5282 User s Manual MOTOROLA Motorola Recommended BDM Pinout ...
Page 750: ...32 8 MCF5282 User s Manual MOTOROLA Ordering Information ...