Enum atsam4lc4c::tc0::cmr_waveform::ACPCR
[−]
[src]
pub enum ACPCR { NONE, SET, CLEAR, TOGGLE, }
Possible values of the field ACPC
Variants
NONE
none
SET
set
CLEAR
clear
TOGGLE
toggle
Methods
impl ACPCR
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_none(&self) -> bool
[src]
Checks if the value of the field is NONE
pub fn is_set(&self) -> bool
[src]
Checks if the value of the field is SET
pub fn is_clear(&self) -> bool
[src]
Checks if the value of the field is CLEAR
pub fn is_toggle(&self) -> bool
[src]
Checks if the value of the field is TOGGLE
Trait Implementations
impl Clone for ACPCR
[src]
fn clone(&self) -> ACPCR
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for ACPCR
[src]
impl Debug for ACPCR
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more