Package ch.hevs.kart

Class KartRegisters.V1.Control.SteeringStepPeriod

Enclosing class:

public static final class KartRegisters.V1.Control.SteeringStepPeriod extends Object

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 Details

  • 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)