Show / Hide Table of Contents

    Struct I2cTransferResult

    Provides information about whether the data transfers that the Read(SpanByte), Write(SpanByte), or WriteRead(SpanByte, SpanByte) method performed succeeded, and the actual number of bytes the method transferred.

    Inherited Members
    ValueType.Equals(Object)
    Object.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Namespace: System.Device.I2c
    Assembly: System.Device.I2c.dll
    Syntax
    public struct I2cTransferResult

    Properties

    | Improve this Doc View Source

    BytesTransferred

    The actual number of bytes that the operation actually transferred. The following table describes what this value represents for each method.

    Declaration
    public readonly uint BytesTransferred { get; }
    Property Value
    Type Description
    UInt32
    | Improve this Doc View Source

    Status

    An enumeration value that indicates if the read or write operation transferred the full number of bytes that the method requested, or the reason that the full transfer did not succeed. For WriteReadPartial, the value indicates whether the data for both the write and the read operations was entirely transferred.

    Declaration
    public readonly I2cTransferStatus Status { get; }
    Property Value
    Type Description
    I2cTransferStatus

    Extension Methods

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