Enum atsaml21e16b::tcc0::wave::WAVEGENSELECT_A
source · #[repr(u8)]
pub enum WAVEGENSELECT_A {
NFRQ,
MFRQ,
NPWM,
DSCRITICAL,
DSBOTTOM,
DSBOTH,
DSTOP,
}
Expand description
Waveform Generation
Value on reset: 0
Variants§
NFRQ
0: Normal frequency
MFRQ
1: Match frequency
NPWM
2: Normal PWM
DSCRITICAL
4: Dual-slope critical
DSBOTTOM
5: Dual-slope with interrupt/event condition when COUNT reaches ZERO
DSBOTH
6: Dual-slope with interrupt/event condition when COUNT reaches ZERO or TOP
DSTOP
7: Dual-slope with interrupt/event condition when COUNT reaches TOP
Trait Implementations§
source§impl Clone for WAVEGENSELECT_A
impl Clone for WAVEGENSELECT_A
source§fn clone(&self) -> WAVEGENSELECT_A
fn clone(&self) -> WAVEGENSELECT_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WAVEGENSELECT_A
impl Debug for WAVEGENSELECT_A
source§impl From<WAVEGENSELECT_A> for u8
impl From<WAVEGENSELECT_A> for u8
source§fn from(variant: WAVEGENSELECT_A) -> Self
fn from(variant: WAVEGENSELECT_A) -> Self
Converts to this type from the input type.