pub enum OVRMOD {
Preserve = 0,
Overwrite = 1,
}
Expand description
Overrun management mode This bit is set and cleared by software and configure the way data overruns are managed. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).
Value on reset: 0
Variants§
Preserve = 0
0: ADC_DR register is preserved with the old data when an overrun is detected
Overwrite = 1
1: ADC_DR register is overwritten with the last conversion result when an overrun is detected
Trait Implementations§
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