
Datasheet
4.4.8Flow Control Register (FLOW)Offset: | 009Ch | Size: | 32 bits |
This register is used to control the generation and reception of the Control frames by the MAC’s flow control block. A write to this register with busy bit set to 1 will trigger the Flow control block to generate a Control frame. Before writing to this register, the application has to make sure that the busy bit is not set.
BITS | DESCRIPTION | TYPE | DEFAULT |
|
|
|
|
31:16 | Pause Time (FCPT) | R/W | 0000h |
| This field indicates the value to be used in the PAUSE TIME field in the |
|
|
| control frame. |
|
|
|
|
|
|
15:3 | RESERVED | RO | - |
|
|
|
|
2 | Pass Control Frames (FCPASS) | R/W | 0b |
| When set, the MAC sets the packet filter bit in the receive packet status to |
|
|
| indicate to the application that a valid pause frame has been received. The |
|
|
| application must accept or discard a received frame based on the packet |
|
|
| filter control bit. The MAC receives, decodes and performs the pause |
|
|
| function when a valid pause frame is received in |
|
|
| flow control is enabled (FCE bit set). When reset, the MAC resets the |
|
|
| packet filter bit in the receive packet status. |
|
|
| The MAC always passes the data of all frames it receives (including flow |
|
|
| control frames) to the application. Frames that do not pass address filtering, |
|
|
| as well as frames with errors, are passed to the application. The application |
|
|
| must discard or retain the received frame’s data based on the received |
|
|
| frame’s STATUS field. Filtering modes (promiscuous mode, for example) |
|
|
| take precedence over the FCPASS bit. |
|
|
|
|
|
|
1 | Flow Control Enable (FCEN) | R/W | 0b |
| When set, enables the MAC flow control function. The MAC decodes all |
|
|
| incoming frames for control frames; if it receives a valid control frame |
|
|
| (PAUSE command), it disables the transmitter for a specified time (decoded |
|
|
| pause time x slot time). When reset, the MAC flow control function is |
|
|
| disabled; the MAC does not decode frames for control frames. |
|
|
| Note: Flow Control is applicable when the MAC is set in full duplex |
|
|
| mode. |
|
|
|
|
|
|
0 | Flow Control Busy (FCBSY) | R/W | 0b |
| In |
|
|
| control register. To initiate a PAUSE control frame, the Host system must |
|
|
| set this bit to 1. During a transfer of control frame, this bit continues to be |
|
|
| set, signifying that a frame transmission is in progress. After the PAUSE |
|
|
| control frame’s transmission is complete, the MAC resets to 0. |
|
|
|
|
|
|
SMSC LAN9420/LAN9420i | 129 | Revision 1.22 |
| DATASHEET |
|