Enum d1_pac::audio_codec::ramp::RAMP_STEP_A
source · #[repr(u8)]pub enum RAMP_STEP_A {
S20 = 0,
S30 = 1,
S40 = 2,
S60 = 3,
S80 = 4,
S120 = 5,
S160 = 6,
S240 = 7,
}
Expand description
RK Frequency Gear, Control Ramp Rise/Fall Total Time
Ramp Rise/Fall Total Time = (Ramp Step/Ramp Clk Freq)*4096
Value on reset: 0
Variants§
S20 = 0
0: 0
S30 = 1
1: 1
S40 = 2
2: 10
S60 = 3
3: 11
S80 = 4
4: 100
S120 = 5
5: 101
S160 = 6
6: 110
S240 = 7
7: 111
Trait Implementations§
source§impl Clone for RAMP_STEP_A
impl Clone for RAMP_STEP_A
source§fn clone(&self) -> RAMP_STEP_A
fn clone(&self) -> RAMP_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_STEP_A
impl Debug for RAMP_STEP_A
source§impl From<RAMP_STEP_A> for u8
impl From<RAMP_STEP_A> for u8
source§fn from(variant: RAMP_STEP_A) -> Self
fn from(variant: RAMP_STEP_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for RAMP_STEP_A
impl PartialEq for RAMP_STEP_A
impl Copy for RAMP_STEP_A
impl Eq for RAMP_STEP_A
impl StructuralPartialEq for RAMP_STEP_A
Auto Trait Implementations§
impl Freeze for RAMP_STEP_A
impl RefUnwindSafe for RAMP_STEP_A
impl Send for RAMP_STEP_A
impl Sync for RAMP_STEP_A
impl Unpin for RAMP_STEP_A
impl UnwindSafe for RAMP_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
)