pub type AWD1SGL_W<'a, const O: u8> = BitWriter<'a, u32, CFGR1_SPEC, AWD1SGL_A, O>;
Expand description
Field AWD1SGL
writer - Enable the watchdog on a single channel or on all channels This bit is set and cleared by software to enable the analog watchdog on the channel identified by the AWDCH[4:0]
bits or on all the channels 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
sourceimpl<'a, const O: u8> AWD1SGL_W<'a, O>
impl<'a, const O: u8> AWD1SGL_W<'a, O>
sourcepub fn all_channels(self) -> &'a mut W
pub fn all_channels(self) -> &'a mut W
Analog watchdog 1 enabled on all channels
sourcepub fn single_channel(self) -> &'a mut W
pub fn single_channel(self) -> &'a mut W
Analog watchdog 1 enabled on a single channel