Enum stm32_hal2::clocks::ApbPrescaler
source · [−]#[repr(u8)]
pub enum ApbPrescaler {
Div1,
Div2,
Div4,
Div8,
Div16,
}
Expand description
For use with RCC_APBPPRE1
, and RCC_APBPPRE2
. Ie, low-speed and high-speed prescalers respectively.
Variants
Div1
Div2
Div4
Div8
Div16
Implementations
sourceimpl ApbPrescaler
impl ApbPrescaler
Trait Implementations
sourceimpl Clone for ApbPrescaler
impl Clone for ApbPrescaler
sourcefn clone(&self) -> ApbPrescaler
fn clone(&self) -> ApbPrescaler
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for ApbPrescaler
Auto Trait Implementations
impl RefUnwindSafe for ApbPrescaler
impl Send for ApbPrescaler
impl Sync for ApbPrescaler
impl Unpin for ApbPrescaler
impl UnwindSafe for ApbPrescaler
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