[−][src]Trait step_dir::traits::EnableStepModeControl
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
fn enable_step_mode_control(self, res: Resources) -> Self::WithStepModeControl
[src]
Enable microstepping mode control
Implementors
impl<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4, OutputPinError> EnableStepModeControl<(StandbyReset, Mode1, Mode2)> for STSPIN220<EnableFault, (), (), (), StepMode3, DirMode4> where
StandbyReset: OutputPin<Error = OutputPinError>,
Mode1: OutputPin<Error = OutputPinError>,
Mode2: OutputPin<Error = OutputPinError>,
StepMode3: OutputPin<Error = OutputPinError>,
DirMode4: OutputPin<Error = OutputPinError>,
[src]
StandbyReset: OutputPin<Error = OutputPinError>,
Mode1: OutputPin<Error = OutputPinError>,
Mode2: OutputPin<Error = OutputPinError>,
StepMode3: OutputPin<Error = OutputPinError>,
DirMode4: OutputPin<Error = OutputPinError>,
type WithStepModeControl = STSPIN220<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4>
fn enable_step_mode_control(
self,
(standby_reset, mode1, mode2): (StandbyReset, Mode1, Mode2)
) -> Self::WithStepModeControl
[src]
self,
(standby_reset, mode1, mode2): (StandbyReset, Mode1, Mode2)
) -> Self::WithStepModeControl
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>
fn enable_step_mode_control(
self,
(reset, mode0, mode1, mode2): (Reset, Mode0, Mode1, Mode2)
) -> Self::WithStepModeControl
[src]
self,
(reset, mode0, mode1, mode2): (Reset, Mode0, Mode1, Mode2)
) -> Self::WithStepModeControl