[][src]Struct stm32f0xx_hal::pac::rcc::cfgr2::PREDIV_W

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

Write proxy for field PREDIV

Implementations

impl<'a> PREDIV_W<'a>[src]

pub fn variant(self, variant: PREDIV_A) -> &'a mut W<u32, Reg<u32, _CFGR2>>[src]

Writes variant to the field

pub fn div1(self) -> &'a mut W<u32, Reg<u32, _CFGR2>>[src]

PREDIV input clock not divided

pub fn div2(self) -> &'a mut W<u32, Reg<u32, _CFGR2>>[src]

PREDIV input clock divided by 2

pub fn div3(self) -> &'a mut W<u32, Reg<u32, _CFGR2>>[src]

PREDIV input clock divided by 3

pub fn div4(self) -> &'a mut W<u32, Reg<u32, _CFGR2>>[src]

PREDIV input clock divided by 4

pub fn div5(self) -> &'a mut W<u32, Reg<u32, _CFGR2>>[src]

PREDIV input clock divided by 5

pub fn div6(self) -> &'a mut W<u32, Reg<u32, _CFGR2>>[src]

PREDIV input clock divided by 6

pub fn div7(self) -> &'a mut W<u32, Reg<u32, _CFGR2>>[src]

PREDIV input clock divided by 7

pub fn div8(self) -> &'a mut W<u32, Reg<u32, _CFGR2>>[src]

PREDIV input clock divided by 8

pub fn div9(self) -> &'a mut W<u32, Reg<u32, _CFGR2>>[src]

PREDIV input clock divided by 9

pub fn div10(self) -> &'a mut W<u32, Reg<u32, _CFGR2>>[src]

PREDIV input clock divided by 10

pub fn div11(self) -> &'a mut W<u32, Reg<u32, _CFGR2>>[src]

PREDIV input clock divided by 11

pub fn div12(self) -> &'a mut W<u32, Reg<u32, _CFGR2>>[src]

PREDIV input clock divided by 12

pub fn div13(self) -> &'a mut W<u32, Reg<u32, _CFGR2>>[src]

PREDIV input clock divided by 13

pub fn div14(self) -> &'a mut W<u32, Reg<u32, _CFGR2>>[src]

PREDIV input clock divided by 14

pub fn div15(self) -> &'a mut W<u32, Reg<u32, _CFGR2>>[src]

PREDIV input clock divided by 15

pub fn div16(self) -> &'a mut W<u32, Reg<u32, _CFGR2>>[src]

PREDIV input clock divided by 16

pub fn bits(self, value: u8) -> &'a mut W<u32, Reg<u32, _CFGR2>>[src]

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for PREDIV_W<'a>

impl<'a> !Sync for PREDIV_W<'a>

impl<'a> Unpin for PREDIV_W<'a>

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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