UCSI_SET_NOTIFICATION_ENABLE_COMMAND union (ucmucsispec.h)
SET_NOTIFICATION_ENABLE コマンドで使用されます。 UCSI 仕様バージョン 1.2の表 4-9 を参照してください。
構文
typedef union _UCSI_SET_NOTIFICATION_ENABLE_COMMAND {
UINT64 AsUInt64;
struct {
UINT8 Command;
UINT8 DataLength;
union {
UINT16 NotificationEnable;
struct {
UINT16 CommandCompleteNotificationEnable : 1;
UINT16 ExternalSupplyChangeNotificationEnable : 1;
UINT16 PowerOperationModeChangeNotificationEnable : 1;
UINT16 SupportedProviderCapabilitiesChangeNotificationEnable : 1;
UINT16 NegotiatedPowerLevelChangeNotificationEnable : 1;
UINT16 PdResetNotificationEnable : 1;
UINT16 SupportedCamChangeNotificationEnable : 1;
UINT16 BatteryChargingStatusChangeNotificationEnable : 1;
UINT16 DataRoleSwapCompletedNotificationEnable : 1;
UINT16 PowerRoleSwapCompletedNotificationEnable : 1;
UINT16 ConnectChangeNotificationEnable : 1;
UINT16 ErrorNotificationEnable : 1;
};
};
};
} UCSI_SET_NOTIFICATION_ENABLE_COMMAND, *PUCSI_SET_NOTIFICATION_ENABLE_COMMAND;
メンバーズ
AsUInt64
Command
DataLength
NotificationEnable
CommandCompleteNotificationEnable
ExternalSupplyChangeNotificationEnable
PowerOperationModeChangeNotificationEnable
SupportedProviderCapabilitiesChangeNotificationEnable
NegotiatedPowerLevelChangeNotificationEnable
PdResetNotificationEnable
SupportedCamChangeNotificationEnable
BatteryChargingStatusChangeNotificationEnable
DataRoleSwapCompletedNotificationEnable
PowerRoleSwapCompletedNotificationEnable
ConnectChangeNotificationEnable
ErrorNotificationEnable
必要条件
要件 | 価値 |
---|---|
最小 KMDF バージョン | 1.27 |
UMDF の最小バージョン を する | N/A |
ヘッダー | ucmucsispec.h (UcmUcsiCx.h を含む) |