#[repr(u8)]pub enum HclkPrescaler {
Div1 = 0,
Div2 = 8,
Div4 = 9,
Div8 = 10,
Div16 = 11,
Div64 = 12,
Div128 = 13,
Div256 = 14,
Div512 = 15,
}
Expand description
Division factor for the AHB clock. Also known as AHB Prescaler. L4 RM, 6.4.3 on WB, used for all 3 HCLK prescalers.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for HclkPrescaler
impl Clone for HclkPrescaler
Source§fn clone(&self) -> HclkPrescaler
fn clone(&self) -> HclkPrescaler
Returns a duplicate of the value. Read more
1.0.0 · Source§fn 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 Freeze for HclkPrescaler
impl RefUnwindSafe for HclkPrescaler
impl Send for HclkPrescaler
impl Sync for HclkPrescaler
impl Unpin for HclkPrescaler
impl UnwindSafe for HclkPrescaler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more