public class I2CMessage extends Object
I2CTransaction| Modifier and Type | Method and Description |
|---|---|
int |
getAddress()
Retrieves the address of the slave device this message is intented for.
|
I2CBuffer |
getBuffer()
Retrieves the buffer of this message.
|
I2CFlags |
getFlags()
Retrieves the flags describing this message.
|
I2CMessage |
setAddress(int address)
Sets the address of the slave device this message is intended for.
|
I2CMessage |
setBuffer(I2CBuffer buffer)
Sets the buffer of this message.
|
I2CMessage |
setFlags(I2CFlags flags)
Sets the flags for describing this message.
|
public int getAddress()
public I2CMessage setAddress(int address)
address - The address of the slave.public I2CFlags getFlags()
public I2CMessage setFlags(I2CFlags flags)
flags - The flags.public I2CBuffer getBuffer()
public I2CMessage setBuffer(I2CBuffer buffer)
buffer - The buffer.