pub struct W(/* private fields */);
Expand description
Register CR2
writer
Implementations§
source§impl W
impl W
sourcepub fn ois4(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, bool, BitM, 14>
pub fn ois4(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, bool, BitM, 14>
Bit 14 - Output Idle state 4
sourcepub fn ois3n(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, bool, BitM, 13>
pub fn ois3n(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, bool, BitM, 13>
Bit 13 - Output Idle state 3
sourcepub fn ois3(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, bool, BitM, 12>
pub fn ois3(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, bool, BitM, 12>
Bit 12 - Output Idle state 3
sourcepub fn ois2n(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, bool, BitM, 11>
pub fn ois2n(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, bool, BitM, 11>
Bit 11 - Output Idle state 2
sourcepub fn ois2(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, bool, BitM, 10>
pub fn ois2(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, bool, BitM, 10>
Bit 10 - Output Idle state 2
sourcepub fn ois1n(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, bool, BitM, 9>
pub fn ois1n(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, bool, BitM, 9>
Bit 9 - Output Idle state 1
sourcepub fn ois1(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, bool, BitM, 8>
pub fn ois1(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, bool, BitM, 8>
Bit 8 - Output Idle state 1
sourcepub fn ti1s(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, TI1S_A, BitM, 7>
pub fn ti1s(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, TI1S_A, BitM, 7>
Bit 7 - TI1 selection
sourcepub fn mms(
&mut self
) -> FieldWriterRaw<'_, u32, CR2_SPEC, u8, MMS_A, Safe, 3, 4>
pub fn mms( &mut self ) -> FieldWriterRaw<'_, u32, CR2_SPEC, u8, MMS_A, Safe, 3, 4>
Bits 4:6 - Master mode selection
sourcepub fn ccds(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, CCDS_A, BitM, 3>
pub fn ccds(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, CCDS_A, BitM, 3>
Bit 3 - Capture/compare DMA selection
sourcepub fn ccus(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, bool, BitM, 2>
pub fn ccus(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, bool, BitM, 2>
Bit 2 - Capture/compare control update selection
Methods from Deref<Target = W<CR2_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