www.beck-ipc.com

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


fossil_init

Detect fossil driver.

int fossil_init ( int port );

Parameters

port

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

Return Value

0x1954, signature from Fossil driver

Comments

Use this function to detect if the fossil driver is available for this port.   The user must make sure that only one process opens a port.   If this port is used for standard input or output (console), then stdin/stdout will be disabled for this port.

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