de.wagner_ibw.iow.spi
Interface SPIDevice

All Known Implementing Classes:
AbstractSPIDevice

public interface SPIDevice

Each SPI device implementation must implements this interface.

Author:
Thomas Wagner

Method Summary
 java.lang.String getName()
          Returns the name of the spi device.
 void reportReceived(int[] readBuffer)
          Callback method is called when a matching report was received.
 void setIowDevice(AbstractIowDevice iow)
          Sets the reference to an IO-Warrior device for write report operations.
 

Method Detail

getName

public java.lang.String getName()
Returns the name of the spi device.

Returns:
Name of the spi device.

reportReceived

public void reportReceived(int[] readBuffer)
Callback method is called when a matching report was received.

Parameters:
readBuffer - Read buffer from a received report.

setIowDevice

public void setIowDevice(AbstractIowDevice iow)
Sets the reference to an IO-Warrior device for write report operations.

Parameters:
iow - Instance of an IO-Warrior device.