I2Cmsg constructor

I2Cmsg(
  1. int addr,
  2. List<I2CmsgFlags> flags,
  3. int len
)

Constructs an I2C message with the I2C device address addr, flags list and a transfer buffer with size len. An empty flags list results NativeI2Cmsg.flags = 0.

The message flags specify whether the message is a read (I2C_M_RD) or write (0) transaction, as well as additional options selected by the bitwise OR of their bitmasks.

Implementation

I2Cmsg(this.addr, this.flags, this.len) : predefined = const [];