Enum mk20d7::ftm2::synconf::HWTRIGMODER
source · pub enum HWTRIGMODER {
_0,
_1,
}
Expand description
Possible values of the field HWTRIGMODE
Variants§
_0
FTM clears the TRIGj bit when the hardware trigger j is detected.
_1
FTM does not clear the TRIGj bit when the hardware trigger j is detected.
Implementations§
source§impl HWTRIGMODER
impl HWTRIGMODER
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 HWTRIGMODER
impl Clone for HWTRIGMODER
source§fn clone(&self) -> HWTRIGMODER
fn clone(&self) -> HWTRIGMODER
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 HWTRIGMODER
impl Debug for HWTRIGMODER
source§impl PartialEq<HWTRIGMODER> for HWTRIGMODER
impl PartialEq<HWTRIGMODER> for HWTRIGMODER
source§fn eq(&self, other: &HWTRIGMODER) -> bool
fn eq(&self, other: &HWTRIGMODER) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.