Enum stm32_metapac::rcc::vals::Adcpre
#[repr(u8)]pub enum Adcpre {
DIV2 = 0,
DIV4 = 1,
DIV6 = 2,
DIV8 = 3,
}
Variants§
DIV2 = 0
PCLK2 divided by 2
DIV4 = 1
PCLK2 divided by 4
DIV6 = 2
PCLK2 divided by 6
DIV8 = 3
PCLK2 divided by 8
Implementations§
Trait Implementations§
§impl Ord for Adcpre
impl Ord for Adcpre
§impl PartialOrd for Adcpre
impl PartialOrd for Adcpre
§fn partial_cmp(&self, other: &Adcpre) -> Option<Ordering>
fn partial_cmp(&self, other: &Adcpre) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Adcpre
impl Eq for Adcpre
impl StructuralPartialEq for Adcpre
Auto Trait Implementations§
impl Freeze for Adcpre
impl RefUnwindSafe for Adcpre
impl Send for Adcpre
impl Sync for Adcpre
impl Unpin for Adcpre
impl UnwindSafe for Adcpre
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