@CHIP-RTOS C Library V2.06 - BIOS API
BIOS_Set_Focus
Set STDIO focus. void BIOS_Set_Focus ( IO_FOCUS focus ); Parameters
focus
- Enumeration type:
FOCUS_SHELL = 1: Set focus to command shell
FOCUS_APPLICATION = 2: Set focus to application
FOCUS_BOTH = 3: Set focus to both application and command shell
Return Value
- -- none --
Comments
- This function sets the focus of STDIO to either console, application
or both.
If your application requires input from the user, you should set the
focus to the application. You should take care that only one
application requests input from STDIO.
The user can change the focus by using the focus hot key (default
Ctrl-F). Changing the focus clears the serial input and output
queues immediately.
Important
:
All buffered incoming and outgoing characters in the internal serial
send and receive queues are lost after this call.
This function includes a one millisecond sleep.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Related Topics
-
- Focus key definition
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
V1.00 | V1.00 | V1.00 | V0.90 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|