UCSI_GET_PDOS_COMMAND union (ucmucsispec.h)

在 GET_PDOS 命令中使用。 请参阅 UCSI 规范版本 1.2中的表 4-34。

语法

typedef union _UCSI_GET_PDOS_COMMAND {
  UINT64 AsUInt64;
  struct {
    UINT64 Command : 8;
    UINT64 DataLength : 8;
    UINT64 ConnectorNumber : 7;
    UINT64 PartnerPdo : 1;
    UINT64 PdoOffset : 8;
    UINT64 NumberOfPdos : 2;
    UINT64 SourceOrSinkPdos : 1;
    UINT64 SourceCapabilitiesType : 2;
  };
} UCSI_GET_PDOS_COMMAND, *PUCSI_GET_PDOS_COMMAND;

成员

AsUInt64

Command

DataLength

ConnectorNumber

PartnerPdo

PdoOffset

NumberOfPdos

SourceOrSinkPdos

SourceCapabilitiesType

要求

要求 价值
最低 KMDF 版本 1.27
最低 UMDF 版本 N/A
标头 ucmucsispec.h (包括 UcmUcsiCx.h)