Datasheet
3.4.2.1Receive Descriptors
The receive descriptors must be
RDES0 | OW | FF |
|
|
|
| FL |
|
|
|
|
|
|
| ES | DE | R | LE | RF | MF | FS | LS | TL | CS | FT | RW | ME | DB | CE | R | |||||
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 |
| 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 |
| 5 |
| 4 | 3 | 2 | 1 | 0 | |
|
|
|
| ||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RDES1 |
| RESERVED |
| RE | RC | RES |
|
|
|
| RBS2 |
|
|
|
|
| RBS1 |
|
|
|
|
| |||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 |
| 5 |
| 4 | 3 | 2 | 1 | 0 | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||
RDES2 |
|
|
|
|
|
|
|
|
|
|
| BUFFER 1 ADDRESS POINTER |
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||||||
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 |
| 5 |
| 4 | 3 | 2 | 1 | 0 | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||
RDES3 |
|
|
|
|
|
|
|
|
|
|
| BUFFER 2 ADDRESS POINTER |
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||||||||||
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 |
| 5 |
| 4 | 3 | 2 | 1 | 0 |
Figure 3.16 Receive Descriptor
| Receive Descriptor 0 (RDES0) | |
| RDES0 contains the received frame status, the frame length, and the descriptor ownership information. | |
|
| Table 3.5 RDES0 Bit Fields |
|
|
|
BITS |
| DESCRIPTION |
|
|
|
31 |
| OWN - Own Bit |
|
| When set, indicates that the descriptor block and associated buffer(s) are owned by the DMA |
|
| controller. When reset, indicates that the descriptor block and associated buffer(s) are owned by |
|
| the Host system. |
|
| Host Actions: Checks this bit to determine ownership of the descriptor block and associated |
|
| buffer(s). The Host sets this bit to pass ownership to the DMAC. The Host does not modify a |
|
| descriptor block or access its associated buffer(s) until this bit is cleared by DMAC or until the |
|
| DMAC is in STOPPED state, whichever comes first. |
|
| DMAC Actions: Reads this bit to determine ownership of the descriptor block and its associated |
|
| buffer(s). The DMAC clears this bit either when it completes the frame reception or when the |
|
| buffers that are associated with this descriptor are full. By clearing this bit, the DMAC closes the |
|
| descriptor block and passes ownership to the Host. If the DMAC fetches a descriptor with the |
|
| OWN bit cleared, the DMAC state machine enters the SUSPENDED state. |
|
|
|
30 |
| FF - Filter Fail |
|
| Indicates that the current frame failed the receive address filtering. This bit can only be set when |
|
| receive all (RXALL) is set in the MAC control register (MAC_CR). This bit is only valid when the |
|
| last descriptor (LS) bit is set and the received frame is greater than or equal to 64 bytes in length. |
|
| Host Actions: Checks this bit to determine status. |
|
| DMAC Actions: Sets/clears this bit to define status. |
|
|
|
SMSC LAN9420/LAN9420i | 41 | Revision 1.22 |
| DATASHEET |
|