Struct stm32f1xx_hal::pac::tim1::ccmr2_output::W
source · pub struct W(_);
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.