Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
UcsiPowerDirectionRoleProviderValue: 0x1 The connector initiates swap to source, if not already operating as source. |
UcsiPowerDirectionRoleConsumerValue: 0x2 The connector initiates swap to sink, if not already operating as sink. |
UcsiPowerDirectionRoleAcceptSwapValue: 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. |
UcsiPowerDirectionRoleProviderAcceptSwapValue: 0x5 This field combines the UcsiPowerDirectionRoleProvider and UcsiPowerDirectionRoleAcceptSwap values. |
UcsiPowerDirectionRoleConsumerAcceptSwapValue: 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) |