[][src]Struct stm32l0xx_hal::rcc::Config

pub struct Config { /* fields omitted */ }

Clocks configutation

Methods

impl Config[src]

pub fn clock_src(self, mux: ClockSrc) -> Self[src]

pub fn ahb_pre(self, pre: AHBPrescaler) -> Self[src]

pub fn apb1_pre(self, pre: APBPrescaler) -> Self[src]

pub fn apb2_pre(self, pre: APBPrescaler) -> Self[src]

pub fn hsi16() -> Config[src]

pub fn msi(range: MSIRange) -> Config[src]

pub fn pll(pll_src: PLLSource, pll_mul: PLLMul, pll_div: PLLDiv) -> Config[src]

pub fn hse<T>(freq: T) -> Config where
    T: Into<Hertz>, 
[src]

Trait Implementations

impl Default for Config[src]

Auto Trait Implementations

impl Unpin for Config

impl Send for Config

impl Sync for Config

Blanket Implementations

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

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

type Error = !

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<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