pub struct Group {
pub sources: u8,
pub channels: ChannelMask,
pub timestamps: bool,
}Expand description
一组的设置:来源、数据通道、是否带时间字。在 AcqConfig::group 的闭包里用链式方法填写。
Fields§
§sources: u8来源掩码:bit0..3 = 边沿检测器 0..3,bit4 = 内部发生器。
channels: ChannelMask输出的数据通道。
timestamps: bool每个点是否带时间字(时刻、来源编号、无效标志)。每点多占 4 字节。
Implementations§
Trait Implementations§
impl Copy for Group
impl Eq for Group
impl StructuralPartialEq for Group
Auto Trait Implementations§
impl Freeze for Group
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnwindSafe for Group
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