jAER project on SourceForge

ch.unizh.ini.jaer.chip.dvs320
Class ConstrainedConfigurableIPot

java.lang.Object
  extended by java.util.Observable
      extended by net.sf.jaer.biasgen.Pot
          extended by net.sf.jaer.biasgen.IPot
              extended by ch.unizh.ini.jaer.chip.dvs320.ConfigurableIPot
                  extended by ch.unizh.ini.jaer.chip.dvs320.ConstrainedConfigurableIPot
All Implemented Interfaces:
java.lang.Cloneable, java.util.EventListener, java.util.Observer, java.util.prefs.PreferenceChangeListener, RemoteControlled

public class ConstrainedConfigurableIPot
extends ConfigurableIPot

A ConfigurableIPot constrained to share a buffer current in common with other ConstrainedConfigurableIPots. Used to ensure that a set of biases have the same buffer current, which is neccessary in the case of a chip that uses multiple biases to generate a shared shifted psrc or nsrc.

Author:
tobi

Nested Class Summary
 
Nested classes/interfaces inherited from class ch.unizh.ini.jaer.chip.dvs320.ConfigurableIPot
ConfigurableIPot.BiasEnabled, ConfigurableIPot.CurrentLevel
 
Nested classes/interfaces inherited from class net.sf.jaer.biasgen.Pot
Pot.Sex, Pot.Type
 
Field Summary
 
Fields inherited from class ch.unizh.ini.jaer.chip.dvs320.ConfigurableIPot
bitValueMask, bufferBiasMask, bufferBitValue, enabledMask, lowCurrentModeMask, maxBitValue, maxBufferValue, numBiasBits, numBufferBiasBits, sexMask, typeMask
 
Fields inherited from class net.sf.jaer.biasgen.IPot
biasgen, shiftRegisterNumber
 
Fields inherited from class net.sf.jaer.biasgen.Pot
bitValue, CHANGE_FRACTION, chip, chipNumber, displayPosition, group, log, masterbias, name, numBits, numBytes, pinNumber, prefs, sex, tooltipString, type
 
Constructor Summary
ConstrainedConfigurableIPot(Biasgen biasgen, java.lang.String name, int shiftRegisterNumber, Pot.Type type, Pot.Sex sex, boolean lowCurrentModeEnabled, boolean enabled, int bitValue, int bufferBitValue, int displayPosition, java.lang.String tooltipString, java.util.ArrayList<ConstrainedConfigurableIPot> list)
          Creates a new instance of IPot
 
Method Summary
 void setBufferBitValue(int bufferBitValue)
          Set the buffer bias bit value of all biases in the shared of shared biases.
 
Methods inherited from class ch.unizh.ini.jaer.chip.dvs320.ConfigurableIPot
computeBinaryRepresentation, getBiasEnabled, getBinaryRepresentation, getBufferBitValue, getBufferCurrent, getCurrentLevel, getPreferedBitValue, isEnabled, isLowCurrentModeEnabled, loadPreferences, makeGUIPotControl, prefsKey, setBiasEnabled, setBufferCurrent, setCurrentLevel, setEnabled, setLowCurrentModeEnabled, setSex, setType, storePreferences, toString
 
Methods inherited from class net.sf.jaer.biasgen.IPot
changeByRatio, decrementCurrent, getCurrent, getCurrentResolution, getMaxCurrent, getMinCurrent, getPhysicalValue, getPhysicalValueUnits, getShiftRegisterNumber, incrementCurrent, processCommand, setChipNumber, setCurrent, setPhysicalValue, setShiftRegisterNumber, update
 
Methods inherited from class net.sf.jaer.biasgen.Pot
addObserver, decrementBitValue, getBitValue, getChipNumber, getDisplayPosition, getGroup, getMaxBitValue, getMinBitValue, getName, getNumBits, getNumBytes, getPinNumber, getSex, getTooltipString, getType, incrementBitValue, preferenceChange, resume, setBitValue, setDisplayPosition, setGroup, setName, setNumBits, setNumBytes, setPinNumber, setTooltipString, suspend, toBitPatternString
 
Methods inherited from class java.util.Observable
clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConstrainedConfigurableIPot

public ConstrainedConfigurableIPot(Biasgen biasgen,
                                   java.lang.String name,
                                   int shiftRegisterNumber,
                                   Pot.Type type,
                                   Pot.Sex sex,
                                   boolean lowCurrentModeEnabled,
                                   boolean enabled,
                                   int bitValue,
                                   int bufferBitValue,
                                   int displayPosition,
                                   java.lang.String tooltipString,
                                   java.util.ArrayList<ConstrainedConfigurableIPot> list)
Creates a new instance of IPot

Parameters:
biasgen -
name -
shiftRegisterNumber - the position in the shift register, 0 based, starting on end from which bits are loaded
type - (NORMAL, CASCODE)
sex - Sex (N, P)
lowCurrentModeEnabled - bias is normal (false) or in low current mode (true)
enabled - bias is enabled (true) or weakly tied to rail (false)
bitValue - initial bitValue
bufferBitValue - buffer bias bit value
displayPosition - position in GUI from top (logical order)
tooltipString - a String to display to user of GUI telling them what the pots does
Method Detail

setBufferBitValue

public void setBufferBitValue(int bufferBitValue)
Set the buffer bias bit value of all biases in the shared of shared biases.

Overrides:
setBufferBitValue in class ConfigurableIPot
Parameters:
bufferBitValue - the value which has maxBufferValue as maximum and specifies fraction of master bias

jAER project on SourceForge