pub enum HomingProgress {
Idle,
InProgress,
Attained,
Complete,
Error,
}Expand description
Homing procedure progress, decoded from status word bits 10, 12, 13.
| Error (13) | Attained (12) | Reached (10) | Progress |
|---|---|---|---|
| 0 | 0 | 1 | Idle |
| 0 | 0 | 0 | InProgress |
| 0 | 1 | 0 | Attained |
| 0 | 1 | 1 | Complete |
| 1 | x | x | Error |
Variants§
Idle
Homing not started or interrupted (motor stationary).
InProgress
Homing actively in progress (motor searching).
Attained
Reference found; offset move still in progress.
Complete
Homing completed successfully — position is now referenced.
Error
A homing error occurred (motor may still be moving).
Trait Implementations§
Source§impl Clone for HomingProgress
impl Clone for HomingProgress
Source§fn clone(&self) -> HomingProgress
fn clone(&self) -> HomingProgress
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HomingProgress
impl Debug for HomingProgress
Source§impl Display for HomingProgress
impl Display for HomingProgress
Source§impl PartialEq for HomingProgress
impl PartialEq for HomingProgress
impl Copy for HomingProgress
impl Eq for HomingProgress
impl StructuralPartialEq for HomingProgress
Auto Trait Implementations§
impl Freeze for HomingProgress
impl RefUnwindSafe for HomingProgress
impl Send for HomingProgress
impl Sync for HomingProgress
impl Unpin for HomingProgress
impl UnsafeUnpin for HomingProgress
impl UnwindSafe for HomingProgress
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.