
IP100A LF
Preliminary Data Sheet
67/97
March. 30, 2007
Copyright © 2004, IC Plus Corp.
IP100A LF-DS-R17
11.5
Statistic Registers
The Statistic registers implement several counters defined in the IEEE 802.3 standard. Note reading a
statistic register will also clear that register. The statistics gathering must be enabled by setting the
StatisticsEnable bit in MACCtrl1 for the statistics registers to count events.
11.5.1 BroadcastFramesReceivedOk
Class............................. LAN I/O Registers, Statistics
Base Address ............... IoBaseAddress register value
Address Offset .............. 0x7d
Default .......................... 0x00
Width ............................ 8 bits
BIT
BIT NAME
R/W
BIT DESCRIPTION
7..0
BroadcastFrames-
ReceivedOk
R/W
Broadcast Frames Received OK is the count of the number of
frames that are successfully received with destination address
equal
to
the
broadcast
address
(0xFFFFFFFFFFFF).
BroadcastFramesReceivedOk does not include frames received
with frames too long, FCS, length or alignment errors, or frames
lost due to internal MAC sublayer error (i.e.overrun).
BroadcastFramesReceivedOk will wrap around to zero after
reaching 0xFF. See IEEE 802.3 Clause 30.3.1.1.22.
An UpdateStats interrupt (UpdateStats bit within the IntStatus
register) will occur when BroadcastFramesReceivedOk reaches a
value of 0xC0. BroadcastFramesReceivedOk is enabled by writing
a logic 1 to the StatisticsEnable bit in the MACCtrl1 register.
A read of BroadcastFramesReceivedOk also clears the register.
11.5.2 BroadcastFramesTransmittedOk
Class............................. LAN I/O Registers, Statistics
Base Address ............... IoBaseAddress register value
Address Offset .............. 0x7c
Default .......................... 0x00
Width ............................ 8 bits
BIT
BIT NAME
R/W
BIT DESCRIPTION
7..0
BroadcastFrames-
TransmittedOk
R/W
Broadcast Frames Transmitted is the count of the number of
frames that are successfully transmitted to the broadcast address
(0xFFFFFFFFFFFF). Frames transmitted to other multicast
addresses
are
excluded
from
this
statistic.
BroadcastFramesTransmittedOk will wrap around to zero after
reaching 0xFF. See IEEE 802.3 Clause 30.3.1.1.19.
An UpdateStats interrupt (UpdateStats bit within the IntStatus
register) will occur when BroadcastFramesTransmittedOk reaches
a value of 0xC0. BroadcastFramesTransmittedOk is enabled by
writing a logic 1 to the StatisticsEnable bit in the MACCtrl1 register.
A read of BroadcastFramesTransmittedOk also clears the register.