Struct W
pub struct W(/* private fields */);
Expand description
Register CCMR1_Output
writer
Implementations§
§impl W
impl W
pub 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 - CC1S
pub 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 - OC1FE
pub 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 - OC1PE
pub 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 - OC1M
pub fn oc1ce(
&mut self,
) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, bool, BitM, 7>
pub fn oc1ce( &mut self, ) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, bool, BitM, 7>
Bit 7 - OC1CE
pub fn cc2s(
&mut self,
) -> FieldWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, u8, CC2S_A, Unsafe, 2, 8>
pub fn cc2s( &mut self, ) -> FieldWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, u8, CC2S_A, Unsafe, 2, 8>
Bits 8:9 - CC2S
pub fn oc2fe(
&mut self,
) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, bool, BitM, 10>
pub fn oc2fe( &mut self, ) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, bool, BitM, 10>
Bit 10 - OC2FE
pub fn oc2pe(
&mut self,
) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, OC2PE_A, BitM, 11>
pub fn oc2pe( &mut self, ) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, OC2PE_A, BitM, 11>
Bit 11 - OC2PE
pub fn oc2m(
&mut self,
) -> FieldWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, u8, OC1M_A, Safe, 3, 12>
pub fn oc2m( &mut self, ) -> FieldWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, u8, OC1M_A, Safe, 3, 12>
Bits 12:14 - OC2M
pub fn oc2ce(
&mut self,
) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, bool, BitM, 15>
pub fn oc2ce( &mut self, ) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, bool, BitM, 15>
Bit 15 - OC2CE
pub fn oc1m_3(
&mut self,
) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, OC1M_3_A, BitM, 16>
pub fn oc1m_3( &mut self, ) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, OC1M_3_A, BitM, 16>
Bit 16 - Output Compare 1 mode - bit 3
pub fn oc2m_3(
&mut self,
) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, OC1M_3_A, BitM, 24>
pub fn oc2m_3( &mut self, ) -> BitWriterRaw<'_, u32, CCMR1_OUTPUT_SPEC, OC1M_3_A, BitM, 24>
Bit 24 - Output Compare 2 mode - bit 3
Methods from Deref<Target = W<CCMR1_OUTPUT_SPEC>>§
pub 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§
§impl From<W<CCMR1_OUTPUT_SPEC>> for W
impl From<W<CCMR1_OUTPUT_SPEC>> for W
§fn from(writer: W<CCMR1_OUTPUT_SPEC>) -> W
fn from(writer: W<CCMR1_OUTPUT_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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