pub struct RawCapture {
pub decimation_log2: u8,
pub samples: Vec<Vec<i16>>,
}Expand description
原始采集缓冲的一次采集:12 路各 1024 个连续采样。
Fields§
§decimation_log2: u8抽取指数:采样间隔为 2^n 个采样周期(等间隔抽取,不滤波)。
samples: Vec<Vec<i16>>samples[通道序号][i],ADC 码。
Implementations§
Trait Implementations§
Source§impl Clone for RawCapture
impl Clone for RawCapture
Source§fn clone(&self) -> RawCapture
fn clone(&self) -> RawCapture
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 moreAuto Trait Implementations§
impl Freeze for RawCapture
impl RefUnwindSafe for RawCapture
impl Send for RawCapture
impl Sync for RawCapture
impl Unpin for RawCapture
impl UnwindSafe for RawCapture
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