[][src]Struct e310x_hal::clock::CoreClk

pub struct CoreClk { /* fields omitted */ }

Constrainted PRCI peripheral

Methods

impl CoreClk[src]

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

Uses HFXOSC (external oscillator) instead of HFROSC (internal ring oscillator) as the clock source.

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

Sets the desired frequency for the coreclk clock

Auto Trait Implementations

impl Send for CoreClk

impl Sync for CoreClk

impl Unpin for CoreClk

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