#[repr(u8)]pub enum ApbPrescaler {
Div1 = 0,
Div2 = 4,
Div4 = 5,
Div8 = 6,
Div16 = 7,
}
Expand description
For use with RCC_APBPPRE1
, and RCC_APBPPRE2
. Ie, low-speed and high-speed prescalers respectively.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ApbPrescaler
impl Clone for ApbPrescaler
Source§fn clone(&self) -> ApbPrescaler
fn clone(&self) -> ApbPrescaler
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 ApbPrescaler
Auto Trait Implementations§
impl Freeze for ApbPrescaler
impl RefUnwindSafe for ApbPrescaler
impl Send for ApbPrescaler
impl Sync for ApbPrescaler
impl Unpin for ApbPrescaler
impl UnwindSafe for ApbPrescaler
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