Get number of bytes currently in UART hardware transmit buffers. With this function you can check how many bytes are currently stored at the internal UART transmit registers. This may be necessary to know if your communication pauses because of a handshake problem. If you want to know, how many bytes are stored at the fossil driver software transmit queue, you can use fossil_get_driver_info() function. However, fossil_get_driver_info() does not check the UART transmit hardware buffers.
- Parameters:
-
| port | port number index: 0=UART1 ... 5=UART6, see FOSSIL_PORT |
- Returns:
- Number of transmitter bytes in the UART, pending output.
-1 if wrong port number
- Since:
- SC2x3 V1.00 - CLIB V1.00
- See also:
- fossil_status_request()