Enum mk20d7::ftm2::exttrig::INITTRIGENR
source · pub enum INITTRIGENR {
_0,
_1,
}
Expand description
Possible values of the field INITTRIGEN
Variants§
_0
The generation of initialization trigger is disabled.
_1
The generation of initialization trigger is enabled.
Implementations§
source§impl INITTRIGENR
impl INITTRIGENR
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 INITTRIGENR
impl Clone for INITTRIGENR
source§fn clone(&self) -> INITTRIGENR
fn clone(&self) -> INITTRIGENR
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 INITTRIGENR
impl Debug for INITTRIGENR
source§impl PartialEq<INITTRIGENR> for INITTRIGENR
impl PartialEq<INITTRIGENR> for INITTRIGENR
source§fn eq(&self, other: &INITTRIGENR) -> bool
fn eq(&self, other: &INITTRIGENR) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.