I2cConnectionSettings I2cConnectionSettings I2cConnectionSettings I2cConnectionSettings I2cConnectionSettings Class


Represents the connection settings you want to use for an inter-integrated circuit (I2 C) device.

public : sealed class I2cConnectionSettings
struct winrt::Windows::Devices::I2c::I2cConnectionSettings
public sealed class I2cConnectionSettings
Public NotInheritable Class I2cConnectionSettings
var i2cConnectionSettings = new i2cConnectionSettings(slaveAddress);

Windows 10 requirements

Device family
Windows IoT Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Devices.DevicesLowLevelContract (introduced v1)


I2cConnectionSettings(Int32) I2cConnectionSettings(Int32) I2cConnectionSettings(Int32) I2cConnectionSettings(Int32) I2cConnectionSettings(Int32)

Creates and initializes a new instance of the I2cConnectionSettings class for inter-integrated circuit (I2 C) device with specified bus address, using the default settings of the standard mode for the bus speed and exclusive sharing mode.


BusSpeed BusSpeed BusSpeed BusSpeed BusSpeed

Gets or sets the bus speed to use for connecting to an inter-integrated circuit (I2 C) device. The bus speed is the frequency at which to clock the I2 C bus when accessing the device.

SharingMode SharingMode SharingMode SharingMode SharingMode

Gets or sets the sharing mode to use to connect to the inter-integrated circuit (I2 C) bus address. This mode determines whether other connections to the I2 C bus address can be opened while you are connect to the I2 C bus address.

SlaveAddress SlaveAddress SlaveAddress SlaveAddress SlaveAddress

Gets or sets the bus address of the inter-integrated circuit (I2 C) device.

See also