[][src]Trait step_dir::traits::Step

pub trait Step {
    type Step: OutputPin<Error = Self::Error>;
    type Error;

    const PULSE_LENGTH: Nanoseconds;

    fn step(&mut self) -> &mut Self::Step;
}

Implemented by drivers that support controlling the STEP signal

Associated Types

type Step: OutputPin<Error = Self::Error>[src]

The type of the STEP pin

type Error[src]

The error that can occur while using this trait

Loading content...

Associated Constants

const PULSE_LENGTH: Nanoseconds[src]

The minimum length of a STEP pulse

Loading content...

Required methods

fn step(&mut self) -> &mut Self::Step[src]

Provides access to the STEP pin

Loading content...

Implementors

impl<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4, OutputPinError> Step for STSPIN220<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4> where
    StepMode3: OutputPin<Error = OutputPinError>, 
[src]

type Step = StepMode3

type Error = OutputPinError

impl<Reset, Mode0, Mode1, Mode2, Step, Dir, OutputPinError> Step for DRV8825<(), (), (), Reset, Mode0, Mode1, Mode2, Step, Dir> where
    Step: OutputPin<Error = OutputPinError>, 
[src]

type Step = Step

type Error = OutputPinError

Loading content...