IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


int fossil_putbyte_wait ( int  port,
int  ch 
)

Put byte in output buffer, wait if needed. This functions sends a single character over the serial port.

Parameters:
port port number index: 0=UART1 ... 5=UART6, see FOSSIL_PORT
ch Byte to output over serial port
Returns:
bit 6: FOSSIL_OUTPUT_BUFFER_EMPTY
bit 5: FOSSIL_OUTPUT_NOT_FULL
bit 4: FOSSIL_LINE_BREAK Line break detected
bit 3: FOSSIL_FRAMING_ERROR Framing error detected
bit 2: FOSSIL_PARITY_ERROR Parity error detected
bit 1: FOSSIL_OVERRUN_ERROR Set if overrun occurred on receiver
bit 0: FOSSIL_DATA_AVAILABLE Set if data is available in receiver buffer
Since:
SC2x3 V1.00 - CLIB V1.00
See also:
fossil_putbyte() fossil_writeblock()





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:36 2017 by Doxygen 1.6.1