pamoja for TypeScript - v0.2.0
    Preparing search index...

    Class I2cStep

    One transfer a script expects, and what the part answers.

    Index
    • The driver reads from the address and receives reply, whose length is the length it must ask for.

      Parameters

      • address: number
      • reply: Buffer

      Returns I2cStep

    • The driver writes exactly bytes to the address.

      Parameters

      • address: number
      • bytes: Buffer

      Returns I2cStep

    • The driver writes bytes and then reads reply in one transaction, the shape of a register read.

      Parameters

      • address: number
      • bytes: Buffer
      • reply: Buffer

      Returns I2cStep