Trait drv8825::traits::EnableMotionControl
source · [−]pub trait EnableMotionControl<Resources, const TIMER_HZ: u32> {
type WithMotionControl: MotionControl;
fn enable_motion_control(self, res: Resources) -> Self::WithMotionControl;
}
Expand description
Enable motion control for a driver
The Resources
type parameter defines the hardware resources required for
motion control.
Required Associated Types
The type of the driver after motion control has been enabled
Required Methods
fn enable_motion_control(self, res: Resources) -> Self::WithMotionControl
fn enable_motion_control(self, res: Resources) -> Self::WithMotionControl
Enable step control