Class I2cConnectionSettings
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
busIdintThe bus ID the I2C device is connected to.
deviceAddressintThe 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
busIdintThe bus ID the I2C device is connected to.
deviceAddressintThe bus address of the I2C device.
busSpeedI2cBusSpeedThe bus speed of the I2C device.
Properties
BusId
The bus ID the I2C device is connected to.
public int BusId { get; }
Property Value
BusSpeed
The bus speed of the I2C device
public I2cBusSpeed BusSpeed { get; }
Property Value
DeviceAddress
The bus address of the I2C device.
public int DeviceAddress { get; }