MPC5553/MPC5554 Microcontroller Reference Manual, Rev. 5
19-26 Freescale Semiconductor
19.3.2.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.
24–27 RFCTRn
[0:3]
RFIFOn entry counter. Indicates the number of data items stored in the RFIFOn. When the
eQADC stores a piece of new data into RFIFOn, it increments RFCTRn by 1. Reading the
whole word, halfword or any bytes of the corresponding Result FIFO pop register (see
Section 19.3.2.5) decrements RFCTRn by 1. Writing any value to RFCTRn itself has no
effect.
28–31 POPNXTPTRn
[0:3]
RFIFOn pop next pointer. Indicates the index of the entry that will be returned when
EQADC_RFPRn is read. When POPNXTPTRn is 0, it points to the entry with the smallest
memory-mapped address inside RFIFOn. POPNXTPTRn is updated when
EQADC_RFPRn is read. If the maximum index number (RFIFO depth minus 1) is reached,
POPNXTPTRn is wrapped to 0, else, it is incremented by 1. For details refer to
Section 19.4.4.1, “RFIFO Basic Functionality.” Writing any value to POPNXTPTRn has no
effect.
0123456789101112131415
R00000 TC_CFn
W
Reset0000000000000000
Reg
Addr
EQADC_BASE+0x0090 (EQADC_CFTCR0); EQADC_BASE+0x0092 (EQADC_CFTCR1);
EQADC_BASE+0x0094 (EQADC_CFTCR2); EQADC_BASE+0x0096 (EQADC_CFTCR3);
EQADC_BASE+0x0098 (EQADC_CFTCR4); EQADC_BASE+0x009A (EQADC_CFTCR5);
Figure 19-10. eQADC CFIFO Transfer Counter Registers (EQADC_CFTCRn)
Table 19-13. EQADC_CFTCRn Field Descriptions
Bits Name Description
0–4 — Reserved.
5–15 TC_CFn
[0:10]
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 appropriate command buffer. The
transfer of entries bound for an external device is considered completed when the serial
transmission of the entry is completed. 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 19.4.3.5.1, “Disabled Mode.”
Table 19-12. EQADC_FISRn Field Descriptions (Continued)
Bits Name Description