Trait drv8825::traits::EnableStepControl[][src]

pub trait EnableStepControl<Resources> {
    type WithStepControl: Step;
    pub fn enable_step_control(self, res: Resources) -> Self::WithStepControl;
}

Enable step control for a driver

The Resources type parameter defines the hardware resources required for step control.

Associated Types

type WithStepControl: Step[src]

The type of the driver after step control has been enabled

Loading content...

Required methods

pub fn enable_step_control(self, res: Resources) -> Self::WithStepControl[src]

Enable step control

Loading content...

Implementors

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

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

Loading content...