Compartilhar via


estrutura UCSI_GET_CONNECTOR_STATUS_IN (ucmucsispec.h)

Usado no comando GET_CONNECTOR_STATUS. Consulte Tabela 4-42 na especificação UCSI versão 1.2.

Sintaxe

typedef struct _UCSI_GET_CONNECTOR_STATUS_IN {
  union {
    UINT16 AsUInt16;
    struct {
      UINT16 ExternalSupplyChange : 1;
      UINT16 PowerOperationModeChange : 1;
      UINT16 SupportedProviderCapabilitiesChange : 1;
      UINT16 NegotiatedPowerLevelChange : 1;
      UINT16 PdResetComplete : 1;
      UINT16 SupportedCamChange : 1;
      UINT16 BatteryChargingStatusChange : 1;
      UINT16 ConnectorPartnerChange : 1;
      UINT16 PowerDirectionChange : 1;
      UINT16 ConnectChange : 1;
      UINT16 Error : 1;
    };
  } ConnectorStatusChange;
  UINT16 PowerOperationMode : 3;
  UINT16 ConnectStatus : 1;
  UINT16 PowerDirection : 1;
  UINT16 ConnectorPartnerFlags : 8;
  UINT16 ConnectorPartnerType : 3;
  UINT32 RequestDataObject;
  union {
    struct {
      UINT8 BatteryChargingStatus : 2;
      UINT8 PowerBudgetLimitedReason : 4;
    };
    struct {
      UINT8 PowerBudgetLowered : 1;
      UINT8 ReachingPowerBudgetLimit : 1;
    } bmPowerBudgetLimitedReason;
  };
} UCSI_GET_CONNECTOR_STATUS_IN, *PUCSI_GET_CONNECTOR_STATUS_IN;

Membros

ConnectorStatusChange

ConnectorStatusChange.AsUInt16

ConnectorStatusChange.ExternalSupplyChange

ConnectorStatusChange.PowerOperationModeChange

ConnectorStatusChange.SupportedProviderCapabilitiesChange

ConnectorStatusChange.NegotiatedPowerLevelChange

ConnectorStatusChange.PdResetComplete

ConnectorStatusChange.SupportedCamChange

ConnectorStatusChange.BatteryChargingStatusChange

ConnectorStatusChange.ConnectorPartnerChange

ConnectorStatusChange.PowerDirectionChange

ConnectorStatusChange.ConnectChange

ConnectorStatusChange.Error

PowerOperationMode

ConnectStatus

PowerDirection

ConnectorPartnerFlags

ConnectorPartnerType

RequestDataObject

BatteryChargingStatus

PowerBudgetLimitedReason

bmPowerBudgetLimitedReason

bmPowerBudgetLimitedReason.PowerBudgetLowered

bmPowerBudgetLimitedReason.ReachingPowerBudgetLimit

Requisitos

Requisito Valor
Versão mínima do KMDF 1.27
Versão mínima do UMDF N/D
Cabeçalho ucmucsispec.h (inclua UcmUcsiCx.h)