pub struct W(/* private fields */);
Expand description
Register CCMR1_Output
writer
Implementations§
Source§impl W
impl W
Sourcepub fn oc2m(
&mut self,
) -> FieldWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, u8, OC1M_A, Safe, 3, 12>
pub fn oc2m( &mut self, ) -> FieldWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, u8, OC1M_A, Safe, 3, 12>
Bits 12:14 - Output Compare 2 mode
Sourcepub fn oc2pe(
&mut self,
) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, bool, BitM, 11>
pub fn oc2pe( &mut self, ) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, bool, BitM, 11>
Bit 11 - Output Compare 2 preload enable
Sourcepub fn oc2fe(
&mut self,
) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, bool, BitM, 10>
pub fn oc2fe( &mut self, ) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, bool, BitM, 10>
Bit 10 - Output Compare 2 fast enable
Sourcepub fn cc2s(
&mut self,
) -> FieldWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, u8, u8, Unsafe, 2, 8>
pub fn cc2s( &mut self, ) -> FieldWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, u8, u8, Unsafe, 2, 8>
Bits 8:9 - Capture/Compare 2 selection
Sourcepub fn oc1m(
&mut self,
) -> FieldWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, u8, OC1M_A, Safe, 3, 4>
pub fn oc1m( &mut self, ) -> FieldWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, u8, OC1M_A, Safe, 3, 4>
Bits 4:6 - Output Compare 1 mode
Sourcepub fn oc1pe(
&mut self,
) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, bool, BitM, 3>
pub fn oc1pe( &mut self, ) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, bool, BitM, 3>
Bit 3 - Output Compare 1 preload enable
Sourcepub fn oc1fe(
&mut self,
) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, bool, BitM, 2>
pub fn oc1fe( &mut self, ) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, bool, BitM, 2>
Bit 2 - Output Compare 1 fast enable
Methods from Deref<Target = W<CCMR1_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