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