Enum stm32_metapac::adc::vals::Res
#[repr(u8)]pub enum Res {
BITS12 = 0,
BITS10 = 1,
BITS8 = 2,
BITS6 = 3,
}
Variants§
BITS12 = 0
12-bit (14 ADCCLK cycles)
BITS10 = 1
10-bit (13 ADCCLK cycles)
BITS8 = 2
8-bit (11 ADCCLK cycles)
BITS6 = 3
6-bit (9 ADCCLK cycles)
Implementations§
Trait Implementations§
§impl Ord for Res
impl Ord for Res
§impl PartialOrd for Res
impl PartialOrd for Res
§fn partial_cmp(&self, other: &Res) -> Option<Ordering>
fn partial_cmp(&self, other: &Res) -> 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 Res
impl Eq for Res
impl StructuralEq for Res
impl StructuralPartialEq for Res
Auto Trait Implementations§
impl RefUnwindSafe for Res
impl Send for Res
impl Sync for Res
impl Unpin for Res
impl UnwindSafe for Res
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