www.beck-ipc.com

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


BIOS_Get_Stdio

Get the stdin / stdout channels setting.

unsigned int BIOS_Get_Stdio ( void );

Parameters

-- none --

Return Value

Two bit fields, each one byte.   LSB specifies the stdin, MSB specifies the stdout.  

Comments

Both bit fields returned (MSB for stdout, LSB for stdin) are coded as follows:

    B0:  STDIO_EXT - EXT serial port
    B1:  STDIO_COM - COM serial port
    B2:  STDIO_TELNET - Telnet
    B3:  STDIO_USER - User port

The bit masks are defined in BIOS_API.H include file.

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