IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page


CHIP.INI [STDIO]


[STDIO]
STDIN=Define standard input device

Define your device for standard input. You can define several devices simultaneously.

Valid devices are UART1 to UART6 and TELNET.
Default:

SC1x8 specific: By default, UART4, TELNET and SSH are used.
SC1x5 specific: By default, UART1, TELNET and SSH are used.
Example:
[STDIO]
STDIN=UART1 TELNET
Since
V0.80


[STDIO]
STDOUT=Define standard output device

Define your device for standard output. You can define several devices simultaneously.

Valid devices are UART1 to UART6 and TELNET.
Default:

SC1x8 specific: By default, UART4, TELNET and SSH are used.
SC1x5 specific: By default, UART1, TELNET and SSH are used.
Example:
[STDIO]
STDOUT=UART1 TELNET
Since
V0.80


[STDIO]
CTRL_C=0/1

Disable/enable the possibility to prevent processing of the AUTOEXEC.BAT via CTRL + C key. The following example disables the ctrl-c control.
Default:
Per default CTRL-C can be used to abort the AUTOEXEC.BAT.
Example:
[STDIO]
CTRL_C=0
Since
V0.80


[STDIO]
FOCUS=USER SHELL

Set the stdio focus to the command shell and/or to the user executables. Valid entries are USER or SHELL.

If only USER is defined, stdio in the command shell is suppressed.
If only SHELL is defined, stdout and stdin in the user's DOS executables are disabled.
Important:
If stdio is enabled for both, there is a rivalry between USER and SHELL.

The following example enables stdio for both USER and SHELL.
Default:
By default, stdin and stdout for both SHELL and USER are enabled.
Example:
[STDIO]
FOCUS=SHELL USER
Since
V0.80


[STDIO]
FOCUSKEY=key

Defines the key that switches the stdio focus.

At runtime pressing Ctrl-F keys on the console will then cycle the STDIO between the three modes:
     Stdio: User
     Stdio: Shell
     Stdio: Both
The new mode is shown on the console. Key Range: 0..254

If the key is set to zero, then no focus key is defined and the switching of STDIO is disabled.
Note:
The focus key code is filtered out by the system, and will not be visible to either the command shell or a executable. This key code is therefore not usable by either the command shell or a executable.
Default:
By default, the focus key is set to CTRL-F (ASCII 6).
Example:
[STDIO]
FOCUSKEY=6
Since
V0.80


[STDIO]
PRIO=prio

Defines the task priority of the shell main task (@SHL). Legal values are in the range 0-90.
Default:
Default is 40.
Example:
[STDIO]
PRIO=20
Since
V0.80


[STDIO]
PRIO2=prio

Defines the task priority of the shell task that handles input/output (@OUT). Legal values are in the range -1-90.
Default:
Default is -1.
Example:
[STDIO]
PRIO2=19
Since
V1.17





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Tue Dec 12 2017 09:23:36 by Doxygen 1.8.13