Table of Contents

Class I2cConnectionSettings

Namespace
System.Device.I2c
Assembly
System.Device.I2c.dll

The connection settings of a device on an I2C bus.

public sealed class I2cConnectionSettings
Inheritance
I2cConnectionSettings
Inherited Members
Extension Methods

Constructors

I2cConnectionSettings(int, int)

Initializes a new instance of the I2cConnectionSettings class.

public I2cConnectionSettings(int busId, int deviceAddress)

Parameters

busId int

The bus ID the I2C device is connected to.

deviceAddress int

The bus address of the I2C device.

I2cConnectionSettings(int, int, I2cBusSpeed)

Initializes a new instance of the I2cConnectionSettings class.

public I2cConnectionSettings(int busId, int deviceAddress, I2cBusSpeed busSpeed)

Parameters

busId int

The bus ID the I2C device is connected to.

deviceAddress int

The bus address of the I2C device.

busSpeed I2cBusSpeed

The bus speed of the I2C device.

Properties

BusId

The bus ID the I2C device is connected to.

public int BusId { get; }

Property Value

int

BusSpeed

The bus speed of the I2C device

public I2cBusSpeed BusSpeed { get; }

Property Value

I2cBusSpeed

DeviceAddress

The bus address of the I2C device.

public int DeviceAddress { get; }

Property Value

int