Section contents
ccomms.oxh
CommConfig represents the confifuration details of a serial port.
this& = NewCommConfig&:
Creates a comm object and returns a handle which allows the object to be manipulated.
this& |
An value which represents the created CommConfig object |
If the object could not be created then an error is generated
which should be trapped by an ONERR
handler.
LOCAL this& this& = NewCommConfig&: DeleteCommConfig:(this&)
DeleteCommConfig:(BYREF this&)
Destroys the CommConfig object.
BYREF this& |
A handle to a CommConfig object |
LOCAL this& this& = NewCommConfig&:() DeleteCommConfig:(this&)
bits% = CommConfigDataBits%:(this&)
<TBS>
this& |
A handle to a CommConfig object |
bits% |
The number of data bits |
status% = CommConfigFIFO%:(this&)
<TBS>
this& |
A handle to a CommConfig object |
status% |
The FIFO status |
handshake& = CommConfigHandshake&:(this&)
<TBS>
this& |
A handle to a CommConfig object |
handshake& |
The handshaking control |
parity% = CommConfigParity%:(this&)
<TBS>
this& |
A handle to a CommConfig object |
parity% |
The parity type |
CommConfigParity, CommConfigParityError, CommConfigParityErrorChar, CommConfigSetParity
error& = CommConfigParityError&:(this&)
<TBS>
this& |
A handle to a CommConfig object |
error& |
The parity error |
CommConfigParity, CommConfigParityError, CommConfigParityErrorChar, CommConfigSetParityError
char% = CommConfigParityErrorChar%:(this&)
<TBS>
this& |
A handle to a CommConfig object |
char% |
Character used to replace those received with a parity error with when iParityError is set to KConfigParityErrorReplaceChar |
CommConfigParity, CommConfigParityError, CommConfigParityErrorChar, CommConfigSetParityErrorChar
rate% = CommConfigRate%:(this&)
<TBS>
this& |
A handle to a CommConfig object |
rate% |
The data rate |
CommConfigSetDataBits:(this&,bits%)
<TBS>
this& |
A handle to a CommConfig object |
bits% |
<TBS> |
CommConfigSetFIFO:(this&,status%)
<TBS>
this& |
A handle to a CommConfig object |
status% |
<TBS> |
CommConfigSetHandshake:(this&,handshake&)
<TBS>
this& |
A handle to a CommConfig object |
handshake& |
A bitmask of the handshaking control |
CommConfigSetParity:(this&,parity%)
<TBS>
this& |
A handle to a CommConfig object |
parity% |
The parity type to set |
CommConfigParity, CommConfigParityError, CommConfigParityErrorChar
CommConfigSetParityError:(this&,error&)
<TBS>
this& |
A handle to a CommConfig object |
error& |
The parity error to set |
CommConfigParity, CommConfigParityError, CommConfigParityErrorChar
CommConfigSetParityErrorChar:(this&,char%)
<TBS>
this& |
A handle to a CommConfig object |
char% |
Character used to replace those received with a parity error with when iParityError is set to KConfigParityErrorReplaceChar |
CommConfigParity, CommConfigParityError, CommConfigParityErrorChar
CommConfigSetRate:(this&,rate%)
<TBS>
this& |
A handle to a CommConfig object |
rate% |
The data rate |
CommConfigSetSIREnable:(this&,bool%)
<TBS>
this& |
A handle to a CommConfig object |
bool% |
Switch the SIR encoding hardware on and off |
CommConfigSetSIRSettings:(this&,setting&)
<TBS>
this& |
A handle to a CommConfig object |
setting& |
The SIR settings |
CommConfigSetSpecialRate:(this&,rate&)
<TBS>
this& |
A handle to a CommConfig object |
rate& |
Pass though data rate used when iRate is set to EBpsSpecial. The representation used in driver dependent. |
CommConfigSetStopBits:(this&,bits%)
<TBS>
this& |
A handle to a CommConfig object |
bits% |
The number of stop bits |
CommConfigSetTerminator:(this&,index%,char%)
<TBS>
this& |
A handle to a CommConfig object |
index% |
<TBS> |
char% |
<TBS> |
CommConfigSetTerminatorCount, CommConfigTerminator, CommConfigTerminatorCount
CommConfigSetTerminatorCount:(this&,count%)
<TBS>
this& |
A handle to a CommConfig object |
count% |
The number of significant terminators (<= KConfigMaxTerminators% ) |
CommConfigSetTerminator, CommConfigTerminator, CommConfigTerminatorCount
CommConfigSetXoffChar:(this&,char%)
<TBS>
this& |
A handle to a CommConfig object |
char% |
Character used to signal the transmitter to suspend sending when using XON/XOFF handshaking |
CommConfigXoffChar, CommConfigXonChar, CommConfigSetXonChar
CommConfigSetXonChar:(this&,char%)
<TBS>
this& |
A handle to a CommConfig object |
char% |
Character used to signal the transmitter to resume sending when using XON/XOFF handshaking |
CommConfigXoffChar, CommConfigXonChar, CommConfigSetXoffChar
bool% = CommConfigSIREnable%:(this&)
<TBS>
this& |
A handle to a CommConfig object |
bool% |
Switch the SIR encoding hardware on and off |
CommConfigSetSIREnable, CommConfigSetSIRSettings, CommConfigSIREnable
settings& = CommConfigSIRSettings&:(this&)
<TBS>
this& |
A handle to a CommConfig object |
settings& |
The SIR settings |
CommConfigSIREnable, CommConfigSetSIREnable, CommConfigSetSIRSettings
rate& = CommConfigSpecialRate&:(this&)
<TBS>
this& |
A handle to a CommConfig object |
rate& |
Pass though data rate used when iRate is set to EBpsSpecial. The representation used in driver dependent. |
bits% = CommConfigStopBits%:(this&)
<TBS>
this& |
A handle to a CommConfig object |
bits% |
The number of stop bits |
char% = CommConfigTerminator%:(this&)
<TBS>
this& |
A handle to a CommConfig object |
char% |
<TBS> |
CommConfigSetTerminator, CommConfigSetTermiantorCount, CommConfigTerminator, CommConfigTerminatorCount
count% = CommConfigTerminatorCount%:(this&)
<TBS>
this& |
A handle to a CommConfig object |
count% |
The number of significant terminators (<= KConfigMaxTerminators% ) |
CommConfigSetTerminator, CommConfigSetTerminatorCount, CommConfigTerminator, CommConfigTerminatorCount
char% = CommConfigXoffChar%:(this&)
<TBS>
this& |
A handle to a CommConfig object |
char% |
Character used to signal the transmitter to suspend sending when using XON/XOFF handshaking |
CommConfigSetXoffChar, CommConfigSetXonChar, CommConfigXonChar
char% = CommConfigXonChar%:(this&)
<TBS>
this& |
A handle to a CommConfig object |
char% |
Character used to signal the transmitter to resume sending when using XON/XOFF handshaking |
CommConfigSetXoffChar, CommConfigSetXonChar, CommConfigXoffChar