#[repr(u8)]pub enum ClockMultiplier {
Times1_0 = 0,
Times1_5 = 1,
Times2_0 = 2,
Times2_5 = 3,
Times3_0 = 4,
Times3_5 = 5,
Times4_0 = 6,
Times4_5 = 7,
}Expand description
Specifies the clock multiplier used by the VS1003
Variants§
Times1_0 = 0
Use base input clock, no multiplication
Times1_5 = 1
1.5x
Times2_0 = 2
2.0x
Times2_5 = 3
2.5x
Times3_0 = 4
3.0x
Times3_5 = 5
3.5x
Times4_0 = 6
4.0x
Times4_5 = 7
4.5x
Note: with the default clock of 12.228MHz this will overclock the device
Trait Implementations§
Source§impl Clone for ClockMultiplier
impl Clone for ClockMultiplier
Source§fn clone(&self) -> ClockMultiplier
fn clone(&self) -> ClockMultiplier
Returns a duplicate 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 ClockMultiplier
impl Debug for ClockMultiplier
Source§impl Hash for ClockMultiplier
impl Hash for ClockMultiplier
Source§impl PartialEq for ClockMultiplier
impl PartialEq for ClockMultiplier
impl Copy for ClockMultiplier
impl Eq for ClockMultiplier
impl StructuralPartialEq for ClockMultiplier
Auto Trait Implementations§
impl Freeze for ClockMultiplier
impl RefUnwindSafe for ClockMultiplier
impl Send for ClockMultiplier
impl Sync for ClockMultiplier
impl Unpin for ClockMultiplier
impl UnwindSafe for ClockMultiplier
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