#[repr(u8)]
pub enum WAVEGENB_A {
NFRQ,
MFRQ,
NPWM,
DSCRITICAL,
DSBOTTOM,
DSBOTH,
DSTOP,
}
Expand description
Waveform Generation Buffer
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
sourceimpl Clone for WAVEGENB_A
impl Clone for WAVEGENB_A
sourcefn clone(&self) -> WAVEGENB_A
fn clone(&self) -> WAVEGENB_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for WAVEGENB_A
impl Debug for WAVEGENB_A
sourceimpl From<WAVEGENB_A> for u8
impl From<WAVEGENB_A> for u8
sourcefn from(variant: WAVEGENB_A) -> Self
fn from(variant: WAVEGENB_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<WAVEGENB_A> for WAVEGENB_A
impl PartialEq<WAVEGENB_A> for WAVEGENB_A
sourcefn eq(&self, other: &WAVEGENB_A) -> bool
fn eq(&self, other: &WAVEGENB_A) -> bool
impl Copy for WAVEGENB_A
impl StructuralPartialEq for WAVEGENB_A
Auto Trait Implementations
impl RefUnwindSafe for WAVEGENB_A
impl Send for WAVEGENB_A
impl Sync for WAVEGENB_A
impl Unpin for WAVEGENB_A
impl UnwindSafe for WAVEGENB_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more