42
I/O SPACE - BANK0
OFFSET NAME TYPE SYMBOL
2EPH STATUS REGISTER READ ONLY EPHSR
This register stores the status of the last transmitted frame. This register value, upon individual transmit
packet completion, is stored as the first word in the memory area allocated to the packet. Packet interrupt
processing should use the copy in memory as the register itself will be updated by subsequent packet
transmissions. The register can be used for real time values (like TXENA and LINK OK). If TXENA is
cleared the register holds the last packet completion status.
HIGH
BYTE TX
UNRN
LINK_
OK RX_
OVRN CTR
_ROL EXC
_DEF LOST
CARR LATCOL WAKEU
P
00000000
LOW
BYTE TX
DEFR LTX
BRD SQET 16COL LTX
MULT MUL
COL SNGL
COL TX_SU
C
00000000
TXUNRN - Transmit Underrun. Set if underrun
occurs, it also clears TXENA bit in TCR. Cleared
by setting TXENA high. This bit may only be set if
early TX is being used.
LINK_OK - State of the 10BASE-T Link Integrity
Test. A transition on the value of this bit generates
an interrupt when the LE ENABLE bit in the
Control Register is set.
RX_OVRN - Upon FIFO overrun, the receiver
asserts this bit and clears the FIFO. The receiver
stays enabled. After a valid preamble has been
detected on a subsequent frame, RX_OVRN is de-
asserted. The RX_OVRN INT bit in the Interrupt
Status Register will also be set and stay set until
cleared by the CPU. Note that receive overruns
could occur only if receive memory allocations fail.
CTR_ROL - Counter Roll over. When set one or
more 4 bit counters have reached maximum count
(15). Cleared by reading the ECR register.
EXC_DEF - Excessive deferral. When set
last/current transmit was deferred for more than
1518 * 2 byte times. Cleared at the end of every
packet sent.
LOST_CARR - Lost carrier sense. When set
indicates that Carrier Sense was not present at
end of preamble. Valid only if MON_CSN is
enabled. This condition causes TXENA bit in TCR
to be reset. Cleared by setting TXENA bit in TCR.
LATCOL - Late collision detected on last transmit
frame. If set a late collision was detected (later
than 64 byte times into the frame). When detected
the transmitter jams and turns itself off clearing the
TXENA bit in TCR. Cleared by setting TXENA in
TCR.
WAKEUP - When this bit is set, it indicates that a
receive packet was received that had the “Magic
Packet” (MP) signature of the node’s own IP
address repetitions in it. This bit indicates a valid