<< Previous | Next >>

serXrdFree

int serXrdFree( void ); /* where X is A-F */

Description

Calculates the number of characters of unused data space. This function is non-reentrant.

The functions serErdFree() and serFrdFree() may be used with the Rabbit 3000 and Rabbit 4000.

NOTE Alternatively you can use another form of this function that has been generalized for all serial ports. Instead of substituting for "X" in the function name, the prototype of the generalized function is: serXrdFree(int port), where "port" is one of the macros SER_PORT_A through SER_PORT_F.

Return value

The number of chars it would take to fill input buffer X.

Library

RS232.LIB


Dynamic C Functions << Previous | Next >> rabbit.com