Type Definition stm32g0::stm32g0c1::adc::cfgr1::DISCEN_W

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

Field DISCEN writer - Discontinuous mode This bit is set and cleared by software to enable/disable discontinuous mode. Note: It is not possible to have both discontinuous mode and continuous mode enabled: it is forbidden to set both bits DISCENÂ =Â 1 and CONTÂ =Â 1. The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).

Implementations

Discontinuous mode disabled

Discontinuous mode enabled