Show / Hide Table of Contents

    Class I2cConnectionSettings

    The connection settings of a device on an I2C bus.

    Inheritance
    Object
    I2cConnectionSettings
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: System.Device.I2c
    Assembly: System.Device.I2c.dll
    Syntax
    public sealed class I2cConnectionSettings

    Constructors

    | Improve this Doc View Source

    I2cConnectionSettings(Int32, Int32)

    Initializes a new instance of the I2cConnectionSettings class.

    Declaration
    public I2cConnectionSettings(int busId, int deviceAddress)
    Parameters
    Type Name Description
    Int32 busId

    The bus ID the I2C device is connected to.

    Int32 deviceAddress

    The bus address of the I2C device.

    | Improve this Doc View Source

    I2cConnectionSettings(Int32, Int32, I2cBusSpeed)

    Initializes a new instance of the I2cConnectionSettings class.

    Declaration
    public I2cConnectionSettings(int busId, int deviceAddress, I2cBusSpeed busSpeed)
    Parameters
    Type Name Description
    Int32 busId

    The bus ID the I2C device is connected to.

    Int32 deviceAddress

    The bus address of the I2C device.

    I2cBusSpeed busSpeed

    The bus speed of the I2C device.

    Properties

    | Improve this Doc View Source

    BusId

    The bus ID the I2C device is connected to.

    Declaration
    public int BusId { get; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    BusSpeed

    The bus speed of the I2C device

    Declaration
    public I2cBusSpeed BusSpeed { get; }
    Property Value
    Type Description
    I2cBusSpeed
    | Improve this Doc View Source

    DeviceAddress

    The bus address of the I2C device.

    Declaration
    public int DeviceAddress { get; }
    Property Value
    Type Description
    Int32

    Extension Methods

    LogDispatcher.GetCurrentClassLogger(Object)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018 nanoFramework Contributors
    Generated by DocFX