Struct Ptptscr
#[repr(transparent)]pub struct Ptptscr(pub u32);Expand description
Ethernet PTP time stamp control register
Tuple Fields§
§0: u32Implementations§
§impl Ptptscr
impl Ptptscr
pub const fn set_ttsaru(&mut self, val: bool)
pub const fn set_ttsaru(&mut self, val: bool)
TTSARU
pub const fn set_tssarfe(&mut self, val: bool)
pub const fn set_tssarfe(&mut self, val: bool)
TSSARFE
pub const fn tsptppsv2e(&self) -> bool
pub const fn tsptppsv2e(&self) -> bool
TSPTPPSV2E
pub const fn set_tsptppsv2e(&mut self, val: bool)
pub const fn set_tsptppsv2e(&mut self, val: bool)
TSPTPPSV2E
pub const fn tssptpoefe(&self) -> bool
pub const fn tssptpoefe(&self) -> bool
TSSPTPOEFE
pub const fn set_tssptpoefe(&mut self, val: bool)
pub const fn set_tssptpoefe(&mut self, val: bool)
TSSPTPOEFE
pub const fn set_tssipv6fe(&mut self, val: bool)
pub const fn set_tssipv6fe(&mut self, val: bool)
TSSIPV6FE
pub const fn set_tssipv4fe(&mut self, val: bool)
pub const fn set_tssipv4fe(&mut self, val: bool)
TSSIPV4FE
pub const fn set_tsseme(&mut self, val: bool)
pub const fn set_tsseme(&mut self, val: bool)
TSSEME
pub const fn set_tssmrme(&mut self, val: bool)
pub const fn set_tssmrme(&mut self, val: bool)
TSSMRME
pub const fn set_tspffmae(&mut self, val: bool)
pub const fn set_tspffmae(&mut self, val: bool)
TSPFFMAE
Trait Implementations§
impl Copy for Ptptscr
impl Eq for Ptptscr
impl StructuralPartialEq for Ptptscr
Auto Trait Implementations§
impl Freeze for Ptptscr
impl RefUnwindSafe for Ptptscr
impl Send for Ptptscr
impl Sync for Ptptscr
impl Unpin for Ptptscr
impl UnwindSafe for Ptptscr
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