8 stether_receive(), 9 stether_send (), Stether_receive() – Maxim Integrated 78Q8430 ST 5100/OS-20 with NexGen TCP/IP Stack User Manual
Page 18: Stether_send (), Figure 10: stether_receive call graph, Figure 11: stether_send call graph

78Q8430 Driver Manual for ST5100/OS-20 with NexGen TCP/IP Stack
UM_8430_005
18
Rev.
1.0
4.8 STETHER_Receive()
Prototype:
void
STETHER_Receive(NGifnet
*
netp)
Description:
This routine checks for valid RX frames and copies their data from the 78Q8430 buffers into the
system buffers.
Parameters:
netp
network interface type NGethifnet_tsc
Returns:
none
tsccpy
tscReadReg_BUS16
tscWriteReg_BUS16
STETHER_Receive
Figure 10: STETHER_Receive Call Graph
4.9 STETHER_Send
()
Prototype:
ST_ErrorCode_t STETHER_Send(NGifnet
*
netp, NGbuf
*
bufp)
Description:
This function sends new message buffer data to the device. It copies data from system memory to
the 78Q8430 data buffers and then triggers a 78Q8430 transmit event.
Parameters:
netp
network interface type NGethifnet_tsc
Returns:
ST_NO_ERROR if no errors are encountered.
ST_ERROR_NO_MEMORY if no TX FDs are available from the driver core.
tsccpy
tscReadReg_BUS16
tscWriteReg_BUS16
STETHER_Send
Figure 11: STETHER_Send Call Graph