jAER project on SourceForge

net.sf.jaer.biasgen
Interface BiasgenHardwareInterface

All Superinterfaces:
HardwareInterface
All Known Subinterfaces:
MotionChipInterface
All Known Implementing Classes:
Biasgen, CochleaAMS1b.Biasgen, CochleaAMS1bHardwareInterface, CochleaAMSWithBiasgen.Biasgen, CypressFX2Biasgen, CypressFX2DVS128HardwareInterface, CypressFX2RetinaLinux, CypressFX2StereoBoard, CypressFX2TmpdiffRetinaHardwareInterface, Dollbrain1.DollBrainBiasgen, DVS128.Biasgen, DVS320.DVS320Biasgen, DVS320HardwareInterface, Motion18.Motion18Biasgen, SiLabsC8051F320, SiLabsC8051F320_OpticalFlowHardwareInterface, StereoBiasgenHardwareInterface, TestchipARCsPixelTestArray.Biasgen, Tmpdiff128.Biasgen, Tmpdiff128StereoPair.Biasgen

public interface BiasgenHardwareInterface
extends HardwareInterface

Interfaces via USB to the on- or off-chip biases and other configuration information on a chip or system.

Author:
tobi

Method Summary
 void flashConfiguration(Biasgen biasgen)
          flashes the configuration in non-volatile storage so they will be reloaded on reset or powerup.
 byte[] formatConfigurationBytes(Biasgen biasgen)
          Formats and returns the bytes that should be sent to set a particular configuration.
 void sendConfiguration(Biasgen biasgen)
          Sends the configuration values to the hardware.
 void setPowerDown(boolean powerDown)
          sends the powerdown vendor request to power down the chip.
 
Methods inherited from interface net.sf.jaer.hardwareinterface.HardwareInterface
close, getTypeName, isOpen, open
 

Method Detail

setPowerDown

void setPowerDown(boolean powerDown)
                  throws HardwareInterfaceException
sends the powerdown vendor request to power down the chip.

Typically this method toggles the powerDown pin correctly to ensure on-chip biasgen is powered up. Chip may have been plugged in without being powered up. If powerdown is true, simply sets powerdown high. If powerdown is false, powerdown is toggled high and then low, to make sure a nagative transistion occurs. This transistion is necessary to ensure the startup circuit starts up the masterbias again.

Parameters:
powerDown - true to power OFF the biasgen, false to power on
Throws:
HardwareInterfaceException

sendConfiguration

void sendConfiguration(Biasgen biasgen)
                       throws HardwareInterfaceException
Sends the configuration values to the hardware. The configuration can include bias values (both for on- and off-chip sources), configuration bits, etc.

Parameters:
biasgen - the object that holds the configuration.
Throws:
HardwareInterfaceException

flashConfiguration

void flashConfiguration(Biasgen biasgen)
                        throws HardwareInterfaceException
flashes the configuration in non-volatile storage so they will be reloaded on reset or powerup.

Parameters:
biasgen - holds the configuration values
Throws:
HardwareInterfaceException

formatConfigurationBytes

byte[] formatConfigurationBytes(Biasgen biasgen)
Formats and returns the bytes that should be sent to set a particular configuration.

Parameters:
biasgen - the source of the configuration.
Returns:
the array to be sent.

jAER project on SourceForge