Enum atsamd21e18a::tcc0::evctrl::EVACT1R [−][src]
pub enum EVACT1R { OFF, RETRIGGER, DIR, STOP, DEC, PPW, PWP, FAULT, }
Possible values of the field EVACT1
Variants
OFF
Event action disabled
RETRIGGER
Re-trigger counter on event
DIR
Direction control
STOP
Stop counter on event
DEC
Decrement counter on event
PPW
Period capture value in CC0 register, pulse width capture value in CC1 register
PWP
Period capture value in CC1 register, pulse width capture value in CC0 register
FAULT
Non-recoverable fault
Methods
impl EVACT1R
[src]
impl EVACT1R
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_dir(&self) -> bool
[src]
pub fn is_dir(&self) -> bool
Checks if the value of the field is DIR
pub fn is_stop(&self) -> bool
[src]
pub fn is_stop(&self) -> bool
Checks if the value of the field is STOP
pub fn is_dec(&self) -> bool
[src]
pub fn is_dec(&self) -> bool
Checks if the value of the field is DEC
pub fn is_ppw(&self) -> bool
[src]
pub fn is_ppw(&self) -> bool
Checks if the value of the field is PPW
pub fn is_pwp(&self) -> bool
[src]
pub fn is_pwp(&self) -> bool
Checks if the value of the field is PWP
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 EVACT1R
[src]
impl Clone for EVACT1R
fn clone(&self) -> EVACT1R
[src]
fn clone(&self) -> EVACT1R
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)
Performs copy-assignment from source
. Read more
impl Copy for EVACT1R
[src]
impl Copy for EVACT1R
impl Debug for EVACT1R
[src]
impl Debug for EVACT1R
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 EVACT1R
[src]
impl PartialEq for EVACT1R