[][src]Struct stm32f3::stm32f303::tim2::cr1::W

pub struct W { /* fields omitted */ }

Value to write to the register


impl W[src]

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

pub fn cen(&mut self) -> _CENW[src]

Bit 0 - Counter enable

pub fn udis(&mut self) -> _UDISW[src]

Bit 1 - Update disable

pub fn urs(&mut self) -> _URSW[src]

Bit 2 - Update request source

pub fn opm(&mut self) -> _OPMW[src]

Bit 3 - One-pulse mode

pub fn dir(&mut self) -> _DIRW[src]

Bit 4 - Direction

pub fn cms(&mut self) -> _CMSW[src]

Bits 5:6 - Center-aligned mode selection

pub fn arpe(&mut self) -> _ARPEW[src]

Bit 7 - Auto-reload preload enable

pub fn ckd(&mut self) -> _CKDW[src]

Bits 8:9 - Clock division

pub fn uifremap(&mut self) -> _UIFREMAPW[src]

Bit 11 - UIF status bit remapping

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>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 

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

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T> Same<T> for T

type Output = T

Should always be Self