Enum atsame54n::tcc0::wave::WAVEGENSELECT_A
source · #[repr(u8)]pub enum WAVEGENSELECT_A {
NFRQ = 0,
MFRQ = 1,
NPWM = 2,
DSCRITICAL = 4,
DSBOTTOM = 5,
DSBOTH = 6,
DSTOP = 7,
}
Expand description
Waveform Generation
Value on reset: 0
Variants§
NFRQ = 0
0: Normal frequency
MFRQ = 1
1: Match frequency
NPWM = 2
2: Normal PWM
DSCRITICAL = 4
4: Dual-slope critical
DSBOTTOM = 5
5: Dual-slope with interrupt/event condition when COUNT reaches ZERO
DSBOTH = 6
6: Dual-slope with interrupt/event condition when COUNT reaches ZERO or TOP
DSTOP = 7
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.
source§impl PartialEq for WAVEGENSELECT_A
impl PartialEq for WAVEGENSELECT_A
source§fn eq(&self, other: &WAVEGENSELECT_A) -> bool
fn eq(&self, other: &WAVEGENSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for WAVEGENSELECT_A
impl Eq for WAVEGENSELECT_A
impl StructuralPartialEq for WAVEGENSELECT_A
Auto Trait Implementations§
impl Freeze for WAVEGENSELECT_A
impl RefUnwindSafe for WAVEGENSELECT_A
impl Send for WAVEGENSELECT_A
impl Sync for WAVEGENSELECT_A
impl Unpin for WAVEGENSELECT_A
impl UnwindSafe for WAVEGENSELECT_A
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more