sftool_lib/common/
reset.rs1use crate::Result;
2use crate::common::ram_command::{Command, RamCommand};
3
4pub struct ResetOps;
6
7impl ResetOps {
8 pub fn soft_reset<T>(tool: &mut T) -> Result<()>
10 where
11 T: RamCommand,
12 {
13 tool.command(Command::SoftReset)?;
14 Ok(())
15 }
16}