Struct stm32_metapac::eth::regs::Ptptscr
#[repr(transparent)]pub struct Ptptscr(pub u32);
Expand description
Ethernet PTP time stamp control register
Tuple Fields§
§0: u32
Implementations§
§impl Ptptscr
impl Ptptscr
pub fn set_ttsaru(&mut self, val: bool)
pub fn set_ttsaru(&mut self, val: bool)
TTSARU
pub fn set_tssarfe(&mut self, val: bool)
pub fn set_tssarfe(&mut self, val: bool)
TSSARFE
pub const fn tsptppsv2e(&self) -> bool
pub const fn tsptppsv2e(&self) -> bool
TSPTPPSV2E
pub fn set_tsptppsv2e(&mut self, val: bool)
pub fn set_tsptppsv2e(&mut self, val: bool)
TSPTPPSV2E
pub const fn tssptpoefe(&self) -> bool
pub const fn tssptpoefe(&self) -> bool
TSSPTPOEFE
pub fn set_tssptpoefe(&mut self, val: bool)
pub fn set_tssptpoefe(&mut self, val: bool)
TSSPTPOEFE
pub fn set_tssipv6fe(&mut self, val: bool)
pub fn set_tssipv6fe(&mut self, val: bool)
TSSIPV6FE
pub fn set_tssipv4fe(&mut self, val: bool)
pub fn set_tssipv4fe(&mut self, val: bool)
TSSIPV4FE
pub fn set_tsseme(&mut self, val: bool)
pub fn set_tsseme(&mut self, val: bool)
TSSEME
pub fn set_tssmrme(&mut self, val: bool)
pub fn set_tssmrme(&mut self, val: bool)
TSSMRME
pub fn set_tspffmae(&mut self, val: bool)
pub 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)