Enum atsamd21e18a::tcc0::ctrla::PRESCSYNCR [−][src]
pub enum PRESCSYNCR { GCLK, PRESC, RESYNC, _Reserved(u8), }
Possible values of the field PRESCSYNC
Variants
GCLK
Reload or reset counter on next GCLK
PRESC
Reload or reset counter on next prescaler clock
RESYNC
Reload or reset counter on next GCLK and reset prescaler counter
_Reserved(u8)
Reserved
Methods
impl PRESCSYNCR
[src]
impl PRESCSYNCR
pub fn bits(&self) -> u8
[src]
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_gclk(&self) -> bool
[src]
pub fn is_gclk(&self) -> bool
Checks if the value of the field is GCLK
pub fn is_presc(&self) -> bool
[src]
pub fn is_presc(&self) -> bool
Checks if the value of the field is PRESC
pub fn is_resync(&self) -> bool
[src]
pub fn is_resync(&self) -> bool
Checks if the value of the field is RESYNC
Trait Implementations
impl Clone for PRESCSYNCR
[src]
impl Clone for PRESCSYNCR
fn clone(&self) -> PRESCSYNCR
[src]
fn clone(&self) -> PRESCSYNCR
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 PRESCSYNCR
[src]
impl Copy for PRESCSYNCR
impl Debug for PRESCSYNCR
[src]
impl Debug for PRESCSYNCR
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 PRESCSYNCR
[src]
impl PartialEq for PRESCSYNCR
fn eq(&self, other: &PRESCSYNCR) -> bool
[src]
fn eq(&self, other: &PRESCSYNCR) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PRESCSYNCR) -> bool
[src]
fn ne(&self, other: &PRESCSYNCR) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for PRESCSYNCR
impl Send for PRESCSYNCR
impl Sync for PRESCSYNCR
impl Sync for PRESCSYNCR