II2cDeviceStatics インターフェイス

定義

IC 間 (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)

指定した接続設定を使用して、指定したプラグ アンド プレイ デバイス識別子を持つI2C バス コントローラーの I2cDevice オブジェクトを非同期的に取得します。

GetDeviceSelector()

システム上のすべてのインター集積回路 (I2 C) バス コントローラーの高度なクエリ構文 (AQS) 文字列を取得します。 この文字列を DeviceInformation.FindAllAsync メソッドと共に使用して、それらのバス コントローラーの DeviceInformation オブジェクトを取得できます。

GetDeviceSelector(String)

指定されたフレンドリ名を持つ I2 C (Inter-Integrated Circuit) バスの高度なクエリ構文 (AQS) 文字列を取得します。 この文字列を DeviceInformation.FindAllAsync メソッドと共に使用して、そのバスの DeviceInformation オブジェクトを取得できます。

適用対象

こちらもご覧ください