Enum stm32_metapac::adc::vals::AdcCfg
#[repr(u8)]pub enum AdcCfg {
BANK_A = 0,
BANK_B = 1,
}
Variants§
BANK_A = 0
Bank A selected for channels ADC_IN0..31
BANK_B = 1
Bank B selected for channels ADC_IN0..31b
Implementations§
Trait Implementations§
§impl Ord for AdcCfg
impl Ord for AdcCfg
§impl PartialOrd for AdcCfg
impl PartialOrd for AdcCfg
§fn partial_cmp(&self, other: &AdcCfg) -> Option<Ordering>
fn partial_cmp(&self, other: &AdcCfg) -> 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 AdcCfg
impl Eq for AdcCfg
impl StructuralEq for AdcCfg
impl StructuralPartialEq for AdcCfg
Auto Trait Implementations§
impl RefUnwindSafe for AdcCfg
impl Send for AdcCfg
impl Sync for AdcCfg
impl Unpin for AdcCfg
impl UnwindSafe for AdcCfg
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