Jump to: navigation, search

Table of Contents >> Programmer's Reference

#include <trsocket.h>

char TM_FAR * tfPoolIsrGetBuffer (
ttUserInterface interfaceHandle,
int size

Function Description

Get a pre-allocated buffer from the recv pool and queue that buffer in the pool receive queue.

Warning Warning: This function can only be called from an ISR.


  • interfaceHandle
    Interface handle as returned by tfAddInterface().
  • size
    Size of the buffer to get from the pre-allocated pool.


  • (char TM_FAR *)
    A pointer to the beginning fo the data area to store the received data into.
  • NULL
    No available receive pool buffers.

Table of Contents >> Programmer's Reference