d32usbcshared.h File Reference

const TInt KErrUsbDriverBase

const TIntKErrUsbDriverBase

USB driver specific error codes start from here

const TInt KErrUsbInterfaceNotReady

const TIntKErrUsbInterfaceNotReady

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

const TIntKErrUsbEpNotInInterface

Attempt at data transfer on an endpoint that does not belong to the active interface

const TInt KErrUsbEpBadDirection

const TIntKErrUsbEpBadDirection

Attempt at data transfer in a direction not supported by the endpoint

const TInt KErrUsbTransferSize

const TIntKErrUsbTransferSize

The data transfer size specified exceeds that of the source or destination buffer descriptor

const TInt KErrUsbDeviceNotConfigured

const TIntKErrUsbDeviceNotConfigured

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

const TIntKErrUsbBadEndpoint

Requested endpoint properties inconsistent during Interface setup

const TInt KErrUsbDeviceClosing

const TIntKErrUsbDeviceClosing

User data request completed because channel is closing (channel destructor called)

const TInt KErrUsbInterfaceChange

const TIntKErrUsbInterfaceChange

User data request completed because current endpoint set is being replaced since alternate setting is changing

const TInt KErrUsbCableDetached

const TIntKErrUsbCableDetached

User data request completed because cable has been detached (or equivalent)

const TInt KErrUsbDeviceBusReset

const TIntKErrUsbDeviceBusReset

User data request completed because cable has been detached (or equivalent)

const TInt KErrUsbEpNotReady

const TIntKErrUsbEpNotReady

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

const TIntKUsbcMaxEndpoints

The maximum number of endpoints supported by the device, excluding ep0.

const TInt KMaxEndpointsPerClient

const TIntKMaxEndpointsPerClient

The maximum number of endpoints per interface, excluding ep0.

const TInt KInvalidEndpointNumber

const TIntKInvalidEndpointNumber

const TUint KUsbAlternateSetting

const TUintKUsbAlternateSetting

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

const TUintKUsbDevCapsFeatureWord1_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.

TUsbDeviceCapsV01

const TUint KUsbDevCapsFeatureWord1_EndpointResourceAllocV2

const TUintKUsbDevCapsFeatureWord1_EndpointResourceAllocV2

If this flag is set then the driver supports the new endpoint resource allocation scheme for DMA and Double-buffering via TUsbcEndpointInfo::iFeatureWord1.

TUsbDeviceCapsV01

Typedef TUsbDeviceCaps

typedef TPckgBuf< TUsbDeviceCapsV01 >TUsbDeviceCaps

Package buffer for a TUsbDeviceCapsV01 object.

TUsbDeviceCapsV01

const TUint KUsbEpNotAvailable

const TUintKUsbEpNotAvailable

Bitmaps for TUsbcEndpointCaps.iSizes.

This endpoint is not available (= no size).

const TUint KUsbEpSizeCont

const TUintKUsbEpSizeCont

Max packet size is continuously variable up to some size specified. (Interrupt and Isochronous endpoints only.)

const TUint KUsbEpSize8

const TUintKUsbEpSize8

Max packet size 8 bytes is supported

const TUint KUsbEpSize16

const TUintKUsbEpSize16

Max packet size 16 bytes is supported

const TUint KUsbEpSize32

const TUintKUsbEpSize32

Max packet size 32 bytes is supported

const TUint KUsbEpSize64

const TUintKUsbEpSize64

Max packet size 64 bytes is supported

const TUint KUsbEpSize128

const TUintKUsbEpSize128

Max packet size 128 bytes is supported

const TUint KUsbEpSize256

const TUintKUsbEpSize256

Max packet size 256 bytes is supported

const TUint KUsbEpSize512

const TUintKUsbEpSize512

Max packet size 512 bytes is supported

const TUint KUsbEpSize1023

const TUintKUsbEpSize1023

Max packet size 1023 bytes is supported

const TUint KUsbEpSize1024

const TUintKUsbEpSize1024

Max packet size 1024 bytes is supported

const TUint KUsbEpTypeControl

const TUintKUsbEpTypeControl

Bitmaps for TUsbcEndpointCaps.iSupportedTypesAndDir.

Endpoint supports Control transfer type.

const TUint KUsbEpTypeIsochronous

const TUintKUsbEpTypeIsochronous

Endpoint supports Isochronous transfer type.

const TUint KUsbEpTypeBulk

const TUintKUsbEpTypeBulk

Endpoint supports Bulk transfer type.

const TUint KUsbEpTypeInterrupt

const TUintKUsbEpTypeInterrupt

Endpoint supports Interrupt transfer type.

const TUint KUsbEpDirIn

const TUintKUsbEpDirIn

Endpoint supports IN transfers.

const TUint KUsbEpDirOut

const TUintKUsbEpDirOut

Endpoint supports OUT transfers.

const TUint KUsbEpDirBidirect

const TUintKUsbEpDirBidirect

Endpoint supports bidirectional (Control) transfers only.

const TUint KUsbcEndpointInfoFeatureWord1_DMA

const TUintKUsbcEndpointInfoFeatureWord1_DMA

The endpoint resource allocation flags; used by TUsbcEndpointInfo::iFeatureWord1.

TUsbcEndpointInfo

const TUint KUsbcEndpointInfoFeatureWord1_DoubleBuffering

const TUintKUsbcEndpointInfoFeatureWord1_DoubleBuffering

const TUint KUsbcInterfaceInfo_NoEp0RequestsPlease

const TUintKUsbcInterfaceInfo_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