![](http://datasheet.mmic.net.cn/380000/-PD98501_datasheet_16745028/-PD98501_343.png)
CHAPTER 5 ETHERNET CONTROLLER
Preliminary User’s Manual S14767EJ1V0UM00
343
5.2.1 Statistics counter registers
MAC gathers statistical information about the receive and transmit operations from the statistics counters.
Each counter consists of 32 bits counter. When a counter overflow condition occurs, the corresponding bit of the
En_CAR1 register or En_CAR2 register is set to 1, and it can generate an interrupt. The interrupt can be masked by
setting the bits of En_CAM1 register or En_CAM2 register.
Some time is required to complete the updating of all statistics counters after the change of the status vector (TSV
or RSV) because of the count operation.
Table 5-3. Statistics Counter Register Map
(1/2)
Address
Register
Description
R/W
140H
En_RBYT
Receive Byte Counter
R/W
144H
En_RPKT
Receive Packet Counter
R/W
148H
En_RFCS
Receive FCS Error Counter
R/W
14CH
En_RMCA
Receive Multicast Packet Counter
R/W
150H
En_RBCA
Receive Broadcast Packet Counter
R/W
154H
En_RXCF
Receive Control Frame Packet Counter
R/W
158H
En_RXPF
Receive PAUSE Frame Packet Counter
R/W
15CH
En_RXUO
Receive Unknown OP code Counter
R/W
160H
En_RALN
Receive Alignment Error Counter
R/W
164H
En_RFLR
Receive Frame Length Out of Range Counter
R/W
168H
En_RCDE
Receive Code Error Counter
R/W
16CH
En_RFCR
Receive False Carrier Counter
R/W
170H
En_RUND
Receive Undersize Packet Counter
This counter is incremented each time a frame is received which is less than 64
bytes in length and contains a valid FCS.
R/W
174H
En_ROVR
Receive Oversize Packet Counter
This counter is incremented each time a frame is received which exceeds 1518
bytes length and contains a valid FCS.
R/W
178H
En_RFRG
Receive Error Undersize Packet Counter
This counter is incremented each time a frame is received which is less than 64
bytes in length and contains a invalid FCS, includes alignment error.
R/W
17CH
En_RJBR
Receive Error Oversize Packet Counter
This counter is incremented each time a frame is received which exceeds 1518
bytes length and contains an invalid FCS or includes an alignment error.
R/W
180H
En_R64
Receive 64 Byte Frame Counter
This counter is incremented for each good or bad frame received which is 64
bytes in length.
R/W
184H
En_R127
Receive 65 to 127 Byte Frame Counter
This counter is incremented for each good or bad frame received which is 65 to
127 bytes in length.
R/W
Remark
n =1, 2
n = 1: Ethernet Controller #1,
n = 2: Ethernet Controller #2