Control Requests; E.5.2 Control Requests - Motorola USB08 Reference Manual

Universal serial bus evaluation board using the mc68hc908jb8
Table of Contents

Advertisement

Universal USB Device Driver (USBIO)

E.5.2 Control Requests

Designer Reference Manual
150
This section provides a detailed description of the I/O Control operations
the USBIO driver supports through its programming interface. The I/O
Control requests are submitted to the driver using the Win32 function
DeviceIoControl (see
function is defined as follows:
BOOL DeviceIoControl (
HANDLE hDevice,
DWORD dwIoControlCode,
LPVOID lpInBuffer,
DWORD nInBufferSize,
LPVOID lpOutBuffer,
DWORD nOutBufferSize,
LPDWORD lpBytesReturned, // pointer to variable to receive
LPOVERLAPPED lpOverlapped // pointer to overlapped structure
);
Refer to the Microsoft Platform SDK documentation for more
information.
The following sections describe the I/O Control codes that may be
passed to the DeviceIoControl function as dwIoControlCode and
the parameters required for lpInBuffer, nInBufferSize,
lpOutBuffer, nOutBufferSize.
Universal USB Device Driver (USBIO)
E.4
Architecture). The DeviceIoControl
// handle to device of interest
// control code of operation to perform
// pointer to buffer to supply input data
// size of input buffer
// pointer to buffer to receive output data
// size of output buffer
// output byte count
// for asynchronous operation
USB08 Evaluation Board
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68hc908jb8

Table of Contents