Struct stm32_metapac::eth::regs::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 StructuralEq for Macpocr
impl StructuralPartialEq for Macpocr
Auto Trait Implementations§
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