|
jmce - 1_02 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface I2cSlave
Interface for I2c slave peripheral connected to the I2CBus.
I2cBus
Method Summary | |
---|---|
boolean |
i2cAddress(int address)
Check if the address is managed by this peripheral |
int |
i2cRead(int count)
Read one byte |
boolean |
i2cWrite(int count,
int value)
Write one byte. |
Methods inherited from interface jmce.sim.Hardware |
---|
addHardware, destroy, getHardware, getHardware, getHardware, getHardware, getHardwareCount, getHardwareInstances, getHardwareTree, getName, getParent, init, initSwing, removeHardware, removeHardware, reset, setHardware, setHardware, setName |
Method Detail |
---|
boolean i2cWrite(int count, int value) throws SIMException
SIMException
int i2cRead(int count) throws SIMException
SIMException
boolean i2cAddress(int address)
address
- - Address to check.
|
jmce - 1_02 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |