Freescale Semiconductor PowerQUICC MPC885 Reference Manual page 661

Powerquicc family
Table of Contents

Advertisement

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.
format.
0
Field
Reset
R/W
Addr
Table 21-6
describes RFCRx/TFCRx fields.
Bits
Name
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
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.
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."
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
protocol-dependent, event descriptions are found in the specific protocol chapters.
Freescale Semiconductor
2
SCC x base + 0x04 (RFCR x ); SCC x base + 0x05 (TFCR x )
Figure 21-8. Function Code Registers (RFCR and TFCR)
Table 21-6. RFCR x /TFCR x Field Descriptions
Appendix A, "Byte Ordering."
MPC885 PowerQUICC Family Reference Manual, Rev. 2
Figure 21-8
3
4
5
BO
0000_0000
R/W
Description
Bits in each CPIC register are used to mask, enable,
Table
21-7. Since interrupt events are
Serial Communications Controllers
shows the register
7
AT[1–3]
21-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Powerquicc mpc870Powerquicc mpc880Powerquicc mpc875

Table of Contents