www.beck-ipc.com

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


fossil_getbyte_wait

Get byte from input buffer (with wait).

int fossil_getbyte_wait ( int port );

Parameters

port

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

Return Value

Received byte

Comments

Reads a byte from the receiver buffer.   Wait for a byte to arrive if none is available.

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