pub struct StatOperPtrCommand;
Expand description
20.1.7 :PTRansition <NRf> | <non-decimal numeric>
STATus:OPERation:PTRansition Sets the positive transition filter. Setting a bit in the positive transition filter shall cause a 0 to transition in the corresponding bit of the associated condition register to cause a 1 to be written in the associated bit of the corresponding event register. 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 StatOperPtrCommand
impl Command for StatOperPtrCommand
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 StatOperPtrCommand
impl Send for StatOperPtrCommand
impl Sync for StatOperPtrCommand
impl Unpin for StatOperPtrCommand
impl UnwindSafe for StatOperPtrCommand
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