Struct stm32_hal2::pac::ethernet_mac::macmdioar::W
source · [−]pub struct W(_);
Expand description
Register MACMDIOAR
writer
Implementations
sourceimpl W
impl W
sourcepub fn mb(&mut self) -> BitWriterRaw<'_, u32, MACMDIOAR_SPEC, bool, BitM, 0>
pub fn mb(&mut self) -> BitWriterRaw<'_, u32, MACMDIOAR_SPEC, bool, BitM, 0>
Bit 0 - MII Busy
sourcepub fn c45e(&mut self) -> BitWriterRaw<'_, u32, MACMDIOAR_SPEC, bool, BitM, 1>
pub fn c45e(&mut self) -> BitWriterRaw<'_, u32, MACMDIOAR_SPEC, bool, BitM, 1>
Bit 1 - Clause 45 PHY Enable
sourcepub fn goc(
&mut self
) -> FieldWriterRaw<'_, u32, MACMDIOAR_SPEC, u8, u8, Unsafe, 2, 2>
pub fn goc(
&mut self
) -> FieldWriterRaw<'_, u32, MACMDIOAR_SPEC, u8, u8, Unsafe, 2, 2>
Bits 2:3 - MII Operation Command
sourcepub fn skap(&mut self) -> BitWriterRaw<'_, u32, MACMDIOAR_SPEC, bool, BitM, 4>
pub fn skap(&mut self) -> BitWriterRaw<'_, u32, MACMDIOAR_SPEC, bool, BitM, 4>
Bit 4 - Skip Address Packet
sourcepub fn cr(
&mut self
) -> FieldWriterRaw<'_, u32, MACMDIOAR_SPEC, u8, u8, Unsafe, 4, 8>
pub fn cr(
&mut self
) -> FieldWriterRaw<'_, u32, MACMDIOAR_SPEC, u8, u8, Unsafe, 4, 8>
Bits 8:11 - CSR Clock Range
sourcepub fn ntc(
&mut self
) -> FieldWriterRaw<'_, u32, MACMDIOAR_SPEC, u8, u8, Unsafe, 3, 12>
pub fn ntc(
&mut self
) -> FieldWriterRaw<'_, u32, MACMDIOAR_SPEC, u8, u8, Unsafe, 3, 12>
Bits 12:14 - Number of Training Clocks
sourcepub fn rda(
&mut self
) -> FieldWriterRaw<'_, u32, MACMDIOAR_SPEC, u8, u8, Unsafe, 5, 16>
pub fn rda(
&mut self
) -> FieldWriterRaw<'_, u32, MACMDIOAR_SPEC, u8, u8, Unsafe, 5, 16>
Bits 16:20 - Register/Device Address
sourcepub fn pa(
&mut self
) -> FieldWriterRaw<'_, u32, MACMDIOAR_SPEC, u8, u8, Unsafe, 5, 21>
pub fn pa(
&mut self
) -> FieldWriterRaw<'_, u32, MACMDIOAR_SPEC, u8, u8, Unsafe, 5, 21>
Bits 21:25 - Physical Layer Address
sourcepub fn btb(&mut self) -> BitWriterRaw<'_, u32, MACMDIOAR_SPEC, bool, BitM, 26>
pub fn btb(&mut self) -> BitWriterRaw<'_, u32, MACMDIOAR_SPEC, bool, BitM, 26>
Bit 26 - Back to Back transactions
sourcepub fn pse(&mut self) -> BitWriterRaw<'_, u32, MACMDIOAR_SPEC, bool, BitM, 27>
pub fn pse(&mut self) -> BitWriterRaw<'_, u32, MACMDIOAR_SPEC, bool, BitM, 27>
Bit 27 - Preamble Suppression Enable
Methods from Deref<Target = W<MACMDIOAR_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
sourceimpl From<W<MACMDIOAR_SPEC>> for W
impl From<W<MACMDIOAR_SPEC>> for W
sourcefn from(writer: W<MACMDIOAR_SPEC>) -> W
fn from(writer: W<MACMDIOAR_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more