Enum APBPrescaler
#[repr(u8)]pub enum APBPrescaler {
DIV1 = 0,
_RESERVED_1 = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
DIV2 = 4,
DIV4 = 5,
DIV8 = 6,
DIV16 = 7,
}Expand description
APB Low speed prescaler (APB1).
Variants§
DIV1 = 0
HCLK not divided.
_RESERVED_1 = 1
_RESERVED_2 = 2
_RESERVED_3 = 3
DIV2 = 4
HCLK divided by 2.
DIV4 = 5
HCLK divided by 4.
DIV8 = 6
HCLK divided by 8.
DIV16 = 7
HCLK divided by 16.
Implementations§
Trait Implementations§
impl Copy for Ppre
impl Eq for Ppre
§impl Ord for Ppre
impl Ord for Ppre
1.21.0 (const: unstable)§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Ppre
impl PartialOrd for Ppre
impl StructuralPartialEq for Ppre
Auto Trait Implementations§
impl Freeze for Ppre
impl RefUnwindSafe for Ppre
impl Send for Ppre
impl Sync for Ppre
impl Unpin for Ppre
impl UnsafeUnpin for Ppre
impl UnwindSafe for Ppre
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)