Enum stm32_metapac::pwr::vals::SyncAdc
#[repr(u8)]pub enum SyncAdc {
FREERUNNING = 0,
SYNCHRONIZED = 1,
}
Variants§
FREERUNNING = 0
SD_Converter clock free running.
SYNCHRONIZED = 1
SD_Converter clock synchronised to ADC.
Implementations§
Trait Implementations§
§impl Ord for SyncAdc
impl Ord for SyncAdc
§impl PartialEq for SyncAdc
impl PartialEq for SyncAdc
§impl PartialOrd for SyncAdc
impl PartialOrd for SyncAdc
§fn partial_cmp(&self, other: &SyncAdc) -> Option<Ordering>
fn partial_cmp(&self, other: &SyncAdc) -> 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 SyncAdc
impl Eq for SyncAdc
impl StructuralEq for SyncAdc
impl StructuralPartialEq for SyncAdc
Auto Trait Implementations§
impl RefUnwindSafe for SyncAdc
impl Send for SyncAdc
impl Sync for SyncAdc
impl Unpin for SyncAdc
impl UnwindSafe for SyncAdc
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