www.beck-ipc.com

@CHIP-RTOS C Library V2.00 - Fossil API


fossil_putbyte

Put byte in output buffer (without wait).

int fossil_putbyte ( int port, int ch );

Parameters

port

Port specifier:   FOSSIL_EXT = 0 for EXT port,   FOSSIL_COM = 1 for COM port

ch

Byte to send

Return Value

0 if byte was not accepted (no space in buffer)
1 if byte was placed in output buffer

Comments

Place a byte into the transmit buffer if there is space available.   Otherwise simply return with 0, without handling the transmit byte.

See Also

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.


This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document