Enum lpc81x_pac::lpc810::wwdt::mod_::WDPROTECT_A
source · pub enum WDPROTECT_A {
FLEXIBLE,
THRESHOLD,
}
Expand description
Watchdog update mode. This bit can be set once by software and is only cleared by a reset.
Value on reset: 0
Variants§
FLEXIBLE
0: Flexible. The watchdog time-out value (TC) can be changed at any time.
THRESHOLD
1: Threshold. The watchdog time-out value (TC) can be changed only after the counter is below the value of WDWARNINT and WDWINDOW.
Trait Implementations§
source§impl Clone for WDPROTECT_A
impl Clone for WDPROTECT_A
source§fn clone(&self) -> WDPROTECT_A
fn clone(&self) -> WDPROTECT_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 WDPROTECT_A
impl Debug for WDPROTECT_A
source§impl From<WDPROTECT_A> for bool
impl From<WDPROTECT_A> for bool
source§fn from(variant: WDPROTECT_A) -> Self
fn from(variant: WDPROTECT_A) -> Self
Converts to this type from the input type.