Struct Noiseshape
#[repr(transparent)]pub struct Noiseshape(pub u32);Expand description
SAADC provides two operational noise shaping modes (one that prioritizes higher bandwith, while the other prioritizes higher accuracy) that allow trade-offs between ADC resolution, power consumption, and signal bandwidth.
Tuple Fields§
§0: u32Implementations§
§impl Noiseshape
impl Noiseshape
pub const fn noiseshape(&self) -> Noiseshape
pub const fn noiseshape(&self) -> Noiseshape
Noise shaping configuration.
pub const fn set_noiseshape(&mut self, val: Noiseshape)
pub const fn set_noiseshape(&mut self, val: Noiseshape)
Noise shaping configuration.
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 Debug for Noiseshape
impl Debug for Noiseshape
§impl Default for Noiseshape
impl Default for Noiseshape
§fn default() -> Noiseshape
fn default() -> Noiseshape
Returns the “default value” for a type. Read more
impl Eq for Noiseshape
§impl PartialEq for Noiseshape
impl PartialEq 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 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