|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jaer.biasgen.Biasgen
ch.unizh.ini.jaer.chip.cochlea.CochleaAMS1b.Biasgen
public class CochleaAMS1b.Biasgen
Describes IPots on tmpdiff128 retina chip. These are configured by a shift register as shown here:
This bias generator also offers an abstracted ChipControlPanel interface that is used for a simplified user interface.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class net.sf.jaer.biasgen.Biasgen |
---|
Biasgen.HasPreference |
Field Summary | |
---|---|
protected DAC |
dac
The DAC on the board. |
Fields inherited from class net.sf.jaer.biasgen.Biasgen |
---|
controlPanel, hardwareInterface, potArray |
Constructor Summary | |
---|---|
CochleaAMS1b.Biasgen(Chip chip)
Creates a new instance of Biasgen for Tmpdiff128 with a given hardware interface |
Method Summary | |
---|---|
javax.swing.JPanel |
buildControlPanel()
Builds the default control panel and returns it. |
void |
initDAC()
|
boolean |
isDACPowered()
Returns the DAC powered state |
void |
loadPreferences()
Loads preferences for the potArray and masterbias. |
void |
setDACPowered(boolean yes)
Sets the VDACs on the board to be powered or high impedance output. |
void |
setHardwareInterface(BiasgenHardwareInterface hw)
Assigns the HardwareInterface to this Biasgen. |
void |
storePreferences()
Stores preferences to the Preferences node for the potArray and masterbias. |
void |
update(java.util.Observable observable,
java.lang.Object object)
The central point for communication with HW from biasgen. |
Methods inherited from class net.sf.jaer.biasgen.Biasgen |
---|
close, endBatchEdit, exportPreferences, flashConfiguration, formatConfigurationBytes, 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, setIPotGroups, setMasterbias, setName, setPotArray, setPowerDown, showUnitializedBiasesWarningDialog, startBatchEdit, suspend, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.sf.jaer.biasgen.ChipControlPanel |
---|
getControlPanel |
Field Detail |
---|
protected final DAC dac
Constructor Detail |
---|
public CochleaAMS1b.Biasgen(Chip chip)
chip
- the chip this biasgen belongs toMethod Detail |
---|
public void loadPreferences()
Biasgen
loadPreferences
in interface BiasgenPreferences
loadPreferences
in class Biasgen
public void storePreferences()
Biasgen
storePreferences
in interface BiasgenPreferences
storePreferences
in class Biasgen
public javax.swing.JPanel buildControlPanel()
Biasgen
buildControlPanel
in class Biasgen
public void setHardwareInterface(BiasgenHardwareInterface hw)
Biasgen
setHardwareInterface
in class Biasgen
hw
- the hardware interface.public void update(java.util.Observable observable, java.lang.Object object)
update
in interface java.util.Observer
update
in class Biasgen
observable
- IPot, Scanner, etcobject
- not used at presentpublic void initDAC() throws HardwareInterfaceException
HardwareInterfaceException
public void setDACPowered(boolean yes) throws HardwareInterfaceException
yes
- true to power up DACs
HardwareInterfaceException
public boolean isDACPowered()
|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |