Trait stepper::traits::EnableDirectionControl[][src]

pub trait EnableDirectionControl<Resources> {
    type WithDirectionControl: SetDirection;
    fn enable_direction_control(
        self,
        res: Resources
    ) -> Self::WithDirectionControl; }

Enable direction control for a driver

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

Associated Types

type WithDirectionControl: SetDirection[src]

The type of the driver after direction control has been enabled

Loading content...

Required methods

fn enable_direction_control(self, res: Resources) -> Self::WithDirectionControl[src]

Enable direction control

Loading content...

Implementors

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

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

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

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

Loading content...