[][src]Struct stm32f0xx_hal::rcc::CFGR

pub struct CFGR { /* fields omitted */ }

Implementations

impl CFGR[src]

pub fn hse<F>(self, freq: F, bypass: HSEBypassMode) -> Self where
    F: Into<Hertz>, 
[src]

pub fn hsi48(self) -> Self[src]

pub fn hclk<F>(self, freq: F) -> Self where
    F: Into<Hertz>, 
[src]

pub fn pclk<F>(self, freq: F) -> Self where
    F: Into<Hertz>, 
[src]

pub fn sysclk<F>(self, freq: F) -> Self where
    F: Into<Hertz>, 
[src]

pub fn usbsrc(self, src: USBClockSource) -> Self[src]

Set the USB clock source (only valid for STM32F0xx with USB)

pub fn enable_crs(self, crs: CRS) -> Self[src]

pub fn freeze(self, flash: &mut FLASH) -> Rcc[src]

Auto Trait Implementations

impl Send for CFGR

impl !Sync for CFGR

impl Unpin for CFGR

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.