
Fast Ethernet Controller (FEC)
MPC5566 Microcontroller Reference Manual, Rev. 2
15-12
Freescale Semiconductor
15.3.4.2.2
Ethernet Interrupt Mask Register (EIMR)
The EIMR register controls which interrupt events are allowed to generate actual interrupts. All
implemented bits in this CSR are read/write. This register is cleared upon a hardware reset. If the
corresponding bits in both the EIR and EIMR registers are set, the interrupt is signaled to the CPU. The
interrupt signal remains asserted until a 1 is written to the EIR bit (write 1 to clear) or a 0 is written to the
EIMR bit.
Table 15-4. EIR Field Descriptions
Field
Description
0
HBERR
Heartbeat error. This interrupt indicates that HBC is set in the TCR register and that the COL input
was not asserted within the Heartbeat window following a transmission.
1
BABR
Babbling receive error. This bit indicates a frame was received with length in excess of RCR[MAX_FL]
bytes.
2
BABT
Babbling transmit error. This bit indicates that the transmitted frame length has exceeded
RCR[MAX_FL] bytes. This condition is usually caused by a frame that is too long being placed into
the transmit data buffers. Truncation does not occur.
3
GRA
Graceful stop complete. This interrupt is asserted for one of three reasons. Graceful stop means that
the transmitter is put into a pause state after completion of the frame currently being transmitted.
1) A graceful stop, which was initiated by the setting of the TCR[GTS] bit is now complete.
2) A graceful stop, which was initiated by the setting of the TCR[TFC_PAUSE] bit is now complete.
3) A graceful stop, which was initiated by the reception of a valid full duplex flow control “pause” frame
is now complete. See
Section 15.4.10, “Full Duplex Flow Control
.”
4
TXF
Transmit frame interrupt. This bit indicates that a frame has been transmitted and that the last
corresponding buffer descriptor has been updated.
5
TXB
Transmit buffer interrupt. This bit indicates that a transmit buffer descriptor has been updated.
6
RXF
Receive frame interrupt. This bit indicates that a frame has been received and that the last
corresponding buffer descriptor has been updated.
7
RXB
Receive buffer interrupt. This bit indicates that a receive buffer descriptor has been updated that was
not the last in the frame.
8
MII
MII interrupt. This bit indicates that the MII has completed the data transfer requested.
9
EBERR
Ethernet bus error. This bit indicates that a system bus error occurred when a DMA transaction was
underway. When the EBERR bit is set, ECR[ETHER_EN] is cleared, halting frame processing by the
FEC. When this occurs software needs to ensure that the FIFO controller and DMA are also soft reset.
10
LC
Late collision. This bit indicates that a collision occurred beyond the collision window (slot time) in half
duplex mode. The frame is truncated with a bad CRC and the remainder of the frame is discarded.
11
RL
Collision retry limit. This bit indicates that a collision occurred on each of 16 successive attempts to
transmit the frame. The frame is discarded without being transmitted and transmission of the next
frame commences. Can only occur in half duplex mode.
12
UN
Transmit FIFO underrun. This bit indicates that the transmit FIFO became empty before the complete
frame was transmitted. A bad CRC is appended to the frame fragment and the remainder of the frame
is discarded.
13–31
Reserved, must be cleared.
Содержание MPC5566
Страница 12: ...MPC5566 Microcontroller Reference Manual Devices Supported MPC5566 MPC5566 RM Rev 2 0 23 Apr 2008...
Страница 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Страница 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Страница 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Страница 331: ...System Integration Unit SIU MPC5566 Microcontroller Reference Manual Rev 2 6 128 Freescale Semiconductor...
Страница 343: ...Crossbar Switch XBAR MPC5566 Microcontroller Reference Manual Rev 2 7 12 Freescale Semiconductor...
Страница 361: ...Error Correction Status Module ECSM MPC5566 Microcontroller Reference Manual Rev 2 8 18 Freescale Semiconductor...
Страница 455: ...Interrupt Controller INTC MPC5566 Microcontroller Reference Manual Rev 2 10 42 Freescale Semiconductor...
Страница 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Страница 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Страница 679: ...Boot Assist Module BAM MPC5566 Microcontroller Reference Manual Rev 2 16 20 Freescale Semiconductor...
Страница 997: ...Deserial Serial Peripheral Interface DSPI MPC5566 Microcontroller Reference Manual Rev 2 20 72 Freescale Semiconductor...
Страница 1037: ...Enhanced Serial Communication Interface eSCI MPC5566 Microcontroller Reference Manual Rev 2 21 40 Freescale Semiconductor...
Страница 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Страница 1081: ...Voltage Regulator Controller VRC and POR Module MPC5566 Microcontroller Reference Manual Rev 2 23 8 Freescale Semiconductor...
Страница 1093: ...IEEE 1149 1 Test Access Port Controller JTAGC MPC5566 Microcontroller Reference Manual Rev 2 24 12 Freescale Semiconductor...
Страница 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...
Страница 1267: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 10...
Страница 1268: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 11...