pub struct W(/* private fields */);
Expand description
Register CCMR2_Output
writer
Implementations§
Source§impl W
impl W
Sourcepub fn oc4ce(
&mut self,
) -> BitWriterRaw<'_, u32, CCMR2_OUTPUT_SPEC, bool, BitM, 15>
pub fn oc4ce( &mut self, ) -> BitWriterRaw<'_, u32, CCMR2_OUTPUT_SPEC, bool, BitM, 15>
Bit 15 - Output compare 4 clear enable
Sourcepub fn oc4m(
&mut self,
) -> FieldWriterRaw<'_, u32, CCMR2_OUTPUT_SPEC, u8, OC3M_A, Safe, 3, 12>
pub fn oc4m( &mut self, ) -> FieldWriterRaw<'_, u32, CCMR2_OUTPUT_SPEC, u8, OC3M_A, Safe, 3, 12>
Bits 12:14 - Output compare 4 mode
Sourcepub fn oc4pe(
&mut self,
) -> BitWriterRaw<'_, u32, CCMR2_OUTPUT_SPEC, OC4PE_A, BitM, 11>
pub fn oc4pe( &mut self, ) -> BitWriterRaw<'_, u32, CCMR2_OUTPUT_SPEC, OC4PE_A, BitM, 11>
Bit 11 - Output compare 4 preload enable
Sourcepub fn oc4fe(
&mut self,
) -> BitWriterRaw<'_, u32, CCMR2_OUTPUT_SPEC, bool, BitM, 10>
pub fn oc4fe( &mut self, ) -> BitWriterRaw<'_, u32, CCMR2_OUTPUT_SPEC, bool, BitM, 10>
Bit 10 - Output compare 4 fast enable
Sourcepub fn cc4s(
&mut self,
) -> FieldWriterRaw<'_, u32, CCMR2_OUTPUT_SPEC, u8, CC4S_A, Unsafe, 2, 8>
pub fn cc4s( &mut self, ) -> FieldWriterRaw<'_, u32, CCMR2_OUTPUT_SPEC, u8, CC4S_A, Unsafe, 2, 8>
Bits 8:9 - Capture/Compare 4 selection
Sourcepub fn oc3ce(
&mut self,
) -> BitWriterRaw<'_, u32, CCMR2_OUTPUT_SPEC, bool, BitM, 7>
pub fn oc3ce( &mut self, ) -> BitWriterRaw<'_, u32, CCMR2_OUTPUT_SPEC, bool, BitM, 7>
Bit 7 - Output compare 3 clear enable
Sourcepub fn oc3m(
&mut self,
) -> FieldWriterRaw<'_, u32, CCMR2_OUTPUT_SPEC, u8, OC3M_A, Safe, 3, 4>
pub fn oc3m( &mut self, ) -> FieldWriterRaw<'_, u32, CCMR2_OUTPUT_SPEC, u8, OC3M_A, Safe, 3, 4>
Bits 4:6 - Output compare 3 mode
Sourcepub fn oc3pe(
&mut self,
) -> BitWriterRaw<'_, u32, CCMR2_OUTPUT_SPEC, OC3PE_A, BitM, 3>
pub fn oc3pe( &mut self, ) -> BitWriterRaw<'_, u32, CCMR2_OUTPUT_SPEC, OC3PE_A, BitM, 3>
Bit 3 - Output compare 3 preload enable
Sourcepub fn oc3fe(
&mut self,
) -> BitWriterRaw<'_, u32, CCMR2_OUTPUT_SPEC, bool, BitM, 2>
pub fn oc3fe( &mut self, ) -> BitWriterRaw<'_, u32, CCMR2_OUTPUT_SPEC, bool, BitM, 2>
Bit 2 - Output compare 3 fast enable
Methods from Deref<Target = W<CCMR2_OUTPUT_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