USBPM_ASSIGN_CONNECTOR_POWER_LEVEL_PARAMS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// usbpmapi.h

typedef struct _USBPM_ASSIGN_CONNECTOR_POWER_LEVEL_PARAMS {
  USBC_POWER_ROLE                        PowerRole;
  USBPM_ASSIGN_POWER_LEVEL_PARAMS_FORMAT Format;
  union {
    struct {
      UINT8                               MaximumPdPowerIn500mW;
      USBC_UCSI_SET_POWER_LEVEL_C_CURRENT MaximumTypeCCurrent;
    } Ucsi;
    struct {
      USBC_PD_REQUEST_DATA_OBJECT Rdo;
    } Rdo;
  };
} USBPM_ASSIGN_CONNECTOR_POWER_LEVEL_PARAMS, *PUSBPM_ASSIGN_CONNECTOR_POWER_LEVEL_PARAMS;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-usbpmapi-_usbpm_assign_connector_power_level_params)

_USBPM_ASSIGN_CONNECTOR_POWER_LEVEL_PARAMS structure

Description

Describes the parameters for the UsbPm_AssignConnectorPowerLevel function. Initialize this structure by calling USBPM_ASSIGN_CONNECTOR_POWER_LEVEL_PARAMS_INIT.

Members

PowerRole

The USB Type-C power role of the connector, defined in the USBC_POWER_ROLE enumeration.

Format

The power level format, defined in the USBPM_ASSIGN_POWER_LEVEL_PARAMS_FORMAT enumeration.

Ucsi

Description for the USCI inner structure.

Ucsi.MaximumPdPowerIn500mW

Maximum power in 500mW unit for the connector to provide/consume.

Ucsi.MaximumTypeCCurrent

Maximum current for the connector to provide/consume, defined in the USBC_UCSI_SET_POWER_LEVEL_C_CURRENT enumeration.

Rdo

Description for the RDO inner structure.

Rdo.Rdo

The PD Request Data Object that has sent to the port partner of this connector. See USBC_PD_REQUEST_DATA_OBJECT.

Remarks

See also