pub struct W(/* private fields */);
Expand description
Register CR2
writer
Implementations§
source§impl W
impl W
sourcepub fn ois1n(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, OIS1N_A, BitM, 9>
pub fn ois1n(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, OIS1N_A, BitM, 9>
Bit 9 - Output Idle state 1
sourcepub fn ois1(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, OIS1_A, BitM, 8>
pub fn ois1(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, OIS1_A, BitM, 8>
Bit 8 - Output Idle state 1
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, CCUS_A, BitM, 2>
pub fn ccus(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, CCUS_A, 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§
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