pub struct StatOperEnabCommand;
Expand description
20.1.3 :ENABle <NRf> | <non-decimal numeric>
STATus:OPERation:ENABle
Sets the enable mask which allows true conditions in the event register to be reported in the summary bit. If a bit is 1 in the enable register and its associated event bit transitions to true, a positive transition will occur in the associated summary bit. The command accepts parameter values of either format in the range 0 through 65535 (decimal) without error.The query response format is
unless changed by the :FORMat:SREGister command. Note that 32767 is the maximum value returned as the most-significant bit of the register cannot be set true.
Trait Implementations
sourceimpl Command for StatOperEnabCommand
impl Command for StatOperEnabCommand
sourcefn event(
&self,
context: &mut Context<'_>,
args: &mut Tokenizer<'_>
) -> Result<()>
fn event(
&self,
context: &mut Context<'_>,
args: &mut Tokenizer<'_>
) -> Result<()>
Called when the event form is used
sourcefn query(
&self,
context: &mut Context<'_>,
_args: &mut Tokenizer<'_>,
response: &mut ResponseUnit<'_>
) -> Result<()>
fn query(
&self,
context: &mut Context<'_>,
_args: &mut Tokenizer<'_>,
response: &mut ResponseUnit<'_>
) -> Result<()>
Called when the query form is used
fn help(&self, _response: &mut ResponseUnit<'_>)
fn meta(&self) -> CommandTypeMeta
Auto Trait Implementations
impl RefUnwindSafe for StatOperEnabCommand
impl Send for StatOperEnabCommand
impl Sync for StatOperEnabCommand
impl Unpin for StatOperEnabCommand
impl UnwindSafe for StatOperEnabCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more