I2cConnectionSettings クラス

定義

IC 間 (I2 C) デバイスに使用する接続設定を表します。

public ref class I2cConnectionSettings sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.I2c.II2cConnectionSettingsFactory, 65536, Windows.Devices.DevicesLowLevelContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.DevicesLowLevelContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class I2cConnectionSettings final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.DevicesLowLevelContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.I2c.II2cConnectionSettingsFactory, 65536, "Windows.Devices.DevicesLowLevelContract")]
class I2cConnectionSettings final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.I2c.II2cConnectionSettingsFactory), 65536, typeof(Windows.Devices.DevicesLowLevelContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.DevicesLowLevelContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class I2cConnectionSettings
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.DevicesLowLevelContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.I2c.II2cConnectionSettingsFactory), 65536, "Windows.Devices.DevicesLowLevelContract")]
public sealed class I2cConnectionSettings
function I2cConnectionSettings(slaveAddress)
Public NotInheritable Class I2cConnectionSettings
継承
Object Platform::Object IInspectable I2cConnectionSettings
属性

Windows の要件

デバイス ファミリ
Windows IoT Extension SDK (10.0.10240.0 で導入)
API contract
Windows.Devices.DevicesLowLevelContract (v1.0 で導入)

コンストラクター

I2cConnectionSettings(Int32)

バス速度と排他共有モードの標準モードの既定の設定を使用して、指定されたバス アドレスを持つ I2cConnectionSettings クラスの I2cConnectionSettings クラスの新しいインスタンスを作成して初期化します。

プロパティ

BusSpeed

統合間 (I2 C) デバイスへの接続に使用するバス速度を取得または設定します。 バス速度は、デバイスにアクセスするときに I2 C バスをクロックする周波数です。

SharingMode

統合回線間 (I2 C) バス アドレスへの接続に使用する共有モードを取得または設定します。 このモードでは、I2 C バス・アドレスに接続している間に、I2 C バス・アドレスへの他の接続をオープンできるかどうかを判別します。

SlaveAddress

統合間 (I2 C) デバイスのバス アドレスを取得または設定します。

適用対象

こちらもご覧ください