#[repr(u8)]pub enum Wavegenbselect {
Nfrq = 0,
Mfrq = 1,
Npwm = 2,
Dscritical = 4,
Dsbottom = 5,
Dsboth = 6,
Dstop = 7,
}
Expand description
Waveform Generation Buffer
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 Wavegenbselect
impl Clone for Wavegenbselect
Source§fn clone(&self) -> Wavegenbselect
fn clone(&self) -> Wavegenbselect
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 Wavegenbselect
impl Debug for Wavegenbselect
Source§impl From<Wavegenbselect> for u8
impl From<Wavegenbselect> for u8
Source§fn from(variant: Wavegenbselect) -> Self
fn from(variant: Wavegenbselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Wavegenbselect
impl PartialEq for Wavegenbselect
impl Copy for Wavegenbselect
impl Eq for Wavegenbselect
impl IsEnum for Wavegenbselect
impl StructuralPartialEq for Wavegenbselect
Auto Trait Implementations§
impl Freeze for Wavegenbselect
impl RefUnwindSafe for Wavegenbselect
impl Send for Wavegenbselect
impl Sync for Wavegenbselect
impl Unpin for Wavegenbselect
impl UnwindSafe for Wavegenbselect
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