<< Previous | Next >>

serXwrUsed

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

Description

Returns the number of characters in the output buffer. This function is non-reentrant.

The functions serErdUsed() and serFrdUsed() 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: serXwrUsed(int port), where "port" is one of the macros SER_PORT_A through SER_PORT_F.

Return value

The number of characters currently in the output buffer.

Library

RS232.LIB


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