Enum atsamd21g18a::dmac::chctrlb::CMDR [−][src]
pub enum CMDR { NOACT, SUSPEND, RESUME, _Reserved(u8), }
Possible values of the field CMD
Variants
NOACT
No action
SUSPEND
Channel suspend operation
RESUME
Channel resume operation
_Reserved(u8)
Reserved
Methods
impl CMDR
[src]
impl CMDR
pub fn bits(&self) -> u8
[src]
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_noact(&self) -> bool
[src]
pub fn is_noact(&self) -> bool
Checks if the value of the field is NOACT
pub fn is_suspend(&self) -> bool
[src]
pub fn is_suspend(&self) -> bool
Checks if the value of the field is SUSPEND
pub fn is_resume(&self) -> bool
[src]
pub fn is_resume(&self) -> bool
Checks if the value of the field is RESUME
Trait Implementations
impl Clone for CMDR
[src]
impl Clone for CMDR
fn clone(&self) -> CMDR
[src]
fn clone(&self) -> CMDR
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 CMDR
[src]
impl Copy for CMDR
impl Debug for CMDR
[src]
impl Debug for CMDR
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 CMDR
[src]
impl PartialEq for CMDR