Enum stm32_metapac::opamp::vals::Calsel
#[repr(u8)]pub enum Calsel {
PERCENT3_3 = 0,
PERCENT10 = 1,
PERCENT50 = 2,
PERCENT90 = 3,
}
Variants§
PERCENT3_3 = 0
VREFOPAMP=3.3% VDDA
PERCENT10 = 1
VREFOPAMP=10% VDDA
PERCENT50 = 2
VREFOPAMP=50% VDDA
PERCENT90 = 3
VREFOPAMP=90% VDDA
Implementations§
Trait Implementations§
§impl Ord for Calsel
impl Ord for Calsel
§impl PartialOrd for Calsel
impl PartialOrd for Calsel
§fn partial_cmp(&self, other: &Calsel) -> Option<Ordering>
fn partial_cmp(&self, other: &Calsel) -> 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 Calsel
impl Eq for Calsel
impl StructuralEq for Calsel
impl StructuralPartialEq for Calsel
Auto Trait Implementations§
impl RefUnwindSafe for Calsel
impl Send for Calsel
impl Sync for Calsel
impl Unpin for Calsel
impl UnwindSafe for Calsel
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