Enum atsamd21e18a::tcc0::wave::WAVEGENR [−][src]
pub enum WAVEGENR { NFRQ, MFRQ, NPWM, DSCRITICAL, DSBOTTOM, DSBOTH, DSTOP, _Reserved(u8), }
Possible values of the field WAVEGEN
Variants
NFRQ
Normal frequency
MFRQ
Match frequency
NPWM
Normal PWM
DSCRITICAL
Dual-slope critical
DSBOTTOM
Dual-slope with interrupt/event condition when COUNT reaches ZERO
DSBOTH
Dual-slope with interrupt/event condition when COUNT reaches ZERO or TOP
DSTOP
Dual-slope with interrupt/event condition when COUNT reaches TOP
_Reserved(u8)
Reserved
Methods
impl WAVEGENR
[src]
impl WAVEGENR
pub fn bits(&self) -> u8
[src]
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_nfrq(&self) -> bool
[src]
pub fn is_nfrq(&self) -> bool
Checks if the value of the field is NFRQ
pub fn is_mfrq(&self) -> bool
[src]
pub fn is_mfrq(&self) -> bool
Checks if the value of the field is MFRQ
pub fn is_npwm(&self) -> bool
[src]
pub fn is_npwm(&self) -> bool
Checks if the value of the field is NPWM
pub fn is_dscritical(&self) -> bool
[src]
pub fn is_dscritical(&self) -> bool
Checks if the value of the field is DSCRITICAL
pub fn is_dsbottom(&self) -> bool
[src]
pub fn is_dsbottom(&self) -> bool
Checks if the value of the field is DSBOTTOM
pub fn is_dsboth(&self) -> bool
[src]
pub fn is_dsboth(&self) -> bool
Checks if the value of the field is DSBOTH
pub fn is_dstop(&self) -> bool
[src]
pub fn is_dstop(&self) -> bool
Checks if the value of the field is DSTOP
Trait Implementations
impl Clone for WAVEGENR
[src]
impl Clone for WAVEGENR
fn clone(&self) -> WAVEGENR
[src]
fn clone(&self) -> WAVEGENR
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)
Performs copy-assignment from source
. Read more
impl Copy for WAVEGENR
[src]
impl Copy for WAVEGENR
impl Debug for WAVEGENR
[src]
impl Debug for WAVEGENR
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 WAVEGENR
[src]
impl PartialEq for WAVEGENR