StUsb4500 Class

Definition

USB PD sink controller STUSB4500.

public class StUsb4500 : IDisposable
type StUsb4500 = class
    interface IDisposable
Public Class StUsb4500
Implements IDisposable
Inheritance
StUsb4500
Implements

Remarks

This is based on code from the official STUSB4500 repo (https://github.com/usb-c/STUSB4500/).

Constructors

StUsb4500(I2cDevice)

Initializes a new instance of the StUsb4500 class.

Fields

DefaultI2cAddress

STUSB4500 default I2C address.

Properties

CableConnection

Gets the cable connection state.

DeviceId

Gets or sets the device Id.

NvmData

Gets or sets the NVM data.

RequestDataObject

Gets the request data object.

RequestedVoltage

Gets the requested voltage.

SinkPowerDeliveryObjects

Gets the power delivery objects from the sink.

SourcePowerDeliveryObjects

Gets the source power delivery objects. ATTENTION: This triggers a new USB PD contract negotiation and can cause a short power-disruption.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Dispose(Boolean)

Releases unmanaged and - optionally - managed resources.

Finalize()

Finalizes an instance of the StUsb4500 class.

PerformUsbPdSoftwareReset()

Performs a USB PD software reset.

WriteNvm(Byte[])

Writes the NVM.

Applies to