Enum stm32f4xx::rcc::AHBPrescaler
source · pub enum AHBPrescaler {
DivideBy1 = 0,
DivideBy2 = 8,
DivideBy4 = 9,
DivideBy8 = 10,
DivideBy16 = 11,
DivideBy64 = 12,
DivideBy128 = 13,
DivideBy256 = 14,
DivideBy512 = 15,
}
Variants§
DivideBy1 = 0
DivideBy2 = 8
DivideBy4 = 9
DivideBy8 = 10
DivideBy16 = 11
DivideBy64 = 12
DivideBy128 = 13
DivideBy256 = 14
DivideBy512 = 15
Trait Implementations§
source§impl Clone for AHBPrescaler
impl Clone for AHBPrescaler
source§fn clone(&self) -> AHBPrescaler
fn clone(&self) -> AHBPrescaler
Returns a copy 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 moresource§impl Debug for AHBPrescaler
impl Debug for AHBPrescaler
source§impl From<AHBPrescaler> for usize
impl From<AHBPrescaler> for usize
source§fn from(item: AHBPrescaler) -> usize
fn from(item: AHBPrescaler) -> usize
Converts to this type from the input type.
source§impl PartialEq for AHBPrescaler
impl PartialEq for AHBPrescaler
source§fn eq(&self, other: &AHBPrescaler) -> bool
fn eq(&self, other: &AHBPrescaler) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AHBPrescaler
impl StructuralPartialEq for AHBPrescaler
Auto Trait Implementations§
impl Freeze for AHBPrescaler
impl RefUnwindSafe for AHBPrescaler
impl Send for AHBPrescaler
impl Sync for AHBPrescaler
impl Unpin for AHBPrescaler
impl UnwindSafe for AHBPrescaler
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)