EMAC core
MDIO core
RXTHRESHOLDPEND(0..7)
Receive threshold interrupt
RXPEND(0..7)
Receive interrupt
TXPEND(0..7)
Transmit interrupt
STATPEND
HOSTPEND
MDIO_USER
Miscellaneous interrupt
MDIO_LINKINT
Interrupt control and pacing logic
Preliminary
Architecture
www.ti.com
3.2.16 Interrupt Support
3.2.16.1 EMAC Module Interrupt Events and Requests
The EMAC module generates the following interrupt events:
•
RXTHRESHOLDPENDn: Receive threshold interrupt for receive channels 0 through 7
•
RXPENDn: Receive packet completion interrupt for receive channels 0 through 7
•
TXPENDn: Transmit packet completion interrupt for transmit channels 0 through 7
•
STATPEND: Statistics interrupt
•
HOSTPEND: Host error interrupt
•
USERINT: MDIO user Interrupt
•
LINKINT: MDIO link Interrupt
As shown in
, the EMAC and MDIO interrupts are multiplexed on four interrupts lines going
to the CPU.
Figure 3-11. EMAC Control Module Interrupt Logic Diagram
3.2.16.1.1 Receive Threshold Interrupts
Each of the eight receive channels have a corresponding receive threshold interrupt
(RX_THRESH_PEND[0:7]). The receive threshold interrupts are level interrupts that remain asserted
until the triggering condition is cleared by the host. Each of the eight threshold interrupts may be
individually enabled by setting the corresponding bit in the receive interrupt mask set register
(RXINTMASKSET) to 1. Each of the eight channel interrupts may be individually disabled by clearing
the corresponding bit in the receive interrupt mask clear register (RXINTMASKCLEAR) to 0. The raw
and masked receive interrupt status may be read from the receive interrupt status (unmasked) register
(RXINTSTATRAW) and the receive interrupt status (masked) register (RXINTSTATMASKED),
respectively. An RX_THRES_PEND[7:0] interrupt bit is asserted when enabled and when the channel’s
associated receive channel n free buffer count register (RXnFREEBUFFER) is less than or equal to the
channel’s associated receive channel n flow control threshold register (RXnFLOWTHRESH). The
receive threshold interrupts use the same free buffer count and threshold logic as does flow control, but
the interrupts are independently enabled from flow control. The threshold interrupts are intended to give
the host an indication that resources are running low for a particular channel(s).
3.2.16.1.2 Transmit Packet Completion Interrupts
The transmit DMA engine has eight channels, with each channel having a corresponding interrupt
(TXPENDn). The transmit interrupts are level interrupts that remain asserted until cleared by the CPU.
450
EMAC/MDIO Module
SPRUGX9 – 15 April 2011
© 2011, Texas Instruments Incorporated
Содержание TMS320C6A816 Series
Страница 2: ...Preliminary 2 SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 92: ...92 Read This First SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1122: ...1122 Multichannel Audio Serial Port McASP SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1562: ...1562 Real Time Clock RTC SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1658: ...1658 Timers SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1750: ...1750 UART IrDA CIR Module SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1984: ...1984 Universal Serial Bus USB SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...