TUsbDeviceDescriptor Class Reference
class TUsbDeviceDescriptor : public TUsbGenericDescriptor |
Device descriptor.
See section 9.6.1 of the USB 2.0 specification.
Intended to be available to 3rd parties later
Public Member Enumerations |
---|
enum | TFieldOffsets { EbcdUSB = 2, EbDeviceClass = 4, EbDeviceSubClass = 5, EbDeviceProtocol = 6, EbMaxPacketSize0 = 7, EidVendor = 8, EidProduct = 10, EbcdDevice = 12, EiManufacturer = 14, EiProduct = 15, EiSerialNumber = 16, EbNumConfigurations = 17 } |
Constructor & Destructor Documentation
TUsbDeviceDescriptor()
IMPORT_C | TUsbDeviceDescriptor | ( | ) | |
Member Functions Documentation
Cast(TUsbGenericDescriptor *)
DeviceClass()
IMPORT_C TUint8 | DeviceClass | ( | ) | const |
DeviceProtocol()
IMPORT_C TUint8 | DeviceProtocol | ( | ) | const |
DeviceSubClass()
IMPORT_C TUint8 | DeviceSubClass | ( | ) | const |
IsParent(TUsbGenericDescriptor &)
IsPeer(TUsbGenericDescriptor &)
ManufacturerIndex()
IMPORT_C TUint8 | ManufacturerIndex | ( | ) | const |
MaxPacketSize0()
IMPORT_C TUint8 | MaxPacketSize0 | ( | ) | const |
NumConfigurations()
IMPORT_C TUint8 | NumConfigurations | ( | ) | const |
ParseL(TPtrC8 &, TUsbGenericDescriptor *)
The parsing routine for device descriptors. Here the previous descriptor parameter is ignored - because logically a device descriptor can be neither a peer nor a child.
ProductIndex()
IMPORT_C TUint8 | ProductIndex | ( | ) | const |
SerialNumberIndex()
IMPORT_C TUint8 | SerialNumberIndex | ( | ) | const |
Member Enumerations Documentation
Enum TFieldOffsets
Enumerators
EbcdUSB = 2 | |
EbDeviceClass = 4 | |
EbDeviceSubClass = 5 | |
EbDeviceProtocol = 6 | |
EbMaxPacketSize0 = 7 | |
EidVendor = 8 | |
EidProduct = 10 | |
EbcdDevice = 12 | |
EiManufacturer = 14 | |
EiProduct = 15 | |
EiSerialNumber = 16 | |
EbNumConfigurations = 17 | |
Member Data Documentation
const TInt KSizeInOctets
const TInt | KSizeInOctets | [static] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.