ckmode().bits(0b10) }); clk_ctx.apb2().0 / 4 } else { panic!("pclk too high to drive adc"); } } AdcClkSrc::Hsi16 => { if let Some(f) = clk_ctx.hsi16() { raw.cfgr2.modify(|_, w| unsafe { w.ckmode().bits(0b00) }); match f.0 / fadc_limits.1 { 1 =>...
similar issue with call to LL_ADC_SetOverSamplingScope in start_read, whichseemsto touch CKMODE bits and trash the unit (although debugger ADC register read-out may be broken at that point already), the register can be written when disabling the adc (see attached patch). ...