Struct stm32_hal2::pac::tim12::ccmr2_output::W
source · [−]pub struct W(_);
Expand description
Register CCMR2_Output
writer
Implementations
sourceimpl W
impl W
sourcepub fn oc4m_3(
&mut self
) -> BitWriterRaw<'_, u32, CCMR2_OUTPUT_SPEC, OC3M_3_A, BitM, 24>
pub fn oc4m_3(
&mut self
) -> BitWriterRaw<'_, u32, CCMR2_OUTPUT_SPEC, OC3M_3_A, BitM, 24>
Bit 24 - Output Compare 2 mode - bit 3
sourcepub fn oc3m_3(
&mut self
) -> BitWriterRaw<'_, u32, CCMR2_OUTPUT_SPEC, OC3M_3_A, BitM, 16>
pub fn oc3m_3(
&mut self
) -> BitWriterRaw<'_, u32, CCMR2_OUTPUT_SPEC, OC3M_3_A, BitM, 16>
Bit 16 - Output Compare 1 mode - bit 3
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 - OC4CE
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, bool, BitM, 11>
pub fn oc4pe(
&mut self
) -> BitWriterRaw<'_, u32, CCMR2_OUTPUT_SPEC, bool, 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, u8, Unsafe, 2, 8>
pub fn cc4s(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR2_OUTPUT_SPEC, u8, u8, 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, bool, BitM, 3>
pub fn oc3pe(
&mut self
) -> BitWriterRaw<'_, u32, CCMR2_OUTPUT_SPEC, bool, 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
sourceimpl From<W<CCMR2_OUTPUT_SPEC>> for W
impl From<W<CCMR2_OUTPUT_SPEC>> for W
sourcefn from(writer: W<CCMR2_OUTPUT_SPEC>) -> W
fn from(writer: W<CCMR2_OUTPUT_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more