Package ch.hevs.kart
Class KartRegisters.V1.Control.SteeringStepPeriod
java.lang.Object
ch.hevs.kart.KartRegisters.V1.Control.SteeringStepPeriod
- Enclosing class:
KartRegisters.V1.Control
The Stepper (Steering) motor step period as 16 bit unsigned integer (UINT16).
Value the FPGA main clock frequency is divided before used as the the base clock of the stepper motor. Default value is 0x100 = 256. For a value of 256 the FPGA clock will be divided by 256.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ADDRESS
public static final int ADDRESS- See Also:
-
MIN
public static final int MIN- See Also:
-
MAX
public static final int MAX- See Also:
-
-
Constructor Details
-
SteeringStepPeriod
public SteeringStepPeriod()
-
-
Method Details
-
FROM_HZ
public static int FROM_HZ(double frequency) -
TO_HZ
public static double TO_HZ(int registerValue)
-