pub enum AWD1SGL {
AllChannels = 0,
SingleChannel = 1,
}
Expand description
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).
Value on reset: 0
Variants§
AllChannels = 0
0: Analog watchdog 1 enabled on all channels
SingleChannel = 1
1: Analog watchdog 1 enabled on a single channel
Trait Implementations§
impl Copy for AWD1SGL
impl Eq for AWD1SGL
impl StructuralPartialEq for AWD1SGL
Auto Trait Implementations§
impl Freeze for AWD1SGL
impl RefUnwindSafe for AWD1SGL
impl Send for AWD1SGL
impl Sync for AWD1SGL
impl Unpin for AWD1SGL
impl UnwindSafe for AWD1SGL
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