Enum stm32_hal2::clocks::HclkPrescaler
source · [−]#[repr(u8)]
pub enum HclkPrescaler {
Div1,
Div2,
Div4,
Div8,
Div16,
Div64,
Div128,
Div256,
Div512,
}
Expand description
Division factor for the AHB clock. Also known as AHB Prescaler. See RCC_D1CFGR reg.
Variants
Div1
Div2
Div4
Div8
Div16
Div64
Div128
Div256
Div512
Implementations
sourceimpl HclkPrescaler
impl HclkPrescaler
Trait Implementations
sourceimpl Clone for HclkPrescaler
impl Clone for HclkPrescaler
sourcefn clone(&self) -> HclkPrescaler
fn clone(&self) -> HclkPrescaler
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 moreimpl Copy for HclkPrescaler
Auto Trait Implementations
impl RefUnwindSafe for HclkPrescaler
impl Send for HclkPrescaler
impl Sync for HclkPrescaler
impl Unpin for HclkPrescaler
impl UnwindSafe for HclkPrescaler
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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