Trait stepper::traits::EnableStepModeControl[][src]

pub trait EnableStepModeControl<Resources> {
    type WithStepModeControl: SetStepMode;
    fn enable_step_mode_control(
        self,
        res: Resources
    ) -> Self::WithStepModeControl; }

Enable microstepping mode control for a driver

The Resources type parameter defines the hardware resources required for controlling microstepping mode.

Associated Types

type WithStepModeControl: SetStepMode[src]

The type of the driver after microstepping mode control has been enabled

Loading content...

Required methods

fn enable_step_mode_control(self, res: Resources) -> Self::WithStepModeControl[src]

Enable microstepping mode control

Loading content...

Implementors

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

type WithStepModeControl = STSPIN220<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4>

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

type WithStepModeControl = DRV8825<(), (), (), Reset, Mode0, Mode1, Mode2, Step, Dir>

Loading content...