beautypg.com

5 stether_handlecompletedtxbuffers (), Stether_handlecompletedtxbuffers (), Figure 6: stether_config_arc call graph – Maxim Integrated 78Q8430 ST 5100/OS-20 with NexGen TCP/IP Stack User Manual

Page 15

background image

UM_8430_005

78Q8430 Driver Manual for ST5100/OS-20 with NexGen TCP/IP Stack

Rev. 1.0

15

Parameters:

netp

network interface type NGethifnet_tsc

Returns:

none

Figure 6: STETHER_Config_ARC Call Graph

4.5 STETHER_HandleCompletedTXBuffers

()

Prototype:

INT4 STETHER_HandleCompletedTXBuffers (NGifnet

*

netp)


Description:

This routine handles TX and error interrupts derived from tscIsr() and tscDpr(), which in turn, are the
result of STETHER_Send calls for data transmission. It extracts and records the status for the
completed transmissions if statistics collection is active. On exit, it checks for any additional pending
transmissions and if found, invokes STETHER_Send to fulfill the TX request.

Parameters:

netp

network interface type NGethifnet_tsc

Returns:

Number of TX packets processed.