pub struct FilterSetting {
pub fir_gear: u8,
pub average_log2: u8,
}Expand description
采集路径滤波器的档位(AT+FILT)。作用于旁路统计和原始采集缓冲,不影响 CONV 数据通路。
Fields§
§fir_gear: u8FIR 档 0..=7:0 = 旁路;1 / 2 / 3 = 低通,−3 dB 约 17 / 7.6 / 5.1 MHz;4..=7 = 用户系数。
average_log2: u8滑动平均长度的 log2,0..=6(1..64 点)。
Trait Implementations§
Source§impl Clone for FilterSetting
impl Clone for FilterSetting
Source§fn clone(&self) -> FilterSetting
fn clone(&self) -> FilterSetting
Returns a duplicate 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 FilterSetting
impl Debug for FilterSetting
Source§impl PartialEq for FilterSetting
impl PartialEq for FilterSetting
impl Copy for FilterSetting
impl Eq for FilterSetting
impl StructuralPartialEq for FilterSetting
Auto Trait Implementations§
impl Freeze for FilterSetting
impl RefUnwindSafe for FilterSetting
impl Send for FilterSetting
impl Sync for FilterSetting
impl Unpin for FilterSetting
impl UnwindSafe for FilterSetting
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