Share via


I2cController Class

Definition

Represents the I2 C controller for the system.

public ref class I2cController sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.DevicesLowLevelContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class I2cController final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.DevicesLowLevelContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class I2cController
Public NotInheritable Class I2cController
Inheritance
Object Platform::Object IInspectable I2cController
Attributes

Windows requirements

Device family
Windows IoT Extension SDK (introduced in 10.0.10586.0)
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Devices.DevicesLowLevelContract (introduced in v2.0)

Methods

GetControllersAsync(II2cProvider)

Gets all the I2 C controllers that are on the system.

GetDefaultAsync()

Gets the default I2 C controller on the system.

GetDevice(I2cConnectionSettings)

Gets the I2 C device with the specified settings.

Applies to