- Standard Microsystems 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
LAN91 C11 1 Generates a n Interrupt
Request to Ho st
Drive r En ters Interru pt Service Ro utine
Driver En ters Inter rupt Ha ndl er Routine
Host Processed Data & Sent Transmit
Request to Driver
Driver Allocated one Page of the
LAN91C1 11 Buffer for Transm it
Completely Transmitted One Data
Fram e to LA N91C111 Buffer a nd
E nqueued it
Th e LAN91 C11 1 Generated a
Transm it In terrupt
Rele ased th e Tran smitted Fr ame
Remote End System Calculated Total
Tim e of the Routine and Displa yed it
Host Completely Read One Data
Frame in the LAN91C111 Buffer to its
Memory Buffer
Yes No
Yes
No
Exit
Released the Received Frame
P ing the LA N91C111
From Remote End
LAN91C111 Received the
First Fram e
Host Reads Data in the
LAN91C111 buffer to its
Memory Buffer
Read REMPTY bit to Determine if
More Frame s Ha s Be en Rece ived
Star ted to Tran smit Data
from Host Memory to the
L AN9 1C1 11 Inte rnal Bu ffer
Rem ote 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