Enum stm32_metapac::adc::vals::Ovrmod
#[repr(u8)]pub enum Ovrmod {
PRESERVED = 0,
OVERWRITTEN = 1,
}
Variants§
PRESERVED = 0
ADC_DR register is preserved with the old data when an overrun is detected
OVERWRITTEN = 1
ADC_DR register is overwritten with the last conversion result when an overrun is detected
Implementations§
Trait Implementations§
§impl Ord for Ovrmod
impl Ord for Ovrmod
§impl PartialOrd for Ovrmod
impl PartialOrd for Ovrmod
impl Copy for Ovrmod
impl Eq for Ovrmod
impl StructuralPartialEq for Ovrmod
Auto Trait Implementations§
impl Freeze for Ovrmod
impl RefUnwindSafe for Ovrmod
impl Send for Ovrmod
impl Sync for Ovrmod
impl Unpin for Ovrmod
impl UnwindSafe for Ovrmod
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)