[][src]Enum stm32l0xx_hal::lptim::ClockSrc

pub enum ClockSrc {
    Apb1,
    Lsi,
    Hsi16,
    Lse,
}

Clock source selection for the Low-Power Timer LPTIM.

Variants

Apb1

Drive LPTIM with APB1 clock.

Lsi

Drive LPTIM with Low-Speed Internal (LSI) clock.

The user has to ensure that the LSI clock is running, or the timer won't start counting.

Hsi16

Drive LPTIM with Internal 16 MHz clock.

Lse

Drive LPTIM with Low-Speed External (LSE) clock at 32.768 kHz.

The user has to ensure that the LSE clock is running, or the timer won't start counting.

Trait Implementations

impl Debug for ClockSrc[src]

impl PartialEq<ClockSrc> for ClockSrc[src]

impl Eq for ClockSrc[src]

impl Copy for ClockSrc[src]

impl StructuralPartialEq for ClockSrc[src]

impl StructuralEq for ClockSrc[src]

impl Clone for ClockSrc[src]

Auto Trait Implementations

impl Unpin for ClockSrc

impl Send for ClockSrc

impl Sync for ClockSrc

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