Enum atsamd21e18a::tcc0::ctrlbset::IDXCMDR [−][src]
pub enum IDXCMDR { DISABLE, SET, CLEAR, HOLD, }
Possible values of the field IDXCMD
Variants
DISABLE
Command disabled: Index toggles between cycles A and B
SET
Set index: cycle B will be forced in the next cycle
CLEAR
Clear index: cycle A will be forced in the next cycle
HOLD
Hold index: the next cycle will be the same as the current cycle
Methods
impl IDXCMDR
[src]
impl IDXCMDR
pub fn bits(&self) -> u8
[src]
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_disable(&self) -> bool
[src]
pub fn is_disable(&self) -> bool
Checks if the value of the field is DISABLE
pub fn is_set(&self) -> bool
[src]
pub fn is_set(&self) -> bool
Checks if the value of the field is SET
pub fn is_clear(&self) -> bool
[src]
pub fn is_clear(&self) -> bool
Checks if the value of the field is CLEAR
pub fn is_hold(&self) -> bool
[src]
pub fn is_hold(&self) -> bool
Checks if the value of the field is HOLD
Trait Implementations
impl Clone for IDXCMDR
[src]
impl Clone for IDXCMDR
fn clone(&self) -> IDXCMDR
[src]
fn clone(&self) -> IDXCMDR
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 IDXCMDR
[src]
impl Copy for IDXCMDR
impl Debug for IDXCMDR
[src]
impl Debug for IDXCMDR
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 IDXCMDR
[src]
impl PartialEq for IDXCMDR