Struct stm32f4xx_hal::pac::tim3::ccmr1_output::W
source · pub struct W(/* private fields */);
Expand description
Register CCMR1_Output
writer
Implementations§
source§impl W
impl W
sourcepub fn oc2ce(
&mut self
) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, bool, BitM, 15>
pub fn oc2ce( &mut self ) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, bool, BitM, 15>
Bit 15 - OC2CE
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 - OC2M
sourcepub fn oc2pe(
&mut self
) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, OC2PE_A, BitM, 11>
pub fn oc2pe( &mut self ) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, OC2PE_A, BitM, 11>
Bit 11 - OC2PE
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 - OC2FE
sourcepub fn cc2s(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, u8, CC2S_A, Unsafe, 2, 8>
pub fn cc2s( &mut self ) -> FieldWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, u8, CC2S_A, Unsafe, 2, 8>
Bits 8:9 - CC2S
sourcepub fn oc1ce(
&mut self
) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, bool, BitM, 7>
pub fn oc1ce( &mut self ) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, bool, BitM, 7>
Bit 7 - OC1CE
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 - OC1M
sourcepub fn oc1pe(
&mut self
) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, OC1PE_A, BitM, 3>
pub fn oc1pe( &mut self ) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, OC1PE_A, BitM, 3>
Bit 3 - OC1PE
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 - OC1FE
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§
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