Partager via


union UCSI_CONTROL (ucmucsispec.h)

Utilisé dans la commande SET_NOTIFICATION_ENABLE. Consultez le tableau 4-9 de la spécification UCSI version 1.2.

Syntaxe

typedef union _UCSI_CONTROL {
  UINT64                                AsUInt64;
  struct {
    UINT64 Command : 8;
    UINT64 DataLength : 8;
    UINT64 CommandSpecific : 48;
  };
  UCSI_CONNECTOR_RESET_COMMAND          ConnectorReset;
  UCSI_ACK_CC_CI_COMMAND                AckCcCi;
  UCSI_SET_NOTIFICATION_ENABLE_COMMAND  SetNotificationEnable;
  UCSI_GET_CONNECTOR_CAPABILITY_COMMAND GetConnectorCapability;
  UCSI_SET_UOM_COMMAND                  SetUom;
  UCSI_SET_UOR_COMMAND                  SetUor;
  UCSI_SET_PDM_COMMAND                  SetPdm;
  UCSI_SET_PDR_COMMAND                  SetPdr;
  UCSI_GET_ALTERNATE_MODES_COMMAND      GetAlternateModes;
  UCSI_GET_CAM_SUPPORTED_COMMAND        GetCamSupported;
  UCSI_GET_CURRENT_CAM_COMMAND          GetCurrentCam;
  UCSI_SET_NEW_CAM_COMMAND              SetNewCam;
  UCSI_GET_PDOS_COMMAND                 GetPdos;
  UCSI_GET_CABLE_PROPERTY_COMMAND       GetCableProperty;
  UCSI_GET_CONNECTOR_STATUS_COMMAND     GetConnectorStatus;
  UCSI_GET_ERROR_STATUS_COMMAND         GetErrorStatus;
  UCSI_SET_POWER_LEVEL_COMMAND          SetPowerLevel;
} UCSI_CONTROL, *PUCSI_CONTROL;

Membres

AsUInt64

Command

DataLength

CommandSpecific

ConnectorReset

AckCcCi

SetNotificationEnable

GetConnectorCapability

SetUom

SetUor

SetPdm

SetPdr

GetAlternateModes

GetCamSupported

GetCurrentCam

SetNewCam

GetPdos

GetCableProperty

GetConnectorStatus

GetErrorStatus

SetPowerLevel

Configuration requise

Condition requise Valeur
Version KMDF minimale 1,27 %
Version UMDF minimale N/A
En-tête ucmucsispec.h (inclure UcmUcsiCx.h)