pub struct HighPassFilter { /* private fields */ }Expand description
PDM RX High Pass Filter
Implementations§
Source§impl HighPassFilter
impl HighPassFilter
Sourcepub fn cut_off_freq(cut_off_freq: f32) -> Self
pub fn cut_off_freq(cut_off_freq: f32) -> Self
Set the Filter cut off Frequency.
Note: Range between 23.3Hz ~ 185Hz
Sourcepub fn amplify_number(self, amplify_num: u32) -> Self
pub fn amplify_number(self, amplify_num: u32) -> Self
Set the amplification number of the final conversion result
Range: 1-15
Trait Implementations§
Source§impl Clone for HighPassFilter
impl Clone for HighPassFilter
Source§fn clone(&self) -> HighPassFilter
fn clone(&self) -> HighPassFilter
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HighPassFilter
impl Debug for HighPassFilter
Source§impl PartialEq for HighPassFilter
impl PartialEq for HighPassFilter
impl Copy for HighPassFilter
impl StructuralPartialEq for HighPassFilter
Auto Trait Implementations§
impl Freeze for HighPassFilter
impl RefUnwindSafe for HighPassFilter
impl Send for HighPassFilter
impl Sync for HighPassFilter
impl Unpin for HighPassFilter
impl UnsafeUnpin for HighPassFilter
impl UnwindSafe for HighPassFilter
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)