PowerDeliveryObject.CreateFromValue(UInt32) Method

Definition

Creates a new PDO from the given value.

public static Iot.Device.Usb.PowerDeliveryObject CreateFromValue (uint rawValue);
static member CreateFromValue : uint32 -> Iot.Device.Usb.PowerDeliveryObject
Public Shared Function CreateFromValue (rawValue As UInteger) As PowerDeliveryObject

Parameters

rawValue
UInt32

The raw value received from or sent to the USB-PD controller which encodes all properties of this PDO. See USB-PD specification for details.

Returns

A PDO of the type defined by the value, which can be a FixedSupplyObject, VariableSupplyObject or BatteryObject.

Applies to