Struct stm32_hal2::pac::ethernet_mac::maclcsr::W
source · [−]pub struct W(_);
Expand description
Register MACLCSR
writer
Implementations
sourceimpl W
impl W
sourcepub fn lpien(&mut self) -> BitWriterRaw<'_, u32, MACLCSR_SPEC, bool, BitM, 16>
pub fn lpien(&mut self) -> BitWriterRaw<'_, u32, MACLCSR_SPEC, bool, BitM, 16>
Bit 16 - LPI Enable
sourcepub fn pls(&mut self) -> BitWriterRaw<'_, u32, MACLCSR_SPEC, bool, BitM, 17>
pub fn pls(&mut self) -> BitWriterRaw<'_, u32, MACLCSR_SPEC, bool, BitM, 17>
Bit 17 - PHY Link Status
sourcepub fn plsen(&mut self) -> BitWriterRaw<'_, u32, MACLCSR_SPEC, bool, BitM, 18>
pub fn plsen(&mut self) -> BitWriterRaw<'_, u32, MACLCSR_SPEC, bool, BitM, 18>
Bit 18 - PHY Link Status Enable
sourcepub fn lpitxa(&mut self) -> BitWriterRaw<'_, u32, MACLCSR_SPEC, bool, BitM, 19>
pub fn lpitxa(&mut self) -> BitWriterRaw<'_, u32, MACLCSR_SPEC, bool, BitM, 19>
Bit 19 - LPI Tx Automate
sourcepub fn lpite(&mut self) -> BitWriterRaw<'_, u32, MACLCSR_SPEC, bool, BitM, 20>
pub fn lpite(&mut self) -> BitWriterRaw<'_, u32, MACLCSR_SPEC, bool, BitM, 20>
Bit 20 - LPI Timer Enable
sourcepub fn lpitcse(&mut self) -> BitWriterRaw<'_, u32, MACLCSR_SPEC, bool, BitM, 21>
pub fn lpitcse(&mut self) -> BitWriterRaw<'_, u32, MACLCSR_SPEC, bool, BitM, 21>
Bit 21 - LPITCSE
Methods from Deref<Target = W<MACLCSR_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<MACLCSR_SPEC>> for W
impl From<W<MACLCSR_SPEC>> for W
sourcefn from(writer: W<MACLCSR_SPEC>) -> W
fn from(writer: W<MACLCSR_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