[−][src]Trait step_dir::traits::EnableDirectionControl
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
Required methods
fn enable_direction_control(self, res: Resources) -> Self::WithDirectionControl
[src]
Enable direction control
Implementors
impl<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4, OutputPinError> EnableDirectionControl<DirMode4> for STSPIN220<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, ()> where
DirMode4: OutputPin<Error = OutputPinError>,
[src]
DirMode4: OutputPin<Error = OutputPinError>,
type WithDirectionControl = STSPIN220<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4>
fn enable_direction_control(
self,
dir_mode4: DirMode4
) -> Self::WithDirectionControl
[src]
self,
dir_mode4: DirMode4
) -> Self::WithDirectionControl
impl<Reset, Mode0, Mode1, Mode2, Step, Dir, OutputPinError> EnableDirectionControl<Dir> for DRV8825<(), (), (), Reset, Mode0, Mode1, Mode2, Step, ()> where
Dir: OutputPin<Error = OutputPinError>,
[src]
Dir: OutputPin<Error = OutputPinError>,