Enum mk20d7::wdog::stctrlh::ALLOWUPDATER
source · pub enum ALLOWUPDATER {
_0,
_1,
}
Expand description
Possible values of the field ALLOWUPDATE
Variants§
_0
No further updates allowed to WDOG write once registers.
_1
WDOG write once registers can be unlocked for updating.
Implementations§
source§impl ALLOWUPDATER
impl ALLOWUPDATER
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
Trait Implementations§
source§impl Clone for ALLOWUPDATER
impl Clone for ALLOWUPDATER
source§fn clone(&self) -> ALLOWUPDATER
fn clone(&self) -> ALLOWUPDATER
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 ALLOWUPDATER
impl Debug for ALLOWUPDATER
source§impl PartialEq<ALLOWUPDATER> for ALLOWUPDATER
impl PartialEq<ALLOWUPDATER> for ALLOWUPDATER
source§fn eq(&self, other: &ALLOWUPDATER) -> bool
fn eq(&self, other: &ALLOWUPDATER) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.