#[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§
Source§impl Noiseshape
impl Noiseshape
Sourcepub const fn noiseshape(&self) -> Noiseshape
pub const fn noiseshape(&self) -> Noiseshape
Noise shaping configuration
Sourcepub const fn set_noiseshape(&mut self, val: Noiseshape)
pub const fn set_noiseshape(&mut self, val: Noiseshape)
Noise shaping configuration
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 Debug for Noiseshape
impl Debug for Noiseshape
Source§impl Default for Noiseshape
impl Default for Noiseshape
Source§fn default() -> Noiseshape
fn default() -> Noiseshape
Returns the “default value” for a type. Read more
Source§impl PartialEq for Noiseshape
impl PartialEq 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)