Struct stm32f1xx_hal::pac::ethernet_mmc::mmccr::W
source · pub struct W(_);
Expand description
Register MMCCR
writer
Implementations§
source§impl W
impl W
sourcepub fn cr(&mut self) -> BitWriterRaw<'_, u32, MMCCR_SPEC, bool, BitM, 0>
pub fn cr(&mut self) -> BitWriterRaw<'_, u32, MMCCR_SPEC, bool, BitM, 0>
Bit 0 - Counter reset
sourcepub fn csr(&mut self) -> BitWriterRaw<'_, u32, MMCCR_SPEC, bool, BitM, 1>
pub fn csr(&mut self) -> BitWriterRaw<'_, u32, MMCCR_SPEC, bool, BitM, 1>
Bit 1 - Counter stop rollover
sourcepub fn ror(&mut self) -> BitWriterRaw<'_, u32, MMCCR_SPEC, bool, BitM, 2>
pub fn ror(&mut self) -> BitWriterRaw<'_, u32, MMCCR_SPEC, bool, BitM, 2>
Bit 2 - Reset on read
sourcepub fn mcf(&mut self) -> BitWriterRaw<'_, u32, MMCCR_SPEC, bool, BitM, 31>
pub fn mcf(&mut self) -> BitWriterRaw<'_, u32, MMCCR_SPEC, bool, BitM, 31>
Bit 31 - MMC counter freeze
Methods from Deref<Target = W<MMCCR_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.