www.beck-ipc.com

@CHIP-RTOS C Library V2.06 - 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
    B4:  STDIO_SSH - SSH (SC1x3 only)

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.

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3
    V1.02V1.00V1.00V1.07

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


End of document