I2Cmsg constructor
I2Cmsg(
- int addr,
- List<
I2CmsgFlags> flags, - 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 [];