Enum stm32wlxx_hal::pac::adc::cfgr1::OVRMOD_A
pub enum OVRMOD_A {
Preserve = 0,
Overwrite = 1,
}
Available on crate feature
stm32wl5x_cm4
only.Expand description
OVRMOD
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_A
impl StructuralPartialEq for OVRMOD_A
Auto Trait Implementations§
impl RefUnwindSafe for OVRMOD_A
impl Send for OVRMOD_A
impl Sync for OVRMOD_A
impl Unpin for OVRMOD_A
impl UnwindSafe for OVRMOD_A
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