pub enum LockStatus {
Unlocked = 1,
Locked = 2,
LockedHoAcq = 3,
Holdover = 4,
}Available on crate feature
dpll only.Expand description
provides information of dpll device lock status, valid values for DPLL_A_LOCK_STATUS attribute Enum - defines an integer enumeration, with values for each entry incrementing by 1, (e.g. 0, 1, 2, 3)
Variants§
Unlocked = 1
dpll was not yet locked to any valid input (or forced by setting DPLL_A_MODE to DPLL_MODE_DETACHED)
Locked = 2
dpll is locked to a valid signal, but no holdover available
LockedHoAcq = 3
dpll is locked and holdover acquired
Holdover = 4
dpll is in holdover state - lost a valid lock or was forced by disconnecting all the pins (latter possible only when dpll lock-state was already DPLL_LOCK_STATUS_LOCKED_HO_ACQ, if dpll lock-state was not DPLL_LOCK_STATUS_LOCKED_HO_ACQ, the dpll's lock-state shall remain DPLL_LOCK_STATUS_UNLOCKED)
Implementations§
Source§impl LockStatus
impl LockStatus
pub fn from_value(value: u64) -> Option<Self>
Trait Implementations§
Source§impl Clone for LockStatus
impl Clone for LockStatus
Source§fn clone(&self) -> LockStatus
fn clone(&self) -> LockStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LockStatus
Auto Trait Implementations§
impl Freeze for LockStatus
impl RefUnwindSafe for LockStatus
impl Send for LockStatus
impl Sync for LockStatus
impl Unpin for LockStatus
impl UnsafeUnpin for LockStatus
impl UnwindSafe for LockStatus
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