public class GeneralSpec extends Object
Modifier and Type | Field and Description |
---|---|
static BitDirection |
defaultBitDirection |
static double |
defaultDutyCycle |
static double |
defaultUnit |
Constructor and Description |
---|
GeneralSpec()
This constructor is intended for debugging and testing only
|
GeneralSpec(BitDirection bitDirection,
double unit,
double unit_pulses,
double frequency,
double dutyCycle)
This constructor is intended for debugging and testing only.
|
GeneralSpec(org.antlr.runtime.tree.CommonTree tree) |
GeneralSpec(String str) |
Modifier and Type | Method and Description |
---|---|
double |
getDutyCycle() |
double |
getFrequency() |
double |
getUnit() |
static void |
main(String[] args)
Just for testing and debugging.
|
String |
toString() |
public static final double defaultDutyCycle
public static final BitDirection defaultBitDirection
public static final double defaultUnit
public GeneralSpec(BitDirection bitDirection, double unit, double unit_pulses, double frequency, double dutyCycle)
bitDirection
- unit
- unit_pulses
- frequency
- dutyCycle
- public GeneralSpec()
public GeneralSpec(org.antlr.runtime.tree.CommonTree tree)
public GeneralSpec(String str)
public double getFrequency()
public double getUnit()
public double getDutyCycle()
public static void main(String[] args)
args
- the command line argumentsCopyright © 2016. All rights reserved.