USB HOST DRIVER V03 Freescale Semiconductor / Motorola, USB HOST DRIVER V03 Datasheet - Page 18
USB HOST DRIVER V03
Manufacturer Part Number
USB HOST DRIVER V03
Description
USB Host Driver v03
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
1.USB_HOST_DRIVER_V03.pdf
(160 pages)
- Current page: 18 of 160
- Download datasheet (3Mb)
InterfaceData, len, &len, NULL);
}
To close a connection handle on a particular Device object use
function, specifying the opened handle for the Device object in question.
See the Microsoft Platform SDK documentation for further information.
2.4.5.
The Device object represents a physical Device. It provides Default Control Pipe
transfers, pipe connections, and some system control (Power Management, PnP, etc.).
Some Win32 API functions should be used to interact with the MOTUSB Device object.
Function Name
CreateFile
CloseHandle
DeviceIoControl
All operations involving Device object handles can be requested through the
DeviceIoControl function, while CreateFile and CloseHandle functions are used for
Device object connections only. Note that no data flow operations via ReadFile and
WriteFile can be performed. All data transmission to the Default Control Pipe requires
DeviceIoControl usage.
The following tasks can be performed using MOTUSB Device object:
M
InterfaceData->cbSize = sizeof(SP_DEVICE_INTERFACE_DETAIL_DATA);
bOK = SetupDiGetDeviceInterfaceDetail(devList, &DevData,
if ( !bOK ) {
}
hDevice = CreateFile(
return ( hDevice );
Descriptor retrieval
Configuration control
Setting / Clear Feature for specified recipient
free( InterfaceData );
return INVALID_HANDLE_VALUE;
Device Object Functions.
Table 2.2 Win32 API operations list for a Device object.
InterfaceData->DevicePath,
GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_WRITE | FILE_SHARE_READ, // share mode
NULL,
OPEN_EXISTING,
NULL,
NULL
);
PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE
Description
Opens handle to Device object
Close handle to Device object
Performs requests on Device object
Driver Model.
// access mode
// security desc.
// how to create
// template file
CloseHandle
// file attributes
Win32 API
2-7
Related parts for USB HOST DRIVER V03
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
UC/USB-Host Class: CDC (Communication Device Class) - Platform License
Manufacturer:
MICRIUM
Part Number:
Description:
UC/USB-Host Class: CDC (Communication Device Class) - Product Line License
Manufacturer:
MICRIUM
Part Number:
Description:
UC/USB-Host Class: CDC (Communication Device Class) - Single Product License
Manufacturer:
MICRIUM
Part Number:
Description:
UC/USB-Host Class: HID (Human Interface Device Class) - Platform License
Manufacturer:
MICRIUM
Part Number:
Description:
UC/USB-Host Class: HID (Human Interface Device Class) - Product Line License
Manufacturer:
MICRIUM
Part Number:
Description:
UC/USB-Host Class: HID (Human Interface Device Class) - Single Product License
Manufacturer:
MICRIUM
Part Number:
Description:
UC/USB-Host Core On The NXP LPC17xx - Platform License
Manufacturer:
MICRIUM
Part Number:
Description:
UC/USB-Host Core On The NXP LPC17xx - Product Line License
Manufacturer:
MICRIUM
Part Number:
Description:
UC/USB-Host Core On The NXP LPC17xx - Single Product License
Manufacturer:
MICRIUM
Part Number:
Description:
UC/USB-Host Core On The NXP LPC23xx - Platform License
Manufacturer:
MICRIUM
Part Number:
Description:
Low-Cost 16-Bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Functional Pin Difference Between the MSC8101 and MPC8260 Communications Processor Modules
Manufacturer:
Freescale Semiconductor / Motorola