USBC_POWER_ROLE enumeration (usbctypes.h)

Defines power roles of USB Type-C connected devices.

Syntax

typedef enum _USBC_POWER_ROLE {
  UsbCPowerRoleInvalid,
  UsbCPowerRoleSink,
  UsbCPowerRoleSource
} USBC_POWER_ROLE;

Constants

 
UsbCPowerRoleInvalid
Indicates the power role state is invalid.
UsbCPowerRoleSink
Indicates the power role is set to sink power.
UsbCPowerRoleSource
Indicates the power role is set to source power.

Requirements

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