pub trait Step {
    type Step: OutputPin;
    type Error;

    const PULSE_LENGTH: Duration<u32, 1, 1000000000>;

    fn step(&mut self) -> Result<&mut Self::Step, Self::Error>;
}
Expand description

Implemented by drivers that support controlling the STEP signal

Required Associated Types

The type of the STEP pin

The error that can occur while accessing the STEP pin

Required Associated Constants

The minimum length of a STEP pulse

Required Methods

Provides access to the STEP pin

Implementors