Struct alt_stm32f30x_hal::device::tim8::ccmr3_output::W
source · [−]pub struct W(_);
Expand description
Register CCMR3_Output
writer
Implementations
sourceimpl W
impl W
sourcepub fn oc5fe(
&mut self
) -> BitWriterRaw<'_, u32, CCMR3_OUTPUT_SPEC, bool, BitM, 2>
pub fn oc5fe(
&mut self
) -> BitWriterRaw<'_, u32, CCMR3_OUTPUT_SPEC, bool, BitM, 2>
Bit 2 - Output compare 5 fast enable
sourcepub fn oc5pe(
&mut self
) -> BitWriterRaw<'_, u32, CCMR3_OUTPUT_SPEC, bool, BitM, 3>
pub fn oc5pe(
&mut self
) -> BitWriterRaw<'_, u32, CCMR3_OUTPUT_SPEC, bool, BitM, 3>
Bit 3 - Output compare 5 preload enable
sourcepub fn oc5m(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR3_OUTPUT_SPEC, u8, OC5M_A, Safe, 3, 4>
pub fn oc5m(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR3_OUTPUT_SPEC, u8, OC5M_A, Safe, 3, 4>
Bits 4:6 - Output compare 5 mode
sourcepub fn oc5ce(
&mut self
) -> BitWriterRaw<'_, u32, CCMR3_OUTPUT_SPEC, bool, BitM, 7>
pub fn oc5ce(
&mut self
) -> BitWriterRaw<'_, u32, CCMR3_OUTPUT_SPEC, bool, BitM, 7>
Bit 7 - Output compare 5 clear enable
sourcepub fn oc6fe(
&mut self
) -> BitWriterRaw<'_, u32, CCMR3_OUTPUT_SPEC, bool, BitM, 10>
pub fn oc6fe(
&mut self
) -> BitWriterRaw<'_, u32, CCMR3_OUTPUT_SPEC, bool, BitM, 10>
Bit 10 - Output compare 6 fast enable
sourcepub fn oc6pe(
&mut self
) -> BitWriterRaw<'_, u32, CCMR3_OUTPUT_SPEC, bool, BitM, 11>
pub fn oc6pe(
&mut self
) -> BitWriterRaw<'_, u32, CCMR3_OUTPUT_SPEC, bool, BitM, 11>
Bit 11 - Output compare 6 preload enable
sourcepub fn oc6m(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR3_OUTPUT_SPEC, u8, OC5M_A, Safe, 3, 12>
pub fn oc6m(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR3_OUTPUT_SPEC, u8, OC5M_A, Safe, 3, 12>
Bits 12:14 - Output compare 6 mode
sourcepub fn oc6ce(
&mut self
) -> BitWriterRaw<'_, u32, CCMR3_OUTPUT_SPEC, bool, BitM, 15>
pub fn oc6ce(
&mut self
) -> BitWriterRaw<'_, u32, CCMR3_OUTPUT_SPEC, bool, BitM, 15>
Bit 15 - Output compare 6 clear enable
sourcepub fn oc5m_3(
&mut self
) -> BitWriterRaw<'_, u32, CCMR3_OUTPUT_SPEC, OC5M_3_A, BitM, 16>
pub fn oc5m_3(
&mut self
) -> BitWriterRaw<'_, u32, CCMR3_OUTPUT_SPEC, OC5M_3_A, BitM, 16>
Bit 16 - Outout Compare 5 mode bit 3
sourcepub fn oc6m_3(
&mut self
) -> BitWriterRaw<'_, u32, CCMR3_OUTPUT_SPEC, OC5M_3_A, BitM, 24>
pub fn oc6m_3(
&mut self
) -> BitWriterRaw<'_, u32, CCMR3_OUTPUT_SPEC, OC5M_3_A, BitM, 24>
Bit 24 - Outout Compare 6 mode bit 3
Methods from Deref<Target = W<CCMR3_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<CCMR3_OUTPUT_SPEC>> for W
impl From<W<CCMR3_OUTPUT_SPEC>> for W
sourcefn from(writer: W<CCMR3_OUTPUT_SPEC>) -> W
fn from(writer: W<CCMR3_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