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)
Time stamp addend register update
pub const fn set_tssarfe(&mut self, val: bool)
pub const fn set_tssarfe(&mut self, val: bool)
Time stamp snapshot for all received frames enable
pub const fn set_tsssr(&mut self, val: bool)
pub const fn set_tsssr(&mut self, val: bool)
Time stamp subsecond rollover: digital or binary rollover control
pub const fn tsptppsv2e(&self) -> bool
pub const fn tsptppsv2e(&self) -> bool
Time stamp PTP packet snooping for version2 format enable
pub const fn set_tsptppsv2e(&mut self, val: bool)
pub const fn set_tsptppsv2e(&mut self, val: bool)
Time stamp PTP packet snooping for version2 format enable
pub const fn tssptpoefe(&self) -> bool
pub const fn tssptpoefe(&self) -> bool
Time stamp snapshot for PTP over ethernet frames enable
pub const fn set_tssptpoefe(&mut self, val: bool)
pub const fn set_tssptpoefe(&mut self, val: bool)
Time stamp snapshot for PTP over ethernet frames enable
pub const fn set_tssipv6fe(&mut self, val: bool)
pub const fn set_tssipv6fe(&mut self, val: bool)
Time stamp snapshot for IPv6 frames enable
pub const fn set_tssipv4fe(&mut self, val: bool)
pub const fn set_tssipv4fe(&mut self, val: bool)
Time stamp snapshot for IPv4 frames enable
pub const fn set_tsseme(&mut self, val: bool)
pub const fn set_tsseme(&mut self, val: bool)
Time stamp snapshot for event message enable
pub const fn set_tssmrme(&mut self, val: bool)
pub const fn set_tssmrme(&mut self, val: bool)
Time stamp snapshot for message relevant to master enable
pub const fn set_tspffmae(&mut self, val: bool)
pub const fn set_tspffmae(&mut self, val: bool)
Time stamp PTP frame filtering MAC address enable
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 UnsafeUnpin 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