const TInt | KErrUsbDriverBase |
USB driver specific error codes start from here
const TInt | KErrUsbInterfaceNotReady |
Attempt at data transfer, or something interface related, when neither an Interface has been set up nor Device Control is owned by the channel
const TInt | KErrUsbEpNotInInterface |
Attempt at data transfer on an endpoint that does not belong to the active interface
const TInt | KErrUsbEpBadDirection |
Attempt at data transfer in a direction not supported by the endpoint
const TInt | KErrUsbTransferSize |
The data transfer size specified exceeds that of the source or destination buffer descriptor
const TInt | KErrUsbDeviceNotConfigured |
This has multiple uses: 1) User request completed because device is no longer in configured state 2) Something endpoint related, stall, unstall, status enquiry etc, that requires the device to be configured
const TInt | KErrUsbBadEndpoint |
Requested endpoint properties inconsistent during Interface setup
const TInt | KErrUsbDeviceClosing |
User data request completed because channel is closing (channel destructor called)
const TInt | KErrUsbInterfaceChange |
User data request completed because current endpoint set is being replaced since alternate setting is changing
const TInt | KErrUsbCableDetached |
User data request completed because cable has been detached (or equivalent)
const TInt | KErrUsbDeviceBusReset |
User data request completed because cable has been detached (or equivalent)
const TInt | KErrUsbEpNotReady |
This means that read data is still available when a write request is made. Relates to bidirectional eps only (ep0). A bidirectional ep must consume all of its read data before attempting to write.
const TInt | KUsbcMaxEndpoints |
The maximum number of endpoints supported by the device, excluding ep0.
const TInt | KMaxEndpointsPerClient |
The maximum number of endpoints per interface, excluding ep0.
const TUint | KUsbAlternateSetting |
The alternate setting flag; when this bit is set the state change notified by RDevUsbcClient::AlternateDeviceStatusNotify() is an alternate setting number.
const TUint | KUsbDevCapsFeatureWord1_CableDetectWithoutPower |
The USB cable detection feature flag; used by TUsbDeviceCapsV01::iFeatureWord1. When this bit is set then the USB controller hardware (UDC) supports detection of a plugged-in USB cable even when not powered.
const TUint | KUsbDevCapsFeatureWord1_EndpointResourceAllocV2 |
If this flag is set then the driver supports the new endpoint resource allocation scheme for DMA and Double-buffering via TUsbcEndpointInfo::iFeatureWord1.
typedef TPckgBuf< TUsbDeviceCapsV01 > | TUsbDeviceCaps |
Package buffer for a TUsbDeviceCapsV01 object.
const TUint | KUsbEpNotAvailable |
Bitmaps for TUsbcEndpointCaps.iSizes.
This endpoint is not available (= no size).
const TUint | KUsbEpSizeCont |
Max packet size is continuously variable up to some size specified. (Interrupt and Isochronous endpoints only.)
const TUint | KUsbEpTypeControl |
Bitmaps for TUsbcEndpointCaps.iSupportedTypesAndDir.
Endpoint supports Control transfer type.
const TUint | KUsbEpTypeIsochronous |
Endpoint supports Isochronous transfer type.
const TUint | KUsbEpTypeInterrupt |
Endpoint supports Interrupt transfer type.
const TUint | KUsbEpDirBidirect |
Endpoint supports bidirectional (Control) transfers only.
const TUint | KUsbcEndpointInfoFeatureWord1_DMA |
The endpoint resource allocation flags; used by TUsbcEndpointInfo::iFeatureWord1.
const TUint | KUsbcEndpointInfoFeatureWord1_DoubleBuffering |
const TUint | KUsbcInterfaceInfo_NoEp0RequestsPlease |
The Ep0 Setup request 'unsubscribe' flag; used by TUsbcInterfaceInfo::iFeatureWord. When this bit is set then valid vendor- or class-specific Ep0 requests addressed to this interface or any of its endpoints will be stalled by the USB PDD PIL.
TUsbcInterfaceInfo
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.