pub struct RstCommand;
Expand description
10.32 *RST, Reset Command
The Reset command performs a device reset. The Reset command is the third level of reset in a three-level reset strategy, see 17.1.2 and Appendix D. The Reset command shall do the following:
- Except as explicitly excluded below, set the device-specific functions to a known state that is independent of the past-use history of the device. Device-specific commands may be provided to program a different reset
- state than the original factory-supplied one.
- Set the macro defined by *DDT to a device-defined state, see 10.4.
- Disable macros, see 10.8.
- Force the device into the OCIS state, see 12.5.2.
- Force the device into the OQIS state, see 12.5.3. The reset command explicitly shall NOT affect the following:
- The state of the IEEE 488.1 interface.
- The selected IEEE 488.1 address of the device.
- The Output Queue.
- Any Event Enable Register setting, including the Standard Event Status Enable Register settings, see 11.4.2.3.4 and 11.5.1.3.4.
- Any Event Register setting, including the Standard Event Status Register settings, see 11.4.2.2.4 and 11.5.1.2.4.
- The power-on-status-clear flag setting.
- Macros defined with the DeÞne Macro Contents command.
- Calibration data that affects device specifications.
- The Protected User Data query response.
- The Resource Description Transfer query response.
- The Service Request Enable Register setting, see 11.3.2.4.
- The Parallel Poll Enable Register setting, see 11.6.1.4.
- The memory register(s) associated with *SAV. The scope of the *LRN? response and *RCL (if implemented) is the same as *RST. See 10.17.3 and 10.29.3.
Trait Implementations
sourceimpl Command for RstCommand
impl Command for RstCommand
fn meta(&self) -> CommandTypeMeta
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
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
fn help(&self, _response: &mut ResponseUnit<'_>)
Auto Trait Implementations
impl RefUnwindSafe for RstCommand
impl Send for RstCommand
impl Sync for RstCommand
impl Unpin for RstCommand
impl UnwindSafe for RstCommand
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