pub struct W(/* private fields */);
Expand description
Register MMCCR
writer
Implementations§
Source§impl W
impl W
Sourcepub fn cr(&mut self) -> BitWriterRaw<'_, u32, MMCCR_SPEC, CR_A, BitM, 0>
pub fn cr(&mut self) -> BitWriterRaw<'_, u32, MMCCR_SPEC, CR_A, BitM, 0>
Bit 0 - Counter reset
Sourcepub fn csr(&mut self) -> BitWriterRaw<'_, u32, MMCCR_SPEC, CSR_A, BitM, 1>
pub fn csr(&mut self) -> BitWriterRaw<'_, u32, MMCCR_SPEC, CSR_A, BitM, 1>
Bit 1 - Counter stop rollover
Sourcepub fn ror(&mut self) -> BitWriterRaw<'_, u32, MMCCR_SPEC, ROR_A, BitM, 2>
pub fn ror(&mut self) -> BitWriterRaw<'_, u32, MMCCR_SPEC, ROR_A, BitM, 2>
Bit 2 - Reset on read
Sourcepub fn mcf(&mut self) -> BitWriterRaw<'_, u32, MMCCR_SPEC, MCF_A, BitM, 3>
pub fn mcf(&mut self) -> BitWriterRaw<'_, u32, MMCCR_SPEC, MCF_A, BitM, 3>
Bit 3 - MMC counter freeze
Sourcepub fn mcp(&mut self) -> BitWriterRaw<'_, u32, MMCCR_SPEC, MCP_A, BitM, 4>
pub fn mcp(&mut self) -> BitWriterRaw<'_, u32, MMCCR_SPEC, MCP_A, BitM, 4>
Bit 4 - MMC counter preset
Sourcepub fn mcfhp(&mut self) -> BitWriterRaw<'_, u32, MMCCR_SPEC, MCFHP_A, BitM, 5>
pub fn mcfhp(&mut self) -> BitWriterRaw<'_, u32, MMCCR_SPEC, MCFHP_A, BitM, 5>
Bit 5 - MMC counter Full-Half preset
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.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more