@CHIP-RTOS C Library V2.06 - 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
B4: STDIO_SSH - SSH (SC1x3 only)
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.
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
V1.02 | V1.00 | V1.00 | V1.07 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|