fn jump(&mut self, address: u32) -> Result<(), Error> {
        let command = CString::new(format!("G{:08X}#", address)).unwrap();
        self.bus.write(command.as_bytes()).map(|_| ())
            .map_err(|_| FdfuError::SamBaCommand(format!("jump to {:08X}", address)).into())
    }
/// Tells the SAM to branch to a given address and begin executing code.
/// This is used to instruct the copy applet to copy a page of data into
/// flash.
Tells the SAM to branch to a given address and begin executing code.
This is used to instruct the copy applet to copy a page of data into
flash.
Tells the SAM to branch to a given address and begin executing code . This is used to instruct the copy applet to copy a page of data into flash .
fn jump(&mut self, address: u32) -> Result<(), Error> {
        let command = CString::new(format!("G{:08X}#", address)).unwrap();
        self.bus.write(command.as_bytes()).map(|_| ())
            .map_err(|_| FdfuError::SamBaCommand(format!("jump to {:08X}", address)).into())
    }
fn jump ( & mut self , address : u32 ) -> Result < ( ) , Error > { let command = CString :: new ( format ! ( " " address ) ) . unwrap ( ) ; self . bus . write ( command . as_bytes ( ) ) . map ( | _ | ( ) ) . map_err ( | _ | FdfuError :: SamBaCommand ( format ! ( " " address ) ) . into ( ) ) }
Tells the SAM to branch to a given address and begin executing code.
Tells the SAM to branch to a given address and begin executing code .
&mut self
address
u32
&mut self
address
u32