Share via


II2cControllerProvider 接口

定义

表示所有 I2 C 控制器通用的属性和方法。

public interface class II2cControllerProvider
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.DevicesLowLevelContract, 131072)]
/// [Windows.Foundation.Metadata.Guid(1640151938, 17680, 16739, 168, 124, 78, 21, 169, 85, 137, 128)]
struct II2cControllerProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.DevicesLowLevelContract), 131072)]
[Windows.Foundation.Metadata.Guid(1640151938, 17680, 16739, 168, 124, 78, 21, 169, 85, 137, 128)]
public interface II2cControllerProvider
Public Interface II2cControllerProvider
属性

Windows 要求

设备系列
Windows IoT Extension SDK (在 10.0.10586.0 中引入)
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.Devices.DevicesLowLevelContract (在 v2.0 中引入)

方法

GetDeviceProvider(ProviderI2cConnectionSettings)

获取具有指定设置的 I2 C 设备提供程序。

适用于