Struct stm32_hal2::pac::ethernet_mac::macacr::W
source · [−]pub struct W(_);Expand description
Register MACACR writer
Implementations
sourceimpl W
impl W
sourcepub fn atsfc(&mut self) -> BitWriterRaw<'_, u32, MACACR_SPEC, bool, BitM, 0>
pub fn atsfc(&mut self) -> BitWriterRaw<'_, u32, MACACR_SPEC, bool, BitM, 0>
Bit 0 - Auxiliary Snapshot FIFO Clear
sourcepub fn atsen0(&mut self) -> BitWriterRaw<'_, u32, MACACR_SPEC, bool, BitM, 4>
pub fn atsen0(&mut self) -> BitWriterRaw<'_, u32, MACACR_SPEC, bool, BitM, 4>
Bit 4 - Auxiliary Snapshot 0 Enable
sourcepub fn atsen1(&mut self) -> BitWriterRaw<'_, u32, MACACR_SPEC, bool, BitM, 5>
pub fn atsen1(&mut self) -> BitWriterRaw<'_, u32, MACACR_SPEC, bool, BitM, 5>
Bit 5 - Auxiliary Snapshot 1 Enable
sourcepub fn atsen2(&mut self) -> BitWriterRaw<'_, u32, MACACR_SPEC, bool, BitM, 6>
pub fn atsen2(&mut self) -> BitWriterRaw<'_, u32, MACACR_SPEC, bool, BitM, 6>
Bit 6 - Auxiliary Snapshot 2 Enable
sourcepub fn atsen3(&mut self) -> BitWriterRaw<'_, u32, MACACR_SPEC, bool, BitM, 7>
pub fn atsen3(&mut self) -> BitWriterRaw<'_, u32, MACACR_SPEC, bool, BitM, 7>
Bit 7 - Auxiliary Snapshot 3 Enable
Methods from Deref<Target = W<MACACR_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<MACACR_SPEC>> for W
impl From<W<MACACR_SPEC>> for W
sourcefn from(writer: W<MACACR_SPEC>) -> W
fn from(writer: W<MACACR_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