StUsb4500 Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for