UCSI_GET_CONNECTOR_CAPABILITY_IN structure (ucmucsispec.h)
Used in the GET_CONNECTOR_CAPABILITY command.
Syntax
typedef struct _UCSI_GET_CONNECTOR_CAPABILITY_IN {
union {
UINT8 AsUInt8;
struct {
UINT8 DfpOnly : 1;
UINT8 UfpOnly : 1;
UINT8 Drp : 1;
UINT8 AudioAccessoryMode : 1;
UINT8 DebugAccessoryMode : 1;
UINT8 Usb2 : 1;
UINT8 Usb3 : 1;
UINT8 AlternateMode : 1;
};
} OperationMode;
UINT8 Provider : 1;
UINT8 Consumer : 1;
UINT8 SwapToDfp : 1;
UINT8 SwapToUfp : 1;
UINT8 SwapToSrc : 1;
UINT8 SwapToSnk : 1;
} UCSI_GET_CONNECTOR_CAPABILITY_IN, *PUCSI_GET_CONNECTOR_CAPABILITY_IN;
Members
OperationMode
This field indicates the mode that the connector can support.
OperationMode.AsUInt8
For internal use.
OperationMode.DfpOnly
Indicates that the connector supports only DFP mode.
OperationMode.UfpOnly
Indicates that the connector supports only UFP mode.
OperationMode.Drp
Indicates that the connector supports DRP mode.
OperationMode.AudioAccessoryMode
Indicates that the connector supports audio accessory mode.
OperationMode.DebugAccessoryMode
Indicates that the connector supports debug accessory mode.
OperationMode.Usb2
Indicates that the connector supports USB2 mode.
OperationMode.Usb3
Indicates that the connector supports USB3 mode.
OperationMode.AlternateMode
Indicates that the connector supports an alternate mode.
Provider
Indicates that the connector is capable of providing power.
Consumer
Indicates that the connector is capable of consuming power.
SwapToDfp
Indicates that the connector is capable of accepting swap to DFP.
SwapToUfp
Indicates that the connector is capable of accepting swap to UFP.
SwapToSrc
Indicates that the connector is capable of accepting swap to SRC.
SwapToSnk
Indicates that the connector is capable of accepting swap to SNK.
Remarks
See Table 4-17 in UCSI spec version 1.2.
Requirements
Requirement | Value |
---|---|
Minimum KMDF version | 1.27 |
Minimum UMDF version | N/A |
Header | ucmucsispec.h (include UcmUcsiCx.h) |