IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page

int fossil_get_bytes_in_uart ( int  port  ) 

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.

port port number index: 0=UART1 ... 5=UART6, see FOSSIL_PORT
Number of transmitter bytes in the UART, pending output.
-1 if wrong port number
SC2x3 V1.00 - CLIB V1.00
See also:

Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Thu Nov 1 13:20:15 2018 by Doxygen 1.6.1