Enum atsamd21e18a::tcc0::evctrl::EVACT0R [−][src]
pub enum EVACT0R { OFF, RETRIGGER, COUNTEV, START, INC, COUNT, FAULT, _Reserved(u8), }
Possible values of the field EVACT0
Variants
OFF
Event action disabled
RETRIGGER
Start, restart or re-trigger counter on event
COUNTEV
Count on event
START
Start counter on event
INC
Increment counter on event
COUNT
Count on active state of asynchronous event
FAULT
Non-recoverable fault
_Reserved(u8)
Reserved
Methods
impl EVACT0R
[src]
impl EVACT0R
pub fn bits(&self) -> u8
[src]
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_off(&self) -> bool
[src]
pub fn is_off(&self) -> bool
Checks if the value of the field is OFF
pub fn is_retrigger(&self) -> bool
[src]
pub fn is_retrigger(&self) -> bool
Checks if the value of the field is RETRIGGER
pub fn is_countev(&self) -> bool
[src]
pub fn is_countev(&self) -> bool
Checks if the value of the field is COUNTEV
pub fn is_start(&self) -> bool
[src]
pub fn is_start(&self) -> bool
Checks if the value of the field is START
pub fn is_inc(&self) -> bool
[src]
pub fn is_inc(&self) -> bool
Checks if the value of the field is INC
pub fn is_count(&self) -> bool
[src]
pub fn is_count(&self) -> bool
Checks if the value of the field is COUNT
pub fn is_fault(&self) -> bool
[src]
pub fn is_fault(&self) -> bool
Checks if the value of the field is FAULT
Trait Implementations
impl Clone for EVACT0R
[src]
impl Clone for EVACT0R
fn clone(&self) -> EVACT0R
[src]
fn clone(&self) -> EVACT0R
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 EVACT0R
[src]
impl Copy for EVACT0R
impl Debug for EVACT0R
[src]
impl Debug for EVACT0R
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 EVACT0R
[src]
impl PartialEq for EVACT0R