UCSI_SET_POWER_LEVEL_COMMAND union (ucmucsispec.h)

Used in the SET_POWER_LEVEL command. See Table 4-48 in UCSI spec version 1.2.

Syntax

typedef union _UCSI_SET_POWER_LEVEL_COMMAND {
  UINT64 AsUInt64;
  struct {
    UINT64 Command : 8;
    UINT64 DataLength : 8;
    UINT64 ConnectorNumber : 7;
    UINT64 SourceOrSink : 1;
    UINT64 UsbPdMaxPowerIn500mW : 8;
    UINT64 UsbTypeCCurrent : 2;
  };
} UCSI_SET_POWER_LEVEL_COMMAND, *PUCSI_SET_POWER_LEVEL_COMMAND;

Members

AsUInt64

Command

DataLength

ConnectorNumber

SourceOrSink

UsbPdMaxPowerIn500mW

UsbTypeCCurrent

Requirements

Requirement Value
Minimum KMDF version 1.27
Minimum UMDF version N/A
Header ucmucsispec.h (include UcmUcsiCx.h)