#[repr(transparent)]pub struct SofTimestampRaw(pub u32);
Expand description
Device only. Raw value of free-running PHY clock counter @48MHz. Used to calculate time between SOF events.
Tuple Fields§
§0: u32
Implementations§
Source§impl SofTimestampRaw
impl SofTimestampRaw
pub const fn sof_timestamp_raw(&self) -> u32
pub fn set_sof_timestamp_raw(&mut self, val: u32)
Trait Implementations§
Source§impl Clone for SofTimestampRaw
impl Clone for SofTimestampRaw
Source§fn clone(&self) -> SofTimestampRaw
fn clone(&self) -> SofTimestampRaw
Returns a copy 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 SofTimestampRaw
impl Debug for SofTimestampRaw
Source§impl Default for SofTimestampRaw
impl Default for SofTimestampRaw
Source§fn default() -> SofTimestampRaw
fn default() -> SofTimestampRaw
Returns the “default value” for a type. Read more
Source§impl PartialEq for SofTimestampRaw
impl PartialEq for SofTimestampRaw
impl Copy for SofTimestampRaw
impl Eq for SofTimestampRaw
impl StructuralPartialEq for SofTimestampRaw
Auto Trait Implementations§
impl Freeze for SofTimestampRaw
impl RefUnwindSafe for SofTimestampRaw
impl Send for SofTimestampRaw
impl Sync for SofTimestampRaw
impl Unpin for SofTimestampRaw
impl UnwindSafe for SofTimestampRaw
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