#[repr(u8)]pub enum Noiseshape {
DISABLE = 0,
AUDIO = 1,
ACCURACY = 2,
_RESERVED_3 = 3,
}
Variants§
DISABLE = 0
Disable noiseshaping. Oversampling based on accumulate and average.
AUDIO = 1
Noiseshaping and decimating. Larger passband. Provides a 50kS/s cut off frequency, 8x the oversampling ratio. See design description for more information
ACCURACY = 2
Noiseshaping and decimating. Smaller passband. Recommended resolution setting is 14 bits. Provides a 5kS/s cut off frequency, 32x the oversampling ratio. See design description for more information
_RESERVED_3 = 3
Implementations§
Source§impl Noiseshape
impl Noiseshape
Trait Implementations§
Source§impl Clone for Noiseshape
impl Clone for Noiseshape
Source§fn clone(&self) -> Noiseshape
fn clone(&self) -> Noiseshape
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 From<Noiseshape> for u8
impl From<Noiseshape> for u8
Source§fn from(val: Noiseshape) -> u8
fn from(val: Noiseshape) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Noiseshape
impl From<u8> for Noiseshape
Source§fn from(val: u8) -> Noiseshape
fn from(val: u8) -> Noiseshape
Converts to this type from the input type.
Source§impl Ord for Noiseshape
impl Ord for Noiseshape
Source§fn cmp(&self, other: &Noiseshape) -> Ordering
fn cmp(&self, other: &Noiseshape) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Noiseshape
impl PartialEq for Noiseshape
Source§impl PartialOrd for Noiseshape
impl PartialOrd for Noiseshape
impl Copy for Noiseshape
impl Eq for Noiseshape
impl StructuralPartialEq for Noiseshape
Auto Trait Implementations§
impl Freeze for Noiseshape
impl RefUnwindSafe for Noiseshape
impl Send for Noiseshape
impl Sync for Noiseshape
impl Unpin for Noiseshape
impl UnwindSafe for Noiseshape
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§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
)