I2Cmsg class
I2Cmsg - container for the native NativeI2Cmsg struct.
Constructors
-
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.
-
I2Cmsg.buffer(int addr, List<
I2CmsgFlags> flags, List<int> predefined) - Constructs an I2C message with the I2C device address addr, flags list and a predefined transfer buffer. An empty flags list results NativeI2Cmsg.flags = 0.
Properties
- addr → int
-
I2C device address
final
-
flags
→ List<
I2CmsgFlags> -
I2C transfer flags
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- len → int
-
size of the I2C data buffer
final
-
predefined
→ List<
int> -
predefined I2C data buffer
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited