pub struct HalfStep;
Expand description
A step mode that is able to detect a “change” (e.g. movement) (e.g. movement) for every stable half cycle (i.e. 2 changes per quadrature cycle), resulting in an effective 2× resolution multiplication.
Half-step mode effectively doubles the resolution of the decoder.
Half-step mode provides:
- medium noise-resistance (factor 2× relative to naïve decoding)
- medium resolution (factor 1× relative to native resolution)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HalfStep
impl RefUnwindSafe for HalfStep
impl Send for HalfStep
impl Sync for HalfStep
impl Unpin for HalfStep
impl UnwindSafe for HalfStep
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more