Trait drv8825::traits::EnableStepModeControl [−][src]
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
Required methods
pub fn enable_step_mode_control(
self,
res: Resources
) -> Self::WithStepModeControl
[src]
self,
res: Resources
) -> Self::WithStepModeControl
Enable microstepping mode control
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]
Reset: OutputPin<Error = OutputPinError>,
Mode0: OutputPin<Error = OutputPinError>,
Mode1: OutputPin<Error = OutputPinError>,
Mode2: OutputPin<Error = OutputPinError>,
type WithStepModeControl = DRV8825<(), (), (), Reset, Mode0, Mode1, Mode2, Step, Dir>
pub fn enable_step_mode_control(
self,
(Reset, Mode0, Mode1, Mode2)
) -> <DRV8825<(), (), (), (), (), (), (), Step, Dir> as EnableStepModeControl<(Reset, Mode0, Mode1, Mode2)>>::WithStepModeControl
[src]
self,
(Reset, Mode0, Mode1, Mode2)
) -> <DRV8825<(), (), (), (), (), (), (), Step, Dir> as EnableStepModeControl<(Reset, Mode0, Mode1, Mode2)>>::WithStepModeControl