UCSI_POWER_DIRECTION_ROLE 枚举 (ucmucsispec.h)

在 SET_PDR 命令中使用。 请参阅 UCSI 规范版本 1.2 中的表 4-22 偏移量 23

语法

typedef enum _UCSI_POWER_DIRECTION_ROLE {
  UcsiPowerDirectionRoleProvider,
  UcsiPowerDirectionRoleConsumer,
  UcsiPowerDirectionRoleAcceptSwap,
  UcsiPowerDirectionRoleProviderAcceptSwap,
  UcsiPowerDirectionRoleConsumerAcceptSwap
} UCSI_POWER_DIRECTION_ROLE;

常量

 
UcsiPowerDirectionRoleProvider
UcsiPowerDirectionRoleConsumer
UcsiPowerDirectionRoleAcceptSwap

要求

要求
最低 KMDF 版本 1.27
最低 UMDF 版本 不可用
标头 ucmucsispec.h (包括 UcmUcsiCx.h)