Jump to: navigation, search

Table of Contents >> Programmer's Reference

#include <trsocket.h>

void tfPoolIsrFreeBuffer (
ttUserInterface interfaceHandle,
int dataSize

Function Description

Called from recv ISR, if last packet returned by tfPoolIsrGetBuffer(), queued to be processed by the tfRecvInterface(), needs to be freed, i.e. removed from the pool recv queue, and put back in the ring of free buffers to be used by the chip.

Note Note: This function should be called by the user from the device driver close function.


  • interfaceHandle
    Interface handle as returned by tfAddInterface().
  • dataSize
    Size of the allocated buffer.

Table of Contents >> Programmer's Reference