|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--de.wagner_ibw.iow.spi.AbstractSPIDevice
|
+--de.wagner_ibw.iow.spi.GenericSPIDevice
Implementation of a generic spi device. Tested successfully with AvrMega8.
| Field Summary |
| Fields inherited from class de.wagner_ibw.iow.spi.AbstractSPIDevice |
iow, readQueue |
| Constructor Summary | |
GenericSPIDevice(java.lang.String name,
int spiFlags)
Constructor. |
|
| Method Summary | |
int[] |
read(int anz)
Reads values from device. |
void |
write(int[] data)
Writes values to device. |
| Methods inherited from class de.wagner_ibw.iow.spi.AbstractSPIDevice |
getName, reportReceived, setIowDevice, toString, transmit |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public GenericSPIDevice(java.lang.String name,
int spiFlags)
name - spiFlags - | Method Detail |
public int[] read(int anz)
throws java.lang.Exception
java.lang.Exception - If any transmission error occurred.
public void write(int[] data)
throws java.lang.Exception
data - values to write.
java.lang.Exception - If any transmission error occurred.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||