@CHIP-RTOS C Library V2.00 - 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.
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|