UCSI_POWER_DIRECTION_ROLE enumeration (ucmucsispec.h)

Used in the SET_PDR command. The SET_PDR command is used to set the power direction dictated by the OS Policy Manager (OPM), for the current connection.

Syntax

typedef enum _UCSI_POWER_DIRECTION_ROLE {
  UcsiPowerDirectionRoleProvider = 0x1,
  UcsiPowerDirectionRoleConsumer = 0x2,
  UcsiPowerDirectionRoleAcceptSwap = 0x4,
  UcsiPowerDirectionRoleProviderAcceptSwap = 0x5,
  UcsiPowerDirectionRoleConsumerAcceptSwap = 0x6
} UCSI_POWER_DIRECTION_ROLE;

Constants

 
UcsiPowerDirectionRoleProvider
Value: 0x1
The connector initiates swap to source, if not already operating as source.
UcsiPowerDirectionRoleConsumer
Value: 0x2
The connector initiates swap to sink, if not already operating as sink.
UcsiPowerDirectionRoleAcceptSwap
Value: 0x4
The connector accepts power direction swap requests from the port partner. If this bit is cleared, the connector rejects power direction swap requests from the port partner.
UcsiPowerDirectionRoleProviderAcceptSwap
Value: 0x5
This field combines the UcsiPowerDirectionRoleProvider and UcsiPowerDirectionRoleAcceptSwap values.
UcsiPowerDirectionRoleConsumerAcceptSwap
Value: 0x6
This field combines the UcsiPowerDirectionRoleConsumer and UcsiPowerDirectionRoleAcceptSwap values.

Remarks

For more information, see section 4.5.10 in the UCSI spec version 1.2.

Requirements

Requirement Value
Minimum KMDF version 1.27
Minimum UMDF version N/A
Header ucmucsispec.h (include UcmUcsiCx.h)

See also