Enum atsamd21e18a::tcc0::evctrl::CNTSELR [−][src]
pub enum CNTSELR { START, END, BETWEEN, BOUNDARY, }
Possible values of the field CNTSEL
Variants
START
An interrupt/event is generated when a new counter cycle starts
END
An interrupt/event is generated when a counter cycle ends
BETWEEN
An interrupt/event is generated when a counter cycle ends, except for the first and last cycles
BOUNDARY
An interrupt/event is generated when a new counter cycle starts or a counter cycle ends
Methods
impl CNTSELR
[src]
impl CNTSELR
pub fn bits(&self) -> u8
[src]
pub fn bits(&self) -> u8
Value of the field as raw bits
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_end(&self) -> bool
[src]
pub fn is_end(&self) -> bool
Checks if the value of the field is END
pub fn is_between(&self) -> bool
[src]
pub fn is_between(&self) -> bool
Checks if the value of the field is BETWEEN
pub fn is_boundary(&self) -> bool
[src]
pub fn is_boundary(&self) -> bool
Checks if the value of the field is BOUNDARY
Trait Implementations
impl Clone for CNTSELR
[src]
impl Clone for CNTSELR
fn clone(&self) -> CNTSELR
[src]
fn clone(&self) -> CNTSELR
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 CNTSELR
[src]
impl Copy for CNTSELR
impl Debug for CNTSELR
[src]
impl Debug for CNTSELR
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 CNTSELR
[src]
impl PartialEq for CNTSELR