Enum atsamd21e18a::tcc0::fctrlb::SRCR [−][src]
pub enum SRCR { DISABLE, ENABLE, INVERT, ALTFAULT, }
Possible values of the field SRC
Variants
DISABLE
Fault input disabled
ENABLE
MCEx (x=0,1) event input
INVERT
Inverted MCEx (x=0,1) event input
ALTFAULT
Alternate fault (A or B) state at the end of the previous period
Methods
impl SRCR
[src]
impl SRCR
pub fn bits(&self) -> u8
[src]
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_disable(&self) -> bool
[src]
pub fn is_disable(&self) -> bool
Checks if the value of the field is DISABLE
pub fn is_enable(&self) -> bool
[src]
pub fn is_enable(&self) -> bool
Checks if the value of the field is ENABLE
pub fn is_invert(&self) -> bool
[src]
pub fn is_invert(&self) -> bool
Checks if the value of the field is INVERT
pub fn is_altfault(&self) -> bool
[src]
pub fn is_altfault(&self) -> bool
Checks if the value of the field is ALTFAULT
Trait Implementations
impl Clone for SRCR
[src]
impl Clone for SRCR
fn clone(&self) -> SRCR
[src]
fn clone(&self) -> SRCR
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for SRCR
[src]
impl Copy for SRCR
impl Debug for SRCR
[src]
impl Debug for SRCR
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for SRCR
[src]
impl PartialEq for SRCR