pub struct W(/* private fields */);
Expand description
Register MACMIIAR
writer
Implementations§
Source§impl W
impl W
Sourcepub fn mb(&mut self) -> BitWriterRaw<'_, u32, MACMIIAR_SPEC, MB_A, BitM, 0>
pub fn mb(&mut self) -> BitWriterRaw<'_, u32, MACMIIAR_SPEC, MB_A, BitM, 0>
Bit 0 - MII busy
Sourcepub fn mw(&mut self) -> BitWriterRaw<'_, u32, MACMIIAR_SPEC, MW_A, BitM, 1>
pub fn mw(&mut self) -> BitWriterRaw<'_, u32, MACMIIAR_SPEC, MW_A, BitM, 1>
Bit 1 - MII write
Sourcepub fn cr(
&mut self,
) -> FieldWriterRaw<'_, u32, MACMIIAR_SPEC, u8, CR_A, Unsafe, 3, 2>
pub fn cr( &mut self, ) -> FieldWriterRaw<'_, u32, MACMIIAR_SPEC, u8, CR_A, Unsafe, 3, 2>
Bits 2:4 - Clock range
Sourcepub fn mr(
&mut self,
) -> FieldWriterRaw<'_, u32, MACMIIAR_SPEC, u8, u8, Safe, 5, 6>
pub fn mr( &mut self, ) -> FieldWriterRaw<'_, u32, MACMIIAR_SPEC, u8, u8, Safe, 5, 6>
Bits 6:10 - MII register - select the desired MII register in the PHY device
Methods from Deref<Target = W<MACMIIAR_SPEC>>§
Sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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