<< Previous | Next >>

serXwrFree

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

Description

Calculates the free space in the serial port transmit buffer. This function is non-reentrant.

The functions serEwrFree() and serFwrFree() 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: serXwrFree(port), where "port" is one of the macros SER_PORT_A through SER_PORT_F.

Return value

The number of characters the serial port transmit buffer can accept before becoming full.

Library

RS232.LIB


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