pub trait StepMode: Into<u16> + TryFrom<u16, Error = InvalidStepModeError> + Copy {
    type Iter: Iterator<Item = Self>;

    fn iter() -> Self::Iter;
}
Expand description

Implemented for all step mode enums

Required Associated Types

The type of the iterator returned by StepMode::iter

Required Methods

Returns an iterator over all supported modes

Starts at the mode for configuring full steps and ends at the highest supported number of microsteps per step.

Implementors