Struct Noiseshape
pub struct Noiseshape(/* private fields */);Implementations§
§impl Noiseshape
impl Noiseshape
pub const Disable: Noiseshape
pub const Disable: Noiseshape
Disable noiseshaping. Configurable oversampling.
pub const Audio: Noiseshape
pub const Audio: Noiseshape
Deprecated enumerator - Use enumerator NS1 for future compatibility.
pub const Ns1: Noiseshape
pub const Ns1: Noiseshape
Noiseshaping and decimating. Decimation ratio 8, maximum continuous output 125 kS/s, with resulting bandwidth at 40 kHz. Recommended resolution setting is 12 bits or higher. Takes precedence over the OVERSAMPLING register.
pub const Accuracy: Noiseshape
pub const Accuracy: Noiseshape
Deprecated enumerator - Use enumerator NS2 for future compatibility.
pub const Ns2: Noiseshape
pub const Ns2: Noiseshape
Noiseshaping and decimating. Decimation ratio 16, maximum continuous output 62.5 kS/s, with resulting bandwidth at 20 kHz. Recommended resolution setting is 14 bits. Takes precedence over the OVERSAMPLING register.
pub const Ns3: Noiseshape
pub const Ns3: Noiseshape
Noise shaping with oversampling set by the OVERSAMPLE register. Recommended resolution setting is 14 bits.
§impl Noiseshape
impl Noiseshape
pub const fn from_bits(val: u8) -> Noiseshape
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Noiseshape
impl Clone for Noiseshape
§fn clone(&self) -> Noiseshape
fn clone(&self) -> Noiseshape
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Noiseshape
impl Eq for Noiseshape
§impl From<u8> for Noiseshape
impl From<u8> for Noiseshape
§fn from(val: u8) -> Noiseshape
fn from(val: u8) -> Noiseshape
Converts to this type from the input type.
§impl Ord for Noiseshape
impl Ord for Noiseshape
§fn cmp(&self, other: &Noiseshape) -> Ordering
fn cmp(&self, other: &Noiseshape) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
§impl PartialEq for Noiseshape
impl PartialEq for Noiseshape
§impl PartialOrd for Noiseshape
impl PartialOrd for Noiseshape
impl StructuralPartialEq for Noiseshape
Auto Trait Implementations§
impl Forget for Noiseshape
impl Freeze for Noiseshape
impl Move for Noiseshape
impl RefUnwindSafe for Noiseshape
impl Send for Noiseshape
impl Sync for Noiseshape
impl Unpin for Noiseshape
impl UnsafeUnpin 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