Skip to main content

Dpll

Enum Dpll 

Source
pub enum Dpll<'a> {
Show 14 variants Id(u32), ModuleName(&'a CStr), Pad(&'a [u8]), ClockId(u64), Mode(u32), ModeSupported(u32), LockStatus(u32), Temp(i32), Type(u32), LockStatusError(u32), ClockQualityLevel(u32), PhaseOffsetMonitor(u32), PhaseOffsetAvgFactor(u32), FrequencyMonitor(u32),
}
Available on crate feature dpll only.

Variants§

§

Id(u32)

§

ModuleName(&'a CStr)

§

Pad(&'a [u8])

§

ClockId(u64)

§

Mode(u32)

Associated type: Mode (enum)

§

ModeSupported(u32)

Associated type: Mode (enum) Attribute may repeat multiple times (treat it as array)

§

LockStatus(u32)

Associated type: LockStatus (enum)

§

Temp(i32)

§

Type(u32)

Associated type: Type (enum)

§

LockStatusError(u32)

Associated type: LockStatusError (enum)

§

ClockQualityLevel(u32)

Level of quality of a clock device. This mainly applies when the dpll lock-status is DPLL_LOCK_STATUS_HOLDOVER. This could be put to message multiple times to indicate possible parallel quality levels (e.g. one specified by ITU option 1 and another one specified by option 2).

Associated type: ClockQualityLevel (enum) Attribute may repeat multiple times (treat it as array)

§

PhaseOffsetMonitor(u32)

Receive or request state of phase offset monitor feature. If enabled, dpll device shall monitor and notify all currently available inputs for changes of their phase offset against the dpll device.

Associated type: FeatureState (enum)

§

PhaseOffsetAvgFactor(u32)

Averaging factor applied to calculation of reported phase offset.

§

FrequencyMonitor(u32)

Current or desired state of the frequency monitor feature. If enabled, dpll device shall measure all currently available inputs for their actual input frequency.

Associated type: FeatureState (enum)

Implementations§

Source§

impl Dpll<'_>

Source

pub fn new<'a>(buf: &'a [u8]) -> IterableDpll<'a>

Trait Implementations§

Source§

impl<'a> Clone for Dpll<'a>

Source§

fn clone(&self) -> Dpll<'a>

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for Dpll<'a>

§

impl<'a> RefUnwindSafe for Dpll<'a>

§

impl<'a> Send for Dpll<'a>

§

impl<'a> Sync for Dpll<'a>

§

impl<'a> Unpin for Dpll<'a>

§

impl<'a> UnsafeUnpin for Dpll<'a>

§

impl<'a> UnwindSafe for Dpll<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.