#[repr(transparent)]pub struct Enetptprefclkdiv(pub u32);Expand description
Ethernet PTP REF Function Clock Divider
Tuple Fields§
§0: u32Implementations§
Source§impl Enetptprefclkdiv
impl Enetptprefclkdiv
Sourcepub const fn reset(&self) -> EnetptprefclkdivReset
pub const fn reset(&self) -> EnetptprefclkdivReset
Resets the divider counter
Sourcepub const fn set_reset(&mut self, val: EnetptprefclkdivReset)
pub const fn set_reset(&mut self, val: EnetptprefclkdivReset)
Resets the divider counter
Sourcepub const fn halt(&self) -> EnetptprefclkdivHalt
pub const fn halt(&self) -> EnetptprefclkdivHalt
Halts the divider counter
Sourcepub const fn set_halt(&mut self, val: EnetptprefclkdivHalt)
pub const fn set_halt(&mut self, val: EnetptprefclkdivHalt)
Halts the divider counter
Sourcepub const fn unstab(&self) -> EnetptprefclkdivUnstab
pub const fn unstab(&self) -> EnetptprefclkdivUnstab
Divider status flag
Sourcepub const fn set_unstab(&mut self, val: EnetptprefclkdivUnstab)
pub const fn set_unstab(&mut self, val: EnetptprefclkdivUnstab)
Divider status flag
Trait Implementations§
Source§impl Clone for Enetptprefclkdiv
impl Clone for Enetptprefclkdiv
Source§fn clone(&self) -> Enetptprefclkdiv
fn clone(&self) -> Enetptprefclkdiv
Returns a duplicate 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 Enetptprefclkdiv
impl Debug for Enetptprefclkdiv
Source§impl Default for Enetptprefclkdiv
impl Default for Enetptprefclkdiv
Source§fn default() -> Enetptprefclkdiv
fn default() -> Enetptprefclkdiv
Returns the “default value” for a type. Read more
Source§impl PartialEq for Enetptprefclkdiv
impl PartialEq for Enetptprefclkdiv
impl Copy for Enetptprefclkdiv
impl Eq for Enetptprefclkdiv
impl StructuralPartialEq for Enetptprefclkdiv
Auto Trait Implementations§
impl Freeze for Enetptprefclkdiv
impl RefUnwindSafe for Enetptprefclkdiv
impl Send for Enetptprefclkdiv
impl Sync for Enetptprefclkdiv
impl Unpin for Enetptprefclkdiv
impl UnwindSafe for Enetptprefclkdiv
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