Enum d1_pac::timer::wdog_cfg::WDOG_MODE_A
source · #[repr(u8)]pub enum WDOG_MODE_A {
WHOLD_SYSTEM = 1,
ONLY_INTERRUPT = 2,
}
Expand description
Configure the operating mode for the watchdog
Value on reset: 0
Variants§
Trait Implementations§
source§impl Clone for WDOG_MODE_A
impl Clone for WDOG_MODE_A
source§fn clone(&self) -> WDOG_MODE_A
fn clone(&self) -> WDOG_MODE_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WDOG_MODE_A
impl Debug for WDOG_MODE_A
source§impl From<WDOG_MODE_A> for u8
impl From<WDOG_MODE_A> for u8
source§fn from(variant: WDOG_MODE_A) -> Self
fn from(variant: WDOG_MODE_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for WDOG_MODE_A
impl PartialEq for WDOG_MODE_A
impl Copy for WDOG_MODE_A
impl Eq for WDOG_MODE_A
impl StructuralPartialEq for WDOG_MODE_A
Auto Trait Implementations§
impl Freeze for WDOG_MODE_A
impl RefUnwindSafe for WDOG_MODE_A
impl Send for WDOG_MODE_A
impl Sync for WDOG_MODE_A
impl Unpin for WDOG_MODE_A
impl UnwindSafe for WDOG_MODE_A
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)