tx_free Function (ROM Call 0x252)

link.h

unsigned short tx_free(void);

Determines the number of free bytes in the transmit buffer.

tx_free is an alias (known from DoorsOS) for the function OSLinkTxQueueInquire.

Note: In previous releases of TIGCCLIB (prior to 2.0) this function was wrongly aliased from OSLinkTxQueueActive instead of OSLinkTxQueueInquire. This is a bug in DoorsOS which was reflected here.


Used by: LIO_Receive, ROM Call 0x602, ROM Call 0x603