Enum d1_pac::audio_codec::ramp::RAMP_HOLD_STEP_A
source · #[repr(u8)]pub enum RAMP_HOLD_STEP_A {
S9600 = 0,
S19200 = 1,
S38400 = 2,
S76800 = 3,
S96000 = 4,
S115200 = 5,
S153600 = 6,
S192000 = 7,
}
Expand description
Ramp Hold Step
Ramp Hold Time = Ramp Hold Step/Ramp Clk Freq
Value on reset: 0
Variants§
S9600 = 0
0: 0
S19200 = 1
1: 1
S38400 = 2
2: 10
S76800 = 3
3: 11
S96000 = 4
4: 100
S115200 = 5
5: 101
S153600 = 6
6: 110
S192000 = 7
7: 111
Trait Implementations§
source§impl Clone for RAMP_HOLD_STEP_A
impl Clone for RAMP_HOLD_STEP_A
source§fn clone(&self) -> RAMP_HOLD_STEP_A
fn clone(&self) -> RAMP_HOLD_STEP_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 RAMP_HOLD_STEP_A
impl Debug for RAMP_HOLD_STEP_A
source§impl From<RAMP_HOLD_STEP_A> for u8
impl From<RAMP_HOLD_STEP_A> for u8
source§fn from(variant: RAMP_HOLD_STEP_A) -> Self
fn from(variant: RAMP_HOLD_STEP_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for RAMP_HOLD_STEP_A
impl PartialEq for RAMP_HOLD_STEP_A
impl Copy for RAMP_HOLD_STEP_A
impl Eq for RAMP_HOLD_STEP_A
impl StructuralPartialEq for RAMP_HOLD_STEP_A
Auto Trait Implementations§
impl Freeze for RAMP_HOLD_STEP_A
impl RefUnwindSafe for RAMP_HOLD_STEP_A
impl Send for RAMP_HOLD_STEP_A
impl Sync for RAMP_HOLD_STEP_A
impl Unpin for RAMP_HOLD_STEP_A
impl UnwindSafe for RAMP_HOLD_STEP_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
)