Share via


ProviderI2cConnectionSettings 类

定义

表示要用于集成电路 (I2 C) 设备的连接设置。

public ref class ProviderI2cConnectionSettings sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.DevicesLowLevelContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ProviderI2cConnectionSettings final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.DevicesLowLevelContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ProviderI2cConnectionSettings
Public NotInheritable Class ProviderI2cConnectionSettings
继承
Object Platform::Object IInspectable ProviderI2cConnectionSettings
属性

Windows 要求

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

属性

BusSpeed

获取或设置用于连接到 (I2 C) 设备间集成电路的总线速度。 总线速度是访问设备时 I2 C 总线的时钟频率。

SharingMode

获取或设置用于连接到总线地址 (I2 C) 总线地址的集成线路的共享模式。 此模式确定在连接到 I2 C 总线地址时是否可以打开与 I2 C 总线地址的其他连接。

SlaveAddress

获取或设置 I2 C) 设备的集成电路间 (的总线地址。

适用于