pub enum WatchdogChannels {
Single(u8),
Multiple(u16),
}
Expand description
This enum is passed into Adc::init_watchdog
to specify the channels for the watchdog to monitor
Variants§
Implementations§
Source§impl WatchdogChannels
impl WatchdogChannels
pub fn from_channel<T>(channel: &impl AdcChannel<T>) -> Self
pub fn add_channel<T>(self, channel: &impl AdcChannel<T>) -> Self
Auto Trait Implementations§
impl Freeze for WatchdogChannels
impl RefUnwindSafe for WatchdogChannels
impl Send for WatchdogChannels
impl Sync for WatchdogChannels
impl Unpin for WatchdogChannels
impl UnwindSafe for WatchdogChannels
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