jAER project on SourceForge

net.sf.jaer.hardwareinterface.usb.silabs
Class SiLabsC8051F320Factory

java.lang.Object
  extended by net.sf.jaer.hardwareinterface.usb.silabs.SiLabsC8051F320Factory
All Implemented Interfaces:
HardwareInterfaceFactoryInterface

public class SiLabsC8051F320Factory
extends java.lang.Object
implements HardwareInterfaceFactoryInterface

A factory for SiLabsC8051F320 devices. These are based (at least in these early versions) on the USBXPress driver from SiLabs. They don't have a GUID like the ones accessed by the UsbIo driver.

Author:
tobi

Method Summary
 USBInterface getFirstAvailableInterface()
          Gets the first available interface.
 USBInterface getInterface(int n)
          Returns one of the interfaces
 int getNumInterfacesAvailable()
          gets the number of this type of interface available
static HardwareInterfaceFactoryInterface instance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static HardwareInterfaceFactoryInterface instance()
Returns:
singleton instance

getNumInterfacesAvailable

public int getNumInterfacesAvailable()
gets the number of this type of interface available

Specified by:
getNumInterfacesAvailable in interface HardwareInterfaceFactoryInterface
Returns:
number available

getFirstAvailableInterface

public USBInterface getFirstAvailableInterface()
Description copied from interface: HardwareInterfaceFactoryInterface
Gets the first available interface.

Specified by:
getFirstAvailableInterface in interface HardwareInterfaceFactoryInterface
Returns:
first available interface

getInterface

public USBInterface getInterface(int n)
Description copied from interface: HardwareInterfaceFactoryInterface
Returns one of the interfaces

Specified by:
getInterface in interface HardwareInterfaceFactoryInterface
Parameters:
n - the number starting from 0
Returns:
the HardwareInterface

jAER project on SourceForge