@CHIP-RTOS C Library V2.00 - Fossil API
fossil_peek_input
Peek if next byte is available. int fossil_peek_input ( int port ); Parameters
port
- Port specifier: FOSSIL_EXT = 0 for EXT port,
FOSSIL_COM = 1 for COM port
Return Value
- -1 if no character available,
Else next character in receiver buffer.
Comments
- Returns the next byte available in the receive buffer,
without removing it from the buffer.
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
|