[]Struct nucleo_f042k6::tim3::ccmr1_output::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W

pub unsafe fn bits(&mut self, bits: u32) -> &mut W

Writes raw bits to the register

pub fn oc2ce(&mut self) -> _OC2CEW

Bit 15 - Output compare 2 clear enable

pub fn oc2m(&mut self) -> _OC2MW

Bits 12:14 - Output compare 2 mode

pub fn oc2pe(&mut self) -> _OC2PEW

Bit 11 - Output compare 2 preload enable

pub fn oc2fe(&mut self) -> _OC2FEW

Bit 10 - Output compare 2 fast enable

pub fn cc2s(&mut self) -> _CC2SW

Bits 8:9 - Capture/Compare 2 selection

pub fn oc1ce(&mut self) -> _OC1CEW

Bit 7 - Output compare 1 clear enable

pub fn oc1m(&mut self) -> _OC1MW

Bits 4:6 - Output compare 1 mode

pub fn oc1pe(&mut self) -> _OC1PEW

Bit 3 - Output compare 1 preload enable

pub fn oc1fe(&mut self) -> _OC1FEW

Bit 2 - Output compare 1 fast enable

pub fn cc1s(&mut self) -> _CC1SW

Bits 0:1 - Capture/Compare 1 selection

Auto Trait Implementations

impl Unpin for W

impl Sync for W

impl Send for W

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self