Planar DX/PCI User Manual page 74

Display controller
Hide thumbs Also See for DX/PCI:
Table of Contents

Advertisement

64 | DSerialCmd
Example This example writes a command byte to the PS/2 serial port
and then reads back the specified number of response bytes
from the port.
#include <mdpcint.h>
{
HDC
UWORD
DWORD
UBYTE
DWORD
/* Put command bytes in CmdBuffer, and set number of
dwRetCode = DSerialCmd (hdc, 0, wnumCmdBytes,
return dwRetCode;
}
hdc;
wnumCmdBytes, wnumResponseBytes;
dwTimeout;
CmdBuffer, ResponseBuffer;
dwRetCode;
.
.
.
&CmdBuffer, wnumResponseBytes, &ResponseBuffer,
dwTimeout);
command bytes and response bytes */

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dome m2/pciRx/pciDome dx/pciDome rx/pci

Table of Contents