Command |
SETUP(AS1/AS2/DBG) |
|
|
Description |
Setup the protocol for the
Async1 / Async2 / Debug communication |
|
|
Syntax/Parameters |
setup(AS1){...} / setup(AS2){...} / setup(DBG){...} |
|
|
Options |
set="96NC"; //quick set up combination "48, 96, 192, 384,
768, 1150 with parity N, O, E and Command option".
baud=38450; //num = 110 to 6,250,000.
Any value can be set to allow trimming for deviating clocks i.e. 38450
data=7; //num = 5, 6, 7, 8
stop=2; //num = 1, 15, 2 - note 15 is 1.5 bits
parity=N; //first letter of Odd, Even, None, Mark, Space
rxi=Y; //set receive buffer interface as active (Y), a command
processing source (C) or disable (N). Default = N
proc=“;”; //process on receive termination character(s). See below
procDel=Y; //remove or keep the termination character(s) before
processing
procNum=5; //interrupt on n bytes received as alternative to proc and
procDel.
rxb=8246; //set size of receive buffer in bytes. Default = 8192 bytes,
maximum 256K bytes.
txi=Y; //set transmit buffer interface as active (Y), to echo
command processing (E) or disable (N)
txb=8246; //set size of transmit buffer in bytes. Default = 8192 bytes
encode=s; //set s=ASCII,
w=UNICODE, m=UTF8 or use sr specifying raw text bytes and sd for raw data.
flow=N; //none (N), hardware RTS/CTS or DTR/DSR (H), software XON/XOFF
(S). |
|
|
Example |
setup(AS1)
{
set="96NC"; //quick set up combination "48, 96, 192, 384,
768, 1150 with parity N, O, E and Command option".
}
setup(AS1)
{
baud=38450; //num = 110 to 6,250,000.
Any value can be set to allow trimming for deviating clocks i.e. 38450
data=7; //num = 5, 6, 7, 8
stop=2; //num = 1, 15, 2 - note 15 is 1.5 bits
parity=N; //first letter of Odd, Even, None, Mark, Space
rxi=Y; //set receive buffer interface as active (Y), a command
processing source (C) or disable (N). Default = N
proc=“;”; //process on receive termination character(s). See below
procDel=Y; //remove or keep the termination character(s) before
processing
rxb=8246; //set size of receive buffer in bytes. Default = 8192 bytes,
maximum 256K bytes.
txi=Y; //set transmit buffer interface as active (Y), to echo
command processing (E) or disable (N)
txb=8246; //set size of transmit buffer in bytes. Default = 8192 bytes
encode=s; //set s=ASCII,
w=UNICODE, m=UTF8 or use sr specifying raw text bytes and sd for raw data.
flow=N; //none (N), hardware RTS/CTS or DTR/DSR (H), software XON/XOFF
(S).
} |
|
|
|