II2cProvider 接口

定义

表示所有 I2 C 提供程序通用的操作。

public interface class II2cProvider
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.DevicesLowLevelContract, 131072)]
/// [Windows.Foundation.Metadata.Guid(1863518270, 48994, 20450, 169, 90, 240, 137, 153, 102, 152, 24)]
struct II2cProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.DevicesLowLevelContract), 131072)]
[Windows.Foundation.Metadata.Guid(1863518270, 48994, 20450, 169, 90, 240, 137, 153, 102, 152, 24)]
public interface II2cProvider
Public Interface II2cProvider
属性

Windows 要求

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

方法

GetControllersAsync()

获取系统上的所有 I2 C 控制器。

适用于