Struct stm32f1xx_hal::pac::ethernet_mac::macsr::W
source · pub struct W(_);
Expand description
Register MACSR
writer
Implementations§
source§impl W
impl W
sourcepub fn pmts(&mut self) -> BitWriterRaw<'_, u32, MACSR_SPEC, bool, BitM, 3>
pub fn pmts(&mut self) -> BitWriterRaw<'_, u32, MACSR_SPEC, bool, BitM, 3>
Bit 3 - PMT status
sourcepub fn mmcs(&mut self) -> BitWriterRaw<'_, u32, MACSR_SPEC, bool, BitM, 4>
pub fn mmcs(&mut self) -> BitWriterRaw<'_, u32, MACSR_SPEC, bool, BitM, 4>
Bit 4 - MMC status
sourcepub fn mmcrs(&mut self) -> BitWriterRaw<'_, u32, MACSR_SPEC, bool, BitM, 5>
pub fn mmcrs(&mut self) -> BitWriterRaw<'_, u32, MACSR_SPEC, bool, BitM, 5>
Bit 5 - MMC receive status
sourcepub fn mmcts(&mut self) -> BitWriterRaw<'_, u32, MACSR_SPEC, bool, BitM, 6>
pub fn mmcts(&mut self) -> BitWriterRaw<'_, u32, MACSR_SPEC, bool, BitM, 6>
Bit 6 - MMC transmit status
sourcepub fn tsts(&mut self) -> BitWriterRaw<'_, u32, MACSR_SPEC, bool, BitM, 9>
pub fn tsts(&mut self) -> BitWriterRaw<'_, u32, MACSR_SPEC, bool, BitM, 9>
Bit 9 - Time stamp trigger status
Methods from Deref<Target = W<MACSR_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.