Enhanced Queued Analog-to-Digital Converter (eQADC)
MPC5510 Microcontroller Family Reference Manual, Rev. 1
Freescale Semiconductor
31-19
Preliminary
EOQFn
End-of-Queue Flag n. Indicates that an entry with an asserted EOQ bit was transferred from CFIFOn to the
on-chip ADCs or to the external device. See
Section 31.4.1.1, “Message Format in eQADC
,” for details about
command message formats. When the eQADC completes the transfer of an entry with an asserted EOQ bit from
CFIFOn, EOQFn will be set. The transfer of entries bound for the on-chip ADCs is considered completed when
they are stored in the command buffer. If the EOQIEn bit (See
Section 31.3.3.7, “eQADC Interrupt and eDMA
Control Registers 0–5 (EQADC_IDCRn)
”) and EOQFn are asserted, an interrupt will be generated. Writing a 1
clears the EOQFn bit. Writing a 0 has no effect. Refer to
Section 31.4.3.6.2, “Command Queue Completion
,” for more information on end-of-queue flag.
0 Entry with asserted EOQ bit was not transferred from CFIFOn
1 Entry with asserted EOQ bit was transferred from CFIFOn
Note: An asserted EOQFn only implies that the eQADC has finished transferring a command with an asserted
EOQ bit from CFIFOn. It does not imply that result data for the current command and for all previously
transferred commands has been returned to the appropriate RFIFO.
CFUFn
CFIFO Underflow Flag n. Indicates an underflow event on CFIFOn. CFUFn is set when CFIFOn is in the
TRIGGERED state and it becomes empty. No commands will be transferred from an underflowing CFIFO, nor
will command transfers from lower priority CFIFOs be blocked. When CFUIEn (see Section
“eQADC Interrupt and eDMA Control Registers 0–5 (EQADC_IDCRn)
”) and CFUFn are both asserted, the
eQADC generates an interrupt request.
Apart from generating an independent interrupt request for a CFIFOn underflow event, the eQADC also provides
a combined interrupt at which the result FIFO overflow interrupt, the command FIFO underflow interrupt, and the
command FIFO trigger overrun interrupt requests of all CFIFOs are ORed. When RFOIEn, CFUIEn, and TORIEn
are all asserted, this combined interrupt request is asserted whenever one of the following 18 flags becomes
asserted: RFOFn, CFUFn, and TORFn (assuming that all interrupts are enabled). See
,” for details. Writing a 1 clears CFUFn. Writing a 0 has no effect.
0 No CFIFO underflow event occurred
1 A CFIFO underflow event occurred
SSSn
CFIFO Single-Scan Status Bit n. When asserted, enables the detection of trigger events for CFIFOs programmed
into single-scan level- or edge-trigger mode, and works as trigger for CFIFOs programmed into single-scan
software-trigger mode. Refer to
Section 31.4.3.5.2, “Single-Scan Mode
,” for further details. The SSSn bit is set
by writing a 1 to the SSEn bit (see Section
Section 31.3.3.6, “eQADC CFIFO Control Registers 0–5
”). The eQADC clears the SSSn bit when a command with an asserted EOQ bit is transferred
from a CFIFO in single-scan mode, when a CFIFO is in single-scan level-trigger mode and its status changes
from the TRIGGERED state due to the detection of a closed gate, or when the value of the CFIFO operation
mode MODEn (see
Section 31.3.3.6, “eQADC CFIFO Control Registers 0–5 (EQADC_CFCRn)
”) is changed to
disabled. Writing to SSSn has no effect. SSSn has no effect in continuous-scan or in disabled mode.
0 CFIFO in single-scan level- or edge-trigger mode will ignore trigger events, or CFIFO in single-scan
software-trigger mode is not triggered.
1 CFIFO in single-scan level- or edge-trigger mode will detect a trigger event, or CFIFO in single-scan
software-trigger mode is triggered.
CFFFn
CFIFO Fill Flag n. CFFFn is set when the CFIFOn is not full. When CFFEn (see
Interrupt and eDMA Control Registers 0–5 (EQADC_IDCRn)
”) and CFFFn are both asserted, an interrupt or an
eDMA request will be generated depending on the status of the CFFSn bit. When CFFSn is negated (interrupt
requests selected), software clears CFFFn by writing a 1 to it. Writing a 0 has no effect. When CFFSn is asserted
(eDMA requests selected), CFFFn is automatically cleared by the eQADC when the CFIFO becomes full.
0 CFIFOn is full.
1 CFIFOn is not full.
Note: When generation of interrupt requests is selected (CFFSn=0), CFFFn must only be cleared in the ISR after
the CFIFOn push register is accessed.
Note: CFFFn should not be cleared when CFFSn is asserted (eDMA requests selected).
bits 7–11
Reserved.
Table 31-11. EQADC_FISRn Field Descriptions (continued)
Field
Description