ETHERNET CONTROLLER
S3C4510B
MAC Transmit Status Register
A transmission status flag is set in the transmit status register, MACTXSTAT, whenever the corresponding event
occurs. In addition, an interrupt is generated if the corresponding enable bit in the transmit control register is set.
A MAC transmit FIFO parity error sets TxPar, and also clears TxEn, if the interrupt is enabled.
You can read and mask the five low-order bits as a single collision count. That is, when ExColl is "1", TxColl is
"0". If TxColl is not "0", then ExColl is "0".
Table 7-24. MACTXSTAT Register
Registers
Offset
R/W
Description
Transmit status
Reset Value
MACTXSTAT
0XA00C
R/W
0x00000000
Table 7-25. MAC Transmit Status Register Description
Bit Number
Bit Name
Description
[3:0]
Transmit collision count
(TxColl)
This 4-bit value is the count of collisions that occurred while
successfully transmitting the packet.
[4]
[5]
[6]
[7]
[8]
[9]
Excessive collision (ExColl)
This bit is set if 16 collisions occur while transmitting the
same packet. In this case, packet transmission is aborted.
Transmit deferred (TxDeferred) This bit is set if transmission of a packet was deferred
because of a delay during transmission.
Paused (Paused)
This bit is set if transmission of a packet was delayed due to
a Pause being received.
This bit is set if transmission of a packet causes an interrupt
condition.
This bit is set if the MAC transmit FIFO becomes empty
during a packet transmission.
This bit is set if the MAC defers a transfer because of
MAX_DEFERRAL at 0.32768 ms for 100 Mb/s or 3.2768 ms
for 10Mb/s.
Interrupt on transmit (IntTx)
Underrun (Under)
Deferral (Defer)
[10]
[11]
No carrier (NCarr)
This bit is set if no carrier sense is detected during the
transmission a packet.
Signal quality error (SQE)
According to the IEEE802.3 rule, the SQE signal reports the
status of the PMA (MAU or transceiver) operation to the MAC
layer. After transmission is complete and 1.6 ms has elapsed,
a collision detection signal is issued for 1.5 ms to the MAC
layer. This signal is called the SQE test signal. The MAC sets
the SQE bit in the MACTXSTAT register if this signal is not
reported within the IFG time of 6.4ms.
[12]
[13]
Late collision (LateColl)
Transmit parity error (TxPar)
Completion (Comp)
This bit is set if a collision occurs after 512 bit times (or 64
byte times).
This bit is set if a collision occurs after 512 bit times (or 64
byte times).
This bit is set when the MAC transmits, or discards, one
packet.
[14]
[15]
Transmission halted (TxHalted) Transmission was halted by clearing the TxEn bit or the halt
immediate (HaltImm) bit.
[31:16]
Reserved
Not applicable.
7-38