Enhanced Queued Analog-to-Digital Converter (eQADC)
MPC5510 Microcontroller Family Reference Manual, Rev. 1
Freescale Semiconductor
31-21
Preliminary
31.3.3.9
eQADC CFIFO Transfer Counter Registers 0–5 (EQADC_CFTCRn)
The EQADC_CFTCRs record the number of commands transferred from a CFIFO. The EQADC_CFTCR
supports the monitoring of command transfers from a CFIFO.
31.3.3.10 eQADC CFIFO Status Snapshot Register (EQADC_CFSSR)
The EQADC_CFSSR contains status fields to track the operation status of each CFIFO and the transfer
counter of the last CFIFO to initiate a command transfer to the internal ADC. All fields of
EQADC_CFSSR are captured at the beginning of a command transfer to the buffer.
Note that captured status register values are associated with a previous command transfer. This means that
the EQADC_CFSSR register captures the status register before the status register changes, because of the
transfer of the current command that is about to be popped from the CFIFO. The EQADC_CFSSR is read
only. Writing to EQADC_CFSSR has no effect.
Offset: EQAD 0x0090 (EQADC_CFTCR0)
EQAD 0x0092 (EQADC_CFTCR1)
EQAD 0x0094 (EQADC_CFTCR2)
EQAD 0x0096 (EQADC_CFTCR3)
EQAD 0x0098 (EQADC_CFTCR4)
EQAD 0x009A (EQADC_CFTCR5)
Access: Read/Write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
0
0
0
0
0
TC_CFn
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 31-10. eQADC CFIFO Transfer Counter Registers (EQADC_CFTCRn)
Table 31-12. EQADC_CFTCRn Field Descriptions
Field
Description
bits 0–4
Reserved.
TC_CFn
Transfer Counter for CFIFOn. TC_CFn counts the number of commands that have been completely transferred
from CFIFOn. TC_CFn=2, for example, signifies that two commands have been transferred. The transfer of
entries bound for the on-chip ADCs is considered completed when they are stored in the command buffer. The
eQADC increments the TC_CFn value by 1 after a command is transferred. TC_CFn resets to 0 after eQADC
completes transferring a command with an asserted EOQ bit. Writing any value to TC_CFn sets the counter to
that written value.
Note: If CFIFOn is in the TRIGGERED state when its MODEn field is programmed to disabled, the exact number
of entries transferred from the CFIFO until that point (TC_CFn) is only known after the CFIFO status
changes to IDLE, as indicated by CFSn. For details refer to
Section 31.4.3.5.1, “Disabled Mode
.”