Datasheet

High Performance Single-Chip 10/100 Non-PCI Ethernet Controller
Datasheet
SMSC LAN9118 53 Revision 1.5 (07-11-08)
DATASHEET
3.13.1 RX Slave PIO Operation
Using PIO mode, the host can either implement a polling or interrupt scheme to empty the received
packet out of the RX data FIFO. The host will remain in the idle state until it receives an indication
(interrupt or polling) that data is available in the RX data FIFO. The host will then read the RX status
FIFO to get the packet status, which will contain the packet length and any other status information.
The host should perform the proper number of reads, as indicated by the packet length plus
the start
offset and
the amount of optional padding added to the end of the frame, from the RX data FIFO.
Figure 3.16 Host Receive Routine Using Interrupts
Figure 3.17 Host Receive Routine with Polling
Not Last Packet
Idle
Read RX
Status
DWORD
init
Read RX
Packet
Last Packet
RX Interrupt
Read
RX_FIFO_
INf
Read RX
Status
DWORD
init
Read RX
Packet
Last Packet
Not Last Packet
Valid Status DWORD