|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BiasgenHardwareInterface
Interfaces via USB to the on- or off-chip biases and other configuration information on a chip or system.
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 |
---|
void setPowerDown(boolean powerDown) throws HardwareInterfaceException
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.
powerDown
- true to power OFF the biasgen, false to power on
HardwareInterfaceException
void sendConfiguration(Biasgen biasgen) throws HardwareInterfaceException
biasgen
- the object that holds the configuration.
HardwareInterfaceException
void flashConfiguration(Biasgen biasgen) throws HardwareInterfaceException
biasgen
- holds the configuration values
HardwareInterfaceException
byte[] formatConfigurationBytes(Biasgen biasgen)
biasgen
- the source of the configuration.
|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |