MOTOROLA
Chapter 17. Fast Ethernet Controller (FEC)
17-49
Buffer Descriptors
NOTE
Whenever the software driver sets an E bit in one or more
receive descriptors, the driver should follow that with a write
to RDAR.
17.6.3 Ethernet Transmit Buffer Descriptor (TxBD)
Data is presented to the FEC for transmission by arranging it in buffers referenced by the
channel’s TxBDs. The Ethernet controller confirms transmission by clearing the ready bit
(R bit) when DMA of the buffer is complete. In the TxBD the user initializes the R, W, L,
and TC bits and the length (in bytes) in the first longword, and the buffer pointer in the
second longword.
The FEC will set the R bit = 0 in the first longword of the BD when the buffer has been
DMA’d. Status bits for the buffer/frame are not included in the transmit buffer descriptors.
Transmit frame status is indicated via individual interrupt bits (error conditions) and in
statistic counters in the MIB block. See Section 17.5.3, “MIB Block Counters Memory
Map” for more details.
0
Bit 1
OV
Overrun. Written by the FEC. A receive FIFO overrun occurred
during frame reception. If this bit is set, the other status bits, M,
LG, NO, CR, and CL lose their normal meaning and will be zero.
This bit is valid only if the L-bit is set.
0
Bit 0
TR
Will be set if the receive frame is truncated (frame length > 2047
bytes). If the TR bit is set the frame should be discarded and the
other error bits should be ignored as they may be incorrect.
2
Bits [15:0]
Data Length Data length. Written by the FEC. Data length is the number of
octets written by the FEC into this BD’s data buffer if L = 0 (the
value will be equal to EMRBR), or the length of the frame
including CRC if L = 1. It is written by the FEC once as the BD
is closed.
4
Bits [15:0]
A[31:16]
RX data buffer pointer, bits [31:16]
1
6
Bits [15:0]
A[15:0]
RX data buffer pointer, bits [15:0]
1
The receive buffer pointer, which contains the address of the associated data buffer, must always be evenly
divisible by 16. The buffer must reside in memory external to the FEC. This value is never modified by the
Ethernet controller.
Table 17-36. Receive Buffer Descriptor Field Definitions (continued)
Word
Location
Field Name
Description
Содержание ColdFire MCF5281
Страница 1: ...MCF5282UM D Rev 2 1 2004 MCF5282 ColdFire Microcontroller User s Manual Devices Supported MCF5281 ...
Страница 124: ...3 20 MCF5282 User s Manual MOTOROLA EMAC Instruction Set Summary ...
Страница 141: ...MOTOROLA Chapter 5 Static RAM SRAM 5 5 SRAM Programming Model ...
Страница 142: ...5 6 MCF5282 User s Manual MOTOROLA SRAM Programming Model ...
Страница 168: ...6 26 MCF5282 User s Manual MOTOROLA Interrupts ...
Страница 186: ...7 18 MCF5282 User s Manual MOTOROLA Functional Description ...
Страница 228: ...9 22 MCF5282 User s Manual MOTOROLA Functional Description ...
Страница 246: ...10 18 MCF5282 User s Manual MOTOROLA Low Power Wakeup Operation ...
Страница 254: ...11 8 MCF5282 User s Manual MOTOROLA Memory Map and Registers ...
Страница 264: ...12 10 MCF5282 User s Manual MOTOROLA Chip Select Registers ...
Страница 280: ...13 16 MCF5282 User s Manual MOTOROLA Misaligned Operands ...
Страница 314: ...14 34 MCF5282 User s Manual MOTOROLA MCF5282 External Signals ...
Страница 339: ...MOTOROLA Chapter 15 Synchronous DRAM Controller Module 15 25 SDRAM Example ...
Страница 340: ...15 26 MCF5282 User s Manual MOTOROLA SDRAM Example ...
Страница 356: ...16 16 MCF5282 User s Manual MOTOROLA DMA Controller Module Functional Description ...
Страница 408: ...17 52 MCF5282 User s Manual MOTOROLA Buffer Descriptors ...
Страница 446: ...20 24 MCF5282 User s Manual MOTOROLA Interrupts ...
Страница 474: ...22 18 MCF5282 User s Manual MOTOROLA Programming Model ...
Страница 510: ...23 36 MCF5282 User s Manual MOTOROLA Operation ...
Страница 526: ...24 16 MCF5282 User s Manual MOTOROLA I2C Programming Examples ...
Страница 672: ...28 12 MCF5282 User s Manual MOTOROLA Functional Description ...
Страница 718: ...29 46 MCF5282 User s Manual MOTOROLA Motorola Recommended BDM Pinout ...
Страница 750: ...32 8 MCF5282 User s Manual MOTOROLA Ordering Information ...
Страница 800: ...A 22 MCF5282 User s Manual MOTOROLA ...