#[repr(transparent)]pub struct MacTimestampStatus2(pub u32);Expand description
Timestamp Status.
Tuple Fields§
§0: u32Implementations§
Source§impl MacTimestampStatus2
impl MacTimestampStatus2
Sourcepub const fn tssovf(&self) -> bool
pub const fn tssovf(&self) -> bool
Timestamp Seconds Overflow. Raw bit values: false (0) = Inactive: Timestamp Seconds Overflow status not detected.; true (1) = Active: Timestamp Seconds Overflow status detected.
Sourcepub const fn set_tssovf(&mut self, val: bool)
pub const fn set_tssovf(&mut self, val: bool)
Timestamp Seconds Overflow. Raw bit values: false (0) = Inactive: Timestamp Seconds Overflow status not detected.; true (1) = Active: Timestamp Seconds Overflow status detected.
Sourcepub const fn tstargt0(&self) -> bool
pub const fn tstargt0(&self) -> bool
Timestamp Target Time Reached. Raw bit values: false (0) = Inactive: Timestamp Target Time Reached status not detected.; true (1) = Active: Timestamp Target Time Reached status detected.
Sourcepub const fn set_tstargt0(&mut self, val: bool)
pub const fn set_tstargt0(&mut self, val: bool)
Timestamp Target Time Reached. Raw bit values: false (0) = Inactive: Timestamp Target Time Reached status not detected.; true (1) = Active: Timestamp Target Time Reached status detected.
Sourcepub const fn tstrgterr0(&self) -> bool
pub const fn tstrgterr0(&self) -> bool
Timestamp Target Time Error. Raw bit values: false (0) = Inactive: Timestamp Target Time Error status not detected.; true (1) = Active: Timestamp Target Time Error status detected.
Sourcepub const fn set_tstrgterr0(&mut self, val: bool)
pub const fn set_tstrgterr0(&mut self, val: bool)
Timestamp Target Time Error. Raw bit values: false (0) = Inactive: Timestamp Target Time Error status not detected.; true (1) = Active: Timestamp Target Time Error status detected.
Sourcepub const fn txtssis(&self) -> bool
pub const fn txtssis(&self) -> bool
Tx Timestamp Status Interrupt Status. Raw bit values: false (0) = Inactive: Tx Timestamp Status Interrupt status not detected.; true (1) = Active: Tx Timestamp Status Interrupt status detected.
Sourcepub const fn set_txtssis(&mut self, val: bool)
pub const fn set_txtssis(&mut self, val: bool)
Tx Timestamp Status Interrupt Status. Raw bit values: false (0) = Inactive: Tx Timestamp Status Interrupt status not detected.; true (1) = Active: Tx Timestamp Status Interrupt status detected.
Trait Implementations§
Source§impl Clone for MacTimestampStatus2
impl Clone for MacTimestampStatus2
Source§fn clone(&self) -> MacTimestampStatus2
fn clone(&self) -> MacTimestampStatus2
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more