[]Struct nucleo_f401re::stm32::rcc::dckcfgr::_TIMPREW

pub struct _TIMPREW<'a> { /* fields omitted */ }

Proxy

Methods

impl<'a> _TIMPREW<'a>

pub fn variant(self, variant: TIMPREW) -> &'a mut W

Writes variant to the field

pub fn mul2(self) -> &'a mut W

If the APB prescaler is configured 1, TIMxCLK = PCLKx. Otherwise, TIMxCLK = 2xPCLKx

pub fn mul4(self) -> &'a mut W

If the APB prescaler is configured 1, 2 or 4, TIMxCLK = HCLK. Otherwise, TIMxCLK = 4xPCLKx

pub fn set_bit(self) -> &'a mut W

Sets the field bit

pub fn clear_bit(self) -> &'a mut W

Clears the field bit

pub fn bit(self, value: bool) -> &'a mut W

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for _TIMPREW<'a>

impl<'a> Sync for _TIMPREW<'a>

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T, U> TryInto 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 for T where
    T: ?Sized
[src]

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

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

impl<T> Same for T

type Output = T

Should always be Self