Struct stm32_hal2::pac::tim16::ccmr1_output::W
source · pub struct W(/* private fields */);
Expand description
Register CCMR1_Output
writer
Implementations§
source§impl W
impl W
sourcepub fn cc1s(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, u8, CC1S_A, Unsafe, 2, 0>
pub fn cc1s( &mut self ) -> FieldWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, u8, CC1S_A, Unsafe, 2, 0>
Bits 0:1 - Capture/Compare 1 selection
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 - Output Compare 1 fast enable
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 - Output Compare 1 preload enable
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 - Output Compare 1 mode
sourcepub fn oc1m_3(
&mut self
) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, bool, BitM, 16>
pub fn oc1m_3( &mut self ) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, bool, BitM, 16>
Bit 16 - Output Compare 1 mode
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