Trait drv8825::step_mode::StepMode[][src]

pub trait StepMode: Into<u16> + TryFrom<u16, Error = InvalidStepModeError> + Copy {
    type Iter: Iterator;
    pub fn iter() -> Self::Iter;
}

Implemented for all step mode enums

Associated Types

type Iter: Iterator[src]

The type of the iterator returned by StepMode::iter

Loading content...

Required methods

pub fn iter() -> Self::Iter[src]

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.

Loading content...

Implementors

Loading content...