www.beck-ipc.com

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


BIOS_getch

Get char from standard input, with wait.

unsigned int BIOS_getch ( void );

Parameters

-- none --

Return Value

Lower byte: input character
Upper byte: Source of input - 1: EXT, 2: COM, 4: Telnet, 8: User channel

Comments

If only the input character is of interest, the return value can be cast to a character to suppress the data source indication carried in the upper byte.

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.00V1.00V1.00V0.90

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


End of document