Enum stm32l0xx_hal::lptim::ClockSrc
source · [−]pub enum ClockSrc {
Apb1,
Lsi,
Hsi16,
Lse,
}
Expand description
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 Copy for ClockSrc
impl Eq for ClockSrc
impl StructuralEq for ClockSrc
impl StructuralPartialEq for ClockSrc
Auto Trait Implementations
impl RefUnwindSafe for ClockSrc
impl Send for ClockSrc
impl Sync for ClockSrc
impl Unpin for ClockSrc
impl UnwindSafe for ClockSrc
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more