Struct stm32_metapac::eth::regs::Dmabmr
#[repr(transparent)]pub struct Dmabmr(pub u32);
Expand description
Ethernet DMA bus mode register
Tuple Fields§
§0: u32
Implementations§
§impl Dmabmr
impl Dmabmr
pub const fn pm(&self) -> PriorityRxOverTx
pub const fn pm(&self) -> PriorityRxOverTx
Rx-Tx priority ratio
pub fn set_pm(&mut self, val: PriorityRxOverTx)
pub fn set_pm(&mut self, val: PriorityRxOverTx)
Rx-Tx priority ratio
Trait Implementations§
impl Copy for Dmabmr
impl Eq for Dmabmr
impl StructuralPartialEq for Dmabmr
Auto Trait Implementations§
impl Freeze for Dmabmr
impl RefUnwindSafe for Dmabmr
impl Send for Dmabmr
impl Sync for Dmabmr
impl Unpin for Dmabmr
impl UnwindSafe for Dmabmr
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
)