48 lines
971 B
Plaintext
48 lines
971 B
Plaintext
|
|
///1MODE
|
|
|
|
Syntax:
|
|
|
|
MODE /?
|
|
MODE COM<n>:
|
|
[<baud>[,<parity>[,<databits>[,<stopbits>]]]] [/P]
|
|
|
|
Explanation:
|
|
|
|
MODE is used to display and/or modify the configuration
|
|
of a serial device of a RomWBW system.
|
|
|
|
<baud> is numerical baudrate
|
|
<parity> is (N)one, (O)dd, (E)ven, (M)ark, or (S)pace
|
|
<databits> is number of data bits, typically 7 or 8
|
|
<stopbits> is number of stop bits, typically 1 or 2
|
|
/P prompts the user prior to setting new configuration
|
|
|
|
Notes:
|
|
|
|
Parameters not provided will remain unchanged.
|
|
The device must support the specified configuration.
|
|
|
|
Author:
|
|
|
|
Wayne Warthen (wwarthen@gmail.com)
|
|
|
|
///2Examples
|
|
|
|
A>MODE /?
|
|
|
|
Display command usage
|
|
|
|
A>MODE
|
|
|
|
Display configuration of all serial ports
|
|
|
|
A>MODE COM0:
|
|
|
|
Display configuration of serial unit 0
|
|
|
|
A>MODE COM1: 9600,N,8,1
|
|
|
|
Set serial unit 1 configuration
|
|
|