Struct stm32f4xx_hal::pac::tim2::ccmr2_output::W
source · 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 - O24CE
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 - OC4M
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 - OC4PE
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 - OC4FE
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 - CC4S
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 - OC3CE
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 - OC3M
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 - OC3PE
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 - OC3FE
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§
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