Chapter 11. Ethernet Module
11-11
Programming Model
11.5 Programming Model
This section gives an overview of the registers, followed by a description of the buffers.
The FEC is programmed by a combination of control/status registers (CSRs) and buffer
descriptors. The CSRs are used for mode control and to extract global status information.
The descriptors are used to pass data buffers and related buffer information between the
hardware and software.
Table 11-6 shows the FEC register memory map with each register address, name, and a
brief description.
Table 11-6. FEC Register Memory Map
Offset
Name
Width
Description
0x840
ECNTRL
32
Ethernet control register, [p. 11-12]
0x844
I_EVENT
32
Interrupt event register, [p. 11-13]
0x848
I_MASK
32
Interrupt mask register, [p. 11-14]
0x84C
IVEC
32
Interrupt vector status register, [p. 11-15]
0x850
R_DES_ACTIVE
32
Receive descriptor active register, [p. 11-16]
0x854
X_DES_ACTIVE
32
Transmit descriptor active register, [p. 11-17]
0x880
MII_DATA
32
MII management frame register, [p. 11-17]
0x884
MII_SPEED
32
MII speed control register, [p. 11-19]
0x8CC
R_BOUND
32
FIFO receive bound register, [p. 11-20]
0x8D0
R_FSTART
32
FIFO receive start register, [p. 11-21]
0x8EC
X_FSTART
32
FIFO transmit start register, [p. 11-23]
0x8E4
X_WMRK
32
Transmit FIFO watermark, [p. 11-22]
0x944
R_CNTRL
32
Receive control register, [p. 11-23]
0x948
MAX_FRM_LEN
32
Maximum frame length register, [p. 11-24]
0x984
X_CNTRL
32
Transmit control register, [p. 11-25]
0xC00
ADDR_LOW
32
Lower 32-bits of MAC address
0xC04
ADDR_HIGH
32
Upper 16-bits of MAC address
0xC08
HASH_TABLE_HIGH
32
Upper 32-bits of hash table, [p. 11-27]
0xC0C
HASH_TABLE_LOW
32
Lower 32-bits of hash table, [p. 11-28]
0xC10
R_DES_START
32
Pointer to receive descriptor ring
(R_DES_START), [p. 11-29]
Summary of Contents for DigitalDNA ColdFire MCF5272
Page 1: ...MCF5272UM D Rev 0 02 2001 MCF5272 ColdFire Integrated Microprocessor User s Manual ...
Page 38: ...xxxviii MCF5272 User s Manual TABLES Table Number Title Page Number ...
Page 58: ...1 10 MCF5272 User s Manual MCF5272 Specific Features ...
Page 90: ...2 42 MCF5272 User s Manual Exception Processing Overview ...
Page 96: ...3 6 MCF5272 User s Manual MAC Instruction Execution Timings ...
Page 158: ...5 46 MCF5272 User s Manual Motorola Recommended BDM Pinout ...
Page 184: ...7 12 MCF5272 User s Manual Interrupt Controller Registers ...
Page 338: ...13 44 MCF5272 User s Manual Application Examples ...
Page 414: ...18 6 MCF5272 User s Manual PWM Programming Model ...
Page 452: ...19 38 MCF5272 User s Manual Power Supply Pins ...
Page 482: ...20 30 MCF5272 User s Manual Reset Operation ...
Page 492: ...21 10 MCF5272 User s Manual Non IEEE 1149 1 Operation ...