Trait stspin220::traits::EnableStepControl
source · [−]pub trait EnableStepControl<Resources> {
type WithStepControl: Step;
fn enable_step_control(self, res: Resources) -> Self::WithStepControl;
}
Expand description
Enable step control for a driver
The Resources
type parameter defines the hardware resources required for
step control.
Required Associated Types
type WithStepControl: Step
type WithStepControl: Step
The type of the driver after step control has been enabled
Required Methods
fn enable_step_control(self, res: Resources) -> Self::WithStepControl
fn enable_step_control(self, res: Resources) -> Self::WithStepControl
Enable step control