II2cDeviceStatics 介面

定義

提供在整合式線路上開啟通訊通道的方法, (I2 C) 匯流排上的裝置。

public interface class II2cDeviceStatics
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.DevicesLowLevelContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2443394019, 29492, 17682, 150, 188, 251, 174, 148, 89, 245, 246)]
struct II2cDeviceStatics
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.DevicesLowLevelContract), 65536)]
[Windows.Foundation.Metadata.Guid(2443394019, 29492, 17682, 150, 188, 251, 174, 148, 89, 245, 246)]
public interface II2cDeviceStatics
Public Interface II2cDeviceStatics
屬性

Windows 需求

裝置系列
Windows IoT Extension SDK (已於 10.0.10240.0 引進)
API contract
Windows.Devices.DevicesLowLevelContract (已於 v1.0 引進)

方法

FromIdAsync(String, I2cConnectionSettings)

使用指定的連線設定,以非同步方式擷取具有指定隨插即用裝置識別碼的整合式線路 (I 2 C) 匯流排控制器的I2cDevice物件。

GetDeviceSelector()

擷取系統上所有整合式線路 (I2 C) 匯流排控制器的進階查詢語法 (AQS) 字串。 您可以使用此字串搭配 DeviceInformation.FindAllAsync 方法來取得這些匯流排控制器的 DeviceInformation 物件。

GetDeviceSelector(String)

擷取具有指定易記名稱之整合式線路 (I2 C) 匯流排的 AQS) 字串的進階查詢 (語法。 您可以使用此字串搭配 DeviceInformation.FindAllAsync 方法來取得該匯流排的 DeviceInformation 物件。

適用於

另請參閱