Enum d1_pac::audio_codec::ac_dac_dg::DAC_PATTERN_SELECT_A
source · #[repr(u8)]pub enum DAC_PATTERN_SELECT_A {
NORMAL = 0,
SIN6 = 1,
SIN60 = 2,
SILENT = 3,
}
Expand description
DAC Pattern Select
Value on reset: 0
Variants§
NORMAL = 0
0: Normal (Audio sample from TX FIFO)
SIN6 = 1
1: -6 dB Sin wave
SIN60 = 2
2: -60 dB Sin wave
SILENT = 3
3: Silent wave
Trait Implementations§
source§impl Clone for DAC_PATTERN_SELECT_A
impl Clone for DAC_PATTERN_SELECT_A
source§fn clone(&self) -> DAC_PATTERN_SELECT_A
fn clone(&self) -> DAC_PATTERN_SELECT_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 DAC_PATTERN_SELECT_A
impl Debug for DAC_PATTERN_SELECT_A
source§impl From<DAC_PATTERN_SELECT_A> for u8
impl From<DAC_PATTERN_SELECT_A> for u8
source§fn from(variant: DAC_PATTERN_SELECT_A) -> Self
fn from(variant: DAC_PATTERN_SELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for DAC_PATTERN_SELECT_A
impl PartialEq for DAC_PATTERN_SELECT_A
impl Copy for DAC_PATTERN_SELECT_A
impl Eq for DAC_PATTERN_SELECT_A
impl StructuralPartialEq for DAC_PATTERN_SELECT_A
Auto Trait Implementations§
impl Freeze for DAC_PATTERN_SELECT_A
impl RefUnwindSafe for DAC_PATTERN_SELECT_A
impl Send for DAC_PATTERN_SELECT_A
impl Sync for DAC_PATTERN_SELECT_A
impl Unpin for DAC_PATTERN_SELECT_A
impl UnwindSafe for DAC_PATTERN_SELECT_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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)