UCMTCPCI_PORT_CONTROLLER_SET_CONTROL_IN_PARAMS structure (ucmtcpciportcontrollerrequests.h)

Stores the values of all control registers. This structure is used in the IOCTL_UCMTCPCI_PORT_CONTROLLER_SET_CONTROL request.

Syntax

typedef struct _UCMTCPCI_PORT_CONTROLLER_SET_CONTROL_IN_PARAMS {
  UCMTCPCIPORTCONTROLLER                PortControllerObject;
  UCMTCPCI_PORT_CONTROLLER_CONTROL_TYPE ControlType;
  union {
    UCMTCPCI_PORT_CONTROLLER_TCPC_CONTROL  TCPCControl;
    UCMTCPCI_PORT_CONTROLLER_ROLE_CONTROL  RoleControl;
    UCMTCPCI_PORT_CONTROLLER_FAULT_CONTROL FaultControl;
    UCMTCPCI_PORT_CONTROLLER_POWER_CONTROL PowerControl;
  };
} UCMTCPCI_PORT_CONTROLLER_SET_CONTROL_IN_PARAMS, *PUCMTCPCI_PORT_CONTROLLER_SET_CONTROL_IN_PARAMS;

Members

PortControllerObject

Handle to the port controller object that the client driver received in the previous call to UcmTcpciPortControllerCreate.

ControlType

A UCMTCPCI_PORT_CONTROLLER_CONTROL_TYPE-value that indicates the type of control register. This enumeration is declared in UcmTcpciSpec.h.

TCPCControl

A UCMTCPCI_PORT_CONTROLLER_TCPC_CONTROL structure that describes the TCPC_CONTROL Register defined as per the Universal Serial Bus Type-C Port Controller Interface Specification. This structure is declared in UcmTcpciSpec.h.

RoleControl

A UCMTCPCI_PORT_CONTROLLER_ROLE_CONTROL structure that describes the ROLE_CONTROL Register defined as per the Universal Serial Bus Type-C Port Controller Interface Specification. This structure is declared in UcmTcpciSpec.h.

FaultControl

A UCMTCPCI_PORT_CONTROLLER_FAULT_CONTROL structure that describes the FAULT_CONTROL Register defined as per the Universal Serial Bus Type-C Port Controller Interface Specification. This structure is declared in UcmTcpciSpec.h.

PowerControl

A UCMTCPCI_PORT_CONTROLLER_POWER_CONTROL structure that describes the FAULT_POWER Register defined as per the Universal Serial Bus Type-C Port Controller Interface Specification. This structure is declared in UcmTcpciSpec.h.

Requirements

Requirement Value
Header ucmtcpciportcontrollerrequests.h

See also

IOCTL_UCMTCPCI_PORT_CONTROLLER_SET_CONTROL