Struct stm32f1xx_hal::pac::ethernet_mac::macmiiar::W
source · pub struct W(_);
Expand description
Register MACMIIAR
writer
Implementations§
source§impl W
impl W
sourcepub fn mb(&mut self) -> BitWriterRaw<'_, u32, MACMIIAR_SPEC, bool, BitM, 0>
pub fn mb(&mut self) -> BitWriterRaw<'_, u32, MACMIIAR_SPEC, bool, BitM, 0>
Bit 0 - MII busy
sourcepub fn mw(&mut self) -> BitWriterRaw<'_, u32, MACMIIAR_SPEC, bool, BitM, 1>
pub fn mw(&mut self) -> BitWriterRaw<'_, u32, MACMIIAR_SPEC, bool, BitM, 1>
Bit 1 - MII write
sourcepub fn cr(
&mut self
) -> FieldWriterRaw<'_, u32, MACMIIAR_SPEC, u8, u8, Unsafe, 3, 2>
pub fn cr(
&mut self
) -> FieldWriterRaw<'_, u32, MACMIIAR_SPEC, u8, u8, Unsafe, 3, 2>
Bits 2:4 - Clock range
sourcepub fn mr(
&mut self
) -> FieldWriterRaw<'_, u32, MACMIIAR_SPEC, u8, u8, Unsafe, 5, 6>
pub fn mr(
&mut self
) -> FieldWriterRaw<'_, u32, MACMIIAR_SPEC, u8, u8, Unsafe, 5, 6>
Bits 6:10 - MII register
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.