pub struct W(_);
Expand description
Register PDMCR
writer
Implementations
sourceimpl W
impl W
sourcepub fn pdmen(&mut self) -> BitWriterRaw<'_, u32, PDMCR_SPEC, bool, BitM, 0>
pub fn pdmen(&mut self) -> BitWriterRaw<'_, u32, PDMCR_SPEC, bool, BitM, 0>
Bit 0 - PDM enable
sourcepub fn micnbr(
&mut self
) -> FieldWriterRaw<'_, u32, PDMCR_SPEC, u8, u8, Unsafe, 2, 4>
pub fn micnbr(
&mut self
) -> FieldWriterRaw<'_, u32, PDMCR_SPEC, u8, u8, Unsafe, 2, 4>
Bits 4:5 - Number of microphones
sourcepub fn cken1(&mut self) -> BitWriterRaw<'_, u32, PDMCR_SPEC, bool, BitM, 8>
pub fn cken1(&mut self) -> BitWriterRaw<'_, u32, PDMCR_SPEC, bool, BitM, 8>
Bit 8 - Clock enable of bitstream clock number 1
sourcepub fn cken2(&mut self) -> BitWriterRaw<'_, u32, PDMCR_SPEC, bool, BitM, 9>
pub fn cken2(&mut self) -> BitWriterRaw<'_, u32, PDMCR_SPEC, bool, BitM, 9>
Bit 9 - Clock enable of bitstream clock number 2
sourcepub fn cken3(&mut self) -> BitWriterRaw<'_, u32, PDMCR_SPEC, bool, BitM, 10>
pub fn cken3(&mut self) -> BitWriterRaw<'_, u32, PDMCR_SPEC, bool, BitM, 10>
Bit 10 - Clock enable of bitstream clock number 3
sourcepub fn cken4(&mut self) -> BitWriterRaw<'_, u32, PDMCR_SPEC, bool, BitM, 11>
pub fn cken4(&mut self) -> BitWriterRaw<'_, u32, PDMCR_SPEC, bool, BitM, 11>
Bit 11 - Clock enable of bitstream clock number 4
Methods from Deref<Target = W<PDMCR_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<PDMCR_SPEC>> for W
impl From<W<PDMCR_SPEC>> for W
sourcefn from(writer: W<PDMCR_SPEC>) -> W
fn from(writer: W<PDMCR_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