Enum stepgen::Error [−][src]
pub enum Error {
TooSlow,
TooFast,
SpeedAccelerationNotSet,
}
Expand description
Error code for some of the stepgen operations.
Variants
TooSlow
Requested parameter (acceleration or speed) is too slow – delay is too long and does not fit in 16.8 format.
TooFast
Requested speed is too fast – delay is to short for the MCU to process it timely.
SpeedAccelerationNotSet
Speed or acceleration was not configured when step is set.