www.beck-ipc.com

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


BIOS_Select_Stdio

Specify the stdin / stdout channels.

int BIOS_Select_Stdio ( unsigned int ports, unsigned char direction );

Parameters

ports

Bit field specifying the channels using a combination of following masks:

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

direction

Bit field specifying either stdin, stdout or both using a combination of following masks

    B0:  SET_STDOUT
    B1:  SET_STDIN

Return Value

0:  Successful
-1:  Invalid paragraphs

Comments

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