|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--cork.net.i2c.AbstractLineDriver
Description of the Class
| Constructor Summary | |
AbstractLineDriver()
Constructor for the AbstractLineDriver object |
|
| Method Summary | |
void |
capture(I2CDevice device)
Captures the line driver for exclusive access by a specific device. |
boolean |
isCaptured()
Indicated that the line driver is in use by another device. |
boolean |
isCapturedBy(I2CDevice device)
Gets the capturedBy attribute of the AbstractLineDriver object |
void |
release(I2CDevice device)
Releases and frees the line driver for capture by another device. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface cork.net.i2c.I2CBusMaster |
read, start, stop, tick, write |
| Constructor Detail |
public AbstractLineDriver()
| Method Detail |
public final void capture(I2CDevice device)
throws I2CException
capture in interface I2CBusMasterdevice - Description of ParameterI2CException - Description of Exception
public final void release(I2CDevice device)
throws I2CException
release in interface I2CBusMasterdevice - Description of ParameterI2CException - Description of Exceptionpublic final boolean isCaptured()
isCaptured in interface I2CBusMasterpublic final boolean isCapturedBy(I2CDevice device)
device - Description of Parameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||