Type Definition stm32g0::stm32g0c1::adc::cfgr1::OVRMOD_W

source · []
pub type OVRMOD_W<'a, const O: u8> = BitWriter<'a, u32, CFGR1_SPEC, OVRMOD_A, O>;
Expand description

Field OVRMOD writer - 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).

Implementations

ADC_DR register is preserved with the old data when an overrun is detected

ADC_DR register is overwritten with the last conversion result when an overrun is detected