UCSI_SET_NOTIFICATION_ENABLE_COMMAND unión (ucmucsispec.h)
Se usa en el comando SET_NOTIFICATION_ENABLE. Consulte la tabla 4-9 en la versión 1.2 de la especificación UCSI.
Sintaxis
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;
Miembros
AsUInt64
Command
DataLength
NotificationEnable
CommandCompleteNotificationEnable
ExternalSupplyChangeNotificationEnable
PowerOperationModeChangeNotificationEnable
SupportedProviderCapabilitiesChangeNotificationEnable
NegotiatedPowerLevelChangeNotificationEnable
PdResetNotificationEnable
SupportedCamChangeNotificationEnable
BatteryChargingStatusChangeNotificationEnable
DataRoleSwapCompletedNotificationEnable
PowerRoleSwapCompletedNotificationEnable
ConnectChangeNotificationEnable
ErrorNotificationEnable
Requisitos
Requisito | Value |
---|---|
Versión mínima de KMDF | 1.27 |
Versión mínima de UMDF | N/D |
Encabezado | ucmucsispec.h (incluya UcmUcsiCx.h) |