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 PartialEq for Macpocr
impl PartialEq for Macpocr
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