beautypg.com

6 stether_interrupthandler (), Stether_interrupthandler (), Figure 8: stether_interrupthandler call graph – Maxim Integrated 78Q8430 ST 5100/OS-20 with NexGen TCP/IP Stack User Manual

Page 16

background image

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

UM_8430_005

16

Rev.

1.0

STETHER_Send

tsccpy

tscReadReg_BUS16

tscWriteReg_BUS16

STETHER_HandleCompletedTXBuffers

Figure 7: STETHER_HandleCompletedTXBuffers Call Graph

4.6 STETHER_InterruptHandler

()

Prototype:

void

STETHER_InterruptHandler(NGifnet

*

netp)


Description:

This function is the interrupt handler wrapper. It handles TX, RX and error interrupts derived from
tscIsr()

and tscDpr(). The function begins by isolating the interrupt source and then clearing the

interrupt(s). If statistics are being collected, it updates the interrupt related portion. Based on its
interrogation of the interrupt source, it may call STETHER_HandleCompletedTxBuffers.

Parameters:

netp

network interface type NGethifnet_tsc

Returns:

none

Figure 8: STETHER_InterruptHandler Call Graph