UCSI_CONTROL union (ucmucsispec.h)
Digunakan dalam perintah SET_NOTIFICATION_ENABLE. Lihat Tabel 4-9 dalam spesifikasi UCSI versi 1.2.
Sintaks
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;
Anggota
AsUInt64
Command
DataLength
CommandSpecific
ConnectorReset
AckCcCi
SetNotificationEnable
GetConnectorCapability
SetUom
SetUor
SetPdm
SetPdr
GetAlternateModes
GetCamSupported
GetCurrentCam
SetNewCam
GetPdos
GetCableProperty
GetConnectorStatus
GetErrorStatus
SetPowerLevel
Persyaratan
Persyaratan | Nilai |
---|---|
Versi KMDF minimum | 1.27 |
Versi UMDF minimum | T/A |
Header | ucmucsispec.h (termasuk UcmUcsiCx.h) |
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk