2 interrupt status register (int_sts), Interrupt status register (int_sts), Interrupt status – SMSC LAN9312 User Manual

Page 174: Register (int_sts), Interrupt status register, Int_sts), Bit 27) of the, Refer to the, For any re, Section 14.2.1.2

Advertising
background image

High Performance Two Port 10/100 Managed Ethernet Switch with 32-Bit Non-PCI CPU Interface

Datasheet

Revision 1.4 (08-19-08)

174

SMSC LAN9312

DATASHEET

14.2.1.2

Interrupt Status Register (INT_STS)

This register contains the current status of the generated interrupts. A value of 1 indicates the
corresponding interrupt conditions have been met, while a value of 0 indicates the interrupt conditions
have not been met. The bits of this register reflect the status of the interrupt source regardless of
whether the source has been enabled as an interrupt in the

Interrupt Enable Register (INT_EN)

. Where

indicated as R/WC, writing a 1 to the corresponding bits acknowledges and clears the interrupt.

Offset:

058h

Size:

32 bits

BITS

DESCRIPTION

TYPE

DEFAULT

31

Software Interrupt (SW_INT)
This interrupt is generated when the SW_INT_EN bit of the

Interrupt Enable

Register (INT_EN)

is set high. Writing a one clears this interrupt.

R/WC

0b

30

Device Ready (READY)
This interrupt indicates that the LAN9312 is ready to be accessed after a
power-up or reset condition.

R/WC

0b

29

1588 Interrupt Event (1588_EVNT)
This bit indicates an interrupt event from the IEEE 1588 module. This bit
should be used in conjunction with the

1588 Interrupt Status and Enable

Register (1588_INT_STS_EN)

to determine the source of the interrupt

event within the 1588 module.

RO

0b

28

Switch Fabric Interrupt Event (SWITCH_INT)
This bit indicates an interrupt event from the Switch Fabric. This bit should
be used in conjunction with the

Switch Global Interrupt Pending Register

(SW_IPR)

to determine the source of the interrupt event within the Switch

Fabric.

RO

0b

27

Port 2 PHY Interrupt Event (PHY_INT2)
This bit indicates an interrupt event from the Port 2 PHY. The source of the
interrupt can be determined by polling the

Port x PHY Interrupt Source

Flags Register (PHY_INTERRUPT_SOURCE_x)

.

RO

0b

26

Port 1 PHY Interrupt Event (PHY_INT1)
This bit indicates an interrupt event from the Port 1 PHY. The source of the
interrupt can be determined by polling the

Port x PHY Interrupt Source

Flags Register (PHY_INTERRUPT_SOURCE_x)

.

RO

0b

25

TX Stopped (TXSTOP_INT)
This interrupt is issued when STOP_TX bit in

Transmit Configuration

Register (TX_CFG)

is set, and the Host MAC transmitter is halted.

R/WC

0b

24

RX Stopped (RXSTOP_INT)

T

his interrupt is issued when the Host MAC receiver is halted.

R/WC

0b

23

RX Dropped Frame Counter Halfway (RXDFH_INT)
This interrupt is issued when the

Host MAC RX Dropped Frames Counter

Register (RX_DROP)

counts past its halfway point (7FFFFFFFh to

80000000h).

R/WC

0b

22

RESERVED

RO

-

21

TX IOC Interrupt (TX_IOC)
This interrupt is generated when a buffer with the IOC flag set has been
fully loaded into the TX Data FIFO.

R/WC

0b

20

RX DMA Interrupt (RXD_INT)
This interrupt is issued when the amount of data programmed in the RX
DMA Count (RX_DMA_CNT) field of the

Receive Configuration Register

(RX_CFG)

has been transferred out of the RX Data FIFO.

R/WC

0b

Advertising