pub trait EnableMotionControl<Resources, const TIMER_HZ: u32> {
type WithMotionControl: MotionControl;
// Required method
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§
Sourcetype WithMotionControl: MotionControl
type WithMotionControl: MotionControl
The type of the driver after motion control has been enabled
Required Methods§
Sourcefn enable_motion_control(self, res: Resources) -> Self::WithMotionControl
fn enable_motion_control(self, res: Resources) -> Self::WithMotionControl
Enable step control