Struct Macpocr
#[repr(transparent)]pub struct Macpocr(pub u32);
Expand description
PTP Offload control register
Tuple Fields§
§0: u32
Implementations§
§impl Macpocr
impl Macpocr
pub fn set_asyncen(&mut self, val: bool)
pub fn set_asyncen(&mut self, val: bool)
Automatic PTP SYNC message Enable
pub fn set_apdreqen(&mut self, val: bool)
pub fn set_apdreqen(&mut self, val: bool)
Automatic PTP Pdelay_Req message Enable
pub fn set_asynctrig(&mut self, val: bool)
pub fn set_asynctrig(&mut self, val: bool)
Automatic PTP SYNC message Trigger
pub const fn apdreqtrig(&self) -> bool
pub const fn apdreqtrig(&self) -> bool
Automatic PTP Pdelay_Req message Trigger
pub fn set_apdreqtrig(&mut self, val: bool)
pub fn set_apdreqtrig(&mut self, val: bool)
Automatic PTP Pdelay_Req message Trigger
pub fn set_drrdis(&mut self, val: bool)
pub fn set_drrdis(&mut self, val: bool)
Disable PTO Delay Request/Response response generation
Trait Implementations§
impl Copy for Macpocr
impl Eq for Macpocr
impl StructuralPartialEq for Macpocr
Auto Trait Implementations§
impl Freeze for Macpocr
impl RefUnwindSafe for Macpocr
impl Send for Macpocr
impl Sync for Macpocr
impl Unpin for Macpocr
impl UnwindSafe for Macpocr
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
)