ch.unizh.ini.jaer.chip.dvs320
Class DVS320.DVS320Biasgen
java.lang.Object
net.sf.jaer.biasgen.Biasgen
ch.unizh.ini.jaer.chip.dvs320.DVS320.DVS320Biasgen
- All Implemented Interfaces:
- java.util.Observer, BiasgenHardwareInterface, BiasgenPreferences, HardwareInterface
- Enclosing class:
- DVS320
public class DVS320.DVS320Biasgen
- extends Biasgen
Describes ConfigurableIPots on DVS320 retina chip as well as the other configuration bits which control, for example, which
outputs are selected. These are all configured by a single shared shift register.
The pr, foll, and refr biases use the lowpower bias for their p src bias and the pr, foll and refr pfets
all have their psrcs wired to this shifted p src bias. Also, the pr, foll and refr biases also drive the same
shifted psrc bias with their own shifted psrc bias. Therefore all 4 of these biases (pr, foll, refr, and lowpower) should
have the same bufferbias bits. This constraint is enforced by software.
The output configuration bits follow the bias values and consist of 12 bits that select 3 outputs.
Bits 0-3 select the current output.
5 copies of digital Bits 4-8 select the digital output.
Bits
- Author:
- tobi
Constructor Summary |
DVS320.DVS320Biasgen(Chip chip)
Creates a new instance of DVS320Biasgen for DVS320 with a given hardware interface |
Methods inherited from class net.sf.jaer.biasgen.Biasgen |
close, endBatchEdit, exportPreferences, flashConfiguration, getChip, getControlPanel, getHardwareInterface, getIPotGroups, getMasterbias, getName, getNumPots, getPotArray, getPotByName, getPotByNumber, getTypeName, importPreferences, isBatchEditOccurring, isInitialized, isOpen, open, putPref, putPref, putPref, putPref, putPref, resume, sendConfiguration, setBatchEditOccurring, setChip, setControlPanel, setHardwareInterface, setIPotGroups, setMasterbias, setName, setPotArray, setPowerDown, showUnitializedBiasesWarningDialog, startBatchEdit, suspend, toString, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RATIO
public final float RATIO
- the change in current from an increase* or decrease* call
- See Also:
- Constant Field Values
MIN_THRESHOLD_RATIO
public final float MIN_THRESHOLD_RATIO
- the minimum on/diff or diff/off current allowed by decreaseThreshold
- See Also:
- Constant Field Values
MAX_DIFF_ON_CURRENT
public final float MAX_DIFF_ON_CURRENT
- See Also:
- Constant Field Values
MIN_DIFF_OFF_CURRENT
public final float MIN_DIFF_OFF_CURRENT
- See Also:
- Constant Field Values
DVS320.DVS320Biasgen
public DVS320.DVS320Biasgen(Chip chip)
- Creates a new instance of DVS320Biasgen for DVS320 with a given hardware interface
- Parameters:
chip
- the chip this biasgen belongs to
loadPreferences
public void loadPreferences()
- Description copied from class:
Biasgen
- Loads preferences for the potArray and masterbias. Subclasses should override this method
to load additional information.
- Specified by:
loadPreferences
in interface BiasgenPreferences
- Overrides:
loadPreferences
in class Biasgen
storePreferences
public void storePreferences()
- Description copied from class:
Biasgen
- Stores preferences to the Preferences node for the potArray and masterbias. Subclasses must override this method
to store additional information!!! For example, a subclass that defines additional configuration information should
call storePreferences explicitly for additional configuration.
- Specified by:
storePreferences
in interface BiasgenPreferences
- Overrides:
storePreferences
in class Biasgen
buildControlPanel
public javax.swing.JPanel buildControlPanel()
- Overrides the default method to add the custom control panel for configuring the DVS320 output muxes.
- Overrides:
buildControlPanel
in class Biasgen
- Returns:
- a new panel for controlling this bias generator functionally
formatConfigurationBytes
public byte[] formatConfigurationBytes(Biasgen biasgen)
- Description copied from class:
Biasgen
- This method formats and returns a byte array of configuration information (e.g. biases, scanner or diagnostic bits) that
can be sent over the hardware interface using
Biasgen.sendConfiguration(net.sf.jaer.biasgen.Biasgen)
. This method delegates the task of formatting these
bytes to the Biasgen object rather than the more generic HardwareInterface.
A Biasgen can override this method to
customize the bytes that are sent. The default implementation asks the BiasgenHardwareInterface for the bytes.
- Specified by:
formatConfigurationBytes
in interface BiasgenHardwareInterface
- Overrides:
formatConfigurationBytes
in class Biasgen
- Parameters:
biasgen
- source of the configuration
- Returns:
- array of bytes to be sent.
increaseThreshold
public void increaseThreshold()
decreaseThreshold
public void decreaseThreshold()
increaseRefractoryPeriod
public void increaseRefractoryPeriod()
decreaseRefractoryPeriod
public void decreaseRefractoryPeriod()
increaseBandwidth
public void increaseBandwidth()
decreaseBandwidth
public void decreaseBandwidth()
moreONType
public void moreONType()
moreOFFType
public void moreOFFType()