Trait drv8825::traits::EnableStepModeControl[][src]

pub trait EnableStepModeControl<Resources> {
    type WithStepModeControl: SetStepMode;
    pub 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

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

Enable microstepping mode control

Loading content...

Implementors

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...