Package ch.hevs.kart
Class KartRegisters.V2.Control.DCMotor.Prescaler
java.lang.Object
ch.hevs.kart.KartRegisters.V2.Control.DCMotor.Prescaler
- Enclosing class:
KartRegisters.V2.Control.DCMotor
The Drive PWM clock prescaler as 16 bit unsigned integer (UINT16, 0..65535).
Value the FPGA main clock frequency is divided before used as base clock of the PWM step frequency. Default value is 0x1F = 31 (~20kHz).
-
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
-
Prescaler
public Prescaler()
-
-
Method Details
-
FROM_HZ
public static int FROM_HZ(double frequency)
-