Serial Port Driver PDD Functions
Other versions of this page are also available for the following:
8/28/2008
The following table shows the serial port driver platform dependent driver (PDD) functions.
Programming element | Description |
---|---|
This function returns a pointer to a HWOBJ structure. The structure contains the function pointers and parameters for the hardware interface functions of the relevant lower layer. |
|
This function clears an RS-232 line break condition. |
|
This function clears the Data Terminal Ready (DTR) signal. |
|
This function clears the Request to Send (RTS) signal. |
|
This function closes the device initialized by the HWInit function. |
|
This function is called by the upper layer to de-initialize the hardware when a device driver is unloaded. |
|
This function disables the infrared (IR) serial interface. |
|
This function enables the infrared (IR) serial interface. |
|
This function retrieves the current properties of the communications device. |
|
This function returns the current interrupt type. |
|
This function retrieves the modem status. |
|
This function returns the maximum number of bytes that the hardware buffer can hold, not including the padding, stop, and start bits. |
|
This function returns the start of the hardware-receive buffer. |
|
This function specifies the hardware status API. |
|
This function initializes a serial device. |
|
This function executes device I/O control (IOCTL) routines. |
|
This function handles line interrupts for serial port devices. |
|
This function handles the modem interrupt. In the serial port upper layer implementation available in Windows CE 3.0 and later, this function replaces the HWOtherIntrHandler function. |
|
This function is called by the upper layer to open the serial device. |
|
In Windows CE 3.0 and later, this function has been replaced with the new function HWModemIntrHandler. |
|
This function performs necessary operations after it initializes all data structures and prepares the serial IST to begin handling interrupts. It is called by the upper layer. |
|
This function notifies the platform-dependent driver that the hardware platform is about to enter suspend mode. It is called by the model device driver (MDD). |
|
This function notifies the platform-dependent driver that the hardware platform is resuming from suspend mode. It is called by the MDD. |
|
This function purges the communications device. |
|
This function writes bytes to hardware. The driver calls this function. |
|
This function resets the hardware API. |
|
This function handles serial port interrupts. |
|
This function sets the line break condition on the transmit line. |
|
This function sets the communications time-out events in response to a call to the SetCommTimeouts function. |
|
This function sets the device control block. |
|
This function sets the Data Terminal Ready (DTR) signal. |
|
This function sets the Request to Send (RTS) signal. |
|
This function handles the transmit interrupt for serial port devices. |
|
This function transmits a single character. |