27-76
MCF5282 User’s Manual
MOTOROLA
Interrupts
If interrupts are enabled for an event, the QADC requests interrupt service when the event
occurs. Using interrupts does not require continuously polling the status flags to see if an
event has taken place; however, status flags must be cleared after an interrupt is serviced,
in order to remove the interrupt request
In both polled and interrupt-driven operating modes, status flags must be re-enabled after
an event occurs. Flags are re-enabled by clearing the appropriate QASR0 bits in a particular
sequence. QASR0 must first be read, then 0s must be written to the flags that are to be
cleared. If a new event occurs between the time that the register is read and the time that it
is written, the associated flag is not cleared.
27.10.2 Interrupt Sources
The QADC includes four sources of interrupt requests, each of which is separately enabled.
Each time the result is written for the last conversion command word (CCW) in a queue,
the completion flag for the corresponding queue is set, and when enabled, an interrupt is
requested. In the same way, each time the result is written for a CCW with the pause bit set,
the queue pause flag is set, and when enabled, an interrupt is requested. Refer to
Table 27-26.
The pause and complete interrupts for queue 1 and queue 2 have separate interrupt vector
levels, so that each source can be separately serviced.
Table 27-26. QADC Status Flags and Interrupt Sources
Queue
Queue Activity
Status
Flag
Interrupt
Enable Bit
Queue 1
Result written for last CCW in queue 1
CF1
CIE1
Result written for a CCW with pause bit set in queue 1
PF1
PIE1
Queue 2
Result written for last CCW in queue 2
CF2
CIE2
Result written for a CCW with pause bit set in queue 2
PF2
PIE2
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 ...