Trait drv8825::traits::EnableDirectionControl[][src]

pub trait EnableDirectionControl<Resources> {
    type WithDirectionControl: SetDirection;
    pub 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

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

Enable direction control

Loading content...

Implementors

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