Important: The information in this document is obsolete and should not be used for new development.
Serial Driver Routines
You can use the Serial Driver routines to
This section describes the control and status routines unique to the Serial Driver, as well the convenience routines for accessing them. Other Serial Driver functions, such as reading and writing, are accessed through the Device Manager. For information about the Device Manager functions for opening, closing, and communicating with device drivers, see the chapter "Device Manager" in this book.
- reset and configure the serial port device drivers
- set the size of the serial input buffer
- set handshaking options
- set or clear a break signal
- determine the number of characters in the input buffer
- get status information for a serial port
- IMPORTANT
- The Serial Driver convenience routines described in this section are always executed synchronously when called using the high-level interface. To execute these functions asynchronously you must use the equivalent low-level Device Manager control or status call (
PBControlAsync
orPBStatusAsync
). ThecsCode
value for each routine is listed in the assembly-language information section of the routine description.