Enum mk20d7::system_control::icsr::RETTOBASER
source · pub enum RETTOBASER {
_0,
_1,
}
Expand description
Possible values of the field RETTOBASE
Variants§
_0
there are preempted active exceptions to execute
_1
there are no active exceptions, or the currently-executing exception is the only active exception
Implementations§
source§impl RETTOBASER
impl RETTOBASER
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 RETTOBASER
impl Clone for RETTOBASER
source§fn clone(&self) -> RETTOBASER
fn clone(&self) -> RETTOBASER
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 RETTOBASER
impl Debug for RETTOBASER
source§impl PartialEq<RETTOBASER> for RETTOBASER
impl PartialEq<RETTOBASER> for RETTOBASER
source§fn eq(&self, other: &RETTOBASER) -> bool
fn eq(&self, other: &RETTOBASER) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.