Serial Communications Controllers
MPC885 PowerQUICC Family Reference Manual, Rev. 2
Freescale Semiconductor
21-15
21.4.1
Function Code Registers (RFCR and TFCR)
Each SCC has two separate function code registers—one for Rx buffers (RFCRx) and one for Tx buffers
(TFCRx). Function code registers contain the value to appear on AT[1–3] when the associated SDMA
channel accesses memory. It also selects the byte-ordering convention.
Figure 21-8
shows the register
format.
Table 21-6
describes RFCRx/TFCRx fields.
21.4.2
Handling SCC Interrupts
SCC interrupts are handled globally by the CPM interrupt controller (CPIC) using the CPM interrupt
pending register (CIPR), CPM interrupt mask register (CIMR), and CPM in-service register (CISR),
described in
Chapter 35, “CPM Interrupt Controller.”
Bits in each CPIC register are used to mask, enable,
or report individual interrupts in an SCC. Interrupt priority among SCCs is determined in the CPM
interrupt configuration register (CICR).
To allow interrupt handling for SCC-specific events, further event, mask, and status registers are provided
within each SCC’s internal memory map area; see
Table 21-7
. Since interrupt events are
protocol-dependent, event descriptions are found in the specific protocol chapters.
0
2
3
4
5
7
Field
—
BO
AT[1–3]
Reset
0000_0000
R/W
R/W
Addr
SCC
x base + 0x04 (RFCRx); SCCx base + 0x05 (TFCRx)
Figure 21-8. Function Code Registers (RFCR and TFCR)
Table 21-6. RFCR
x
/TFCR
x
Field Descriptions
Bits
Name
Description
0–2
—
Reserved, should be cleared.
3–4
BO
Byte ordering. Program BO to select the required byte ordering for the buffer. If BO is changed on
the fly, it takes effect at the beginning of the next frame (Ethernet, HDLC, and transparent) or at the
beginning of the next BD. See
Appendix A, “Byte Ordering.”
00 Reserved
01 Modified little-endian
1x Big-endian or true little-endian
5–7
AT[1–3]
Address type. Contains the function code value used during the SDMA channel memory access.
Note AT[0] is driven high to identify this SDMA channel access as a DMA type.
Summary of Contents for PowerQUICC MPC870
Page 98: ...MPC885 PowerQUICC Family Reference Manual Rev 2 I 4 Freescale Semiconductor ...
Page 118: ...MPC885 Overview MPC885 PowerQUICC Family Reference Manual Rev 2 1 20 Freescale Semiconductor ...
Page 158: ...The MPC8xx Core MPC885 PowerQUICC Family Reference Manual Rev 2 3 18 Freescale Semiconductor ...
Page 288: ...MPC885 PowerQUICC Family Reference Manual Rev 2 III 4 Freescale Semiconductor ...
Page 554: ...MPC885 PowerQUICC Family Reference Manual Rev 2 V 6 Freescale Semiconductor ...
Page 1090: ...UTOPIA Interface MPC885 PowerQUICC Family Reference Manual Rev 2 43 8 Freescale Semiconductor ...
Page 1312: ...Byte Ordering MPC885 PowerQUICC Family Reference Manual Rev 2 A 8 Freescale Semiconductor ...
Page 1336: ...MPC885 PowerQUICC Family Reference Manual Rev 2 D 16 Freescale Semiconductor ...
Page 1358: ...MPC885 PowerQUICC Family Reference Manual Rev 2 D 38 Freescale Semiconductor ...
Page 1370: ...MPC880 MPC885 PowerQUICC Family Reference Manual Rev 2 E 4 Freescale Semiconductor ...
Page 1386: ...Revision History MPC885 PowerQUICC Family Reference Manual Rev 2 I 2 Freescale Semiconductor ...