SMSC LAN91C111 Switch User Manual


 
SMSC LAN91C111 32/16/8-Bit Three-In-One Fast Ethernet Controller
Revision 1.0 (08-14-08) 22 SMSC AN 9.6
APPLICATION NOTE
Figure 3.11 - Remote End Ping to LAN91C111 Routine
Remote End Ping to LAN91C111 Routine
LAN91C111 Generates an Interrupt
Request to Host
Driver Enters Interrupt Service Routine
Driver Enters Interrupt Handler Routine
Host Processed Data & Sent Transmit
Request to Driver
Driver Allocated one Page of the
LAN91C111 Buffer for Transm it
Completely Transmitted One Data
Frame to LAN91C111 Buffer and
Enqueued it
The LAN91C111 Generated a
Transmit Interrupt
Released the Transmitted Frame
Remote End System Calculated Total
Time of the Routine and Displayed it
Host Completely Read One Data
Frame in the LAN91C111 Buffer to its
Memory Buffer
Yes No
Yes
No
Exit
Released the Received Frame
Ping the LAN91C111
From Remote End
LAN91C111 Received the
First Frame
Host Reads Data in the
LAN91C111 buffer to its
Memory Buffer
Read REMPTY bit to Determine if
More Frames Has Been Received
Started to Transmit Data
from Host Memory to the
LAN91C111 Internal Buffer
Remote End Received the
Entire Packet
Host Determines Whether
to Transmit More Frames
1
2
3
4
5
6
7
8
10
11
12
13
14
9
Flow Chart