pub struct W(/* private fields */);
Expand description
Register CR
writer
Implementations§
source§impl W
impl W
sourcepub fn enable(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 14>
pub fn enable(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 14>
Bit 14 - DCMI enable
sourcepub fn edm(&mut self) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Unsafe, 2, 10>
pub fn edm(&mut self) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Unsafe, 2, 10>
Bits 10:11 - Extended data mode
sourcepub fn fcrc(&mut self) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Unsafe, 2, 8>
pub fn fcrc(&mut self) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Unsafe, 2, 8>
Bits 8:9 - Frame capture rate control
sourcepub fn vspol(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 7>
pub fn vspol(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 7>
Bit 7 - Vertical synchronization polarity
sourcepub fn hspol(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 6>
pub fn hspol(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 6>
Bit 6 - Horizontal synchronization polarity
sourcepub fn pckpol(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 5>
pub fn pckpol(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 5>
Bit 5 - Pixel clock polarity
sourcepub fn ess(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 4>
pub fn ess(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 4>
Bit 4 - Embedded synchronization select
Methods from Deref<Target = W<CR_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§
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