fn enter_dfu(&mut self) {
        self.gpio.write(1 << SAM_ERASE_PIN, 0);
        thread::sleep(time::Duration::from_millis(8000));
        self.gpio.write(0, 1 << SAM_ERASE_PIN);
        self.reset();
    }
/// Toggles the right GPIO pins to cause the ATSAM to enter DFU mode.
Toggles the right GPIO pins to cause the ATSAM to enter DFU mode.
Toggles the right GPIO pins to cause the ATSAM to enter DFU mode .
fn enter_dfu(&mut self) {
        self.gpio.write(1 << SAM_ERASE_PIN, 0);
        thread::sleep(time::Duration::from_millis(8000));
        self.gpio.write(0, 1 << SAM_ERASE_PIN);
        self.reset();
    }
fn enter_dfu ( & mut self ) { self . gpio . write ( 1 << SAM_ERASE_PIN , 0 ) ; thread :: sleep ( time :: Duration :: from_millis ( 8000 ) ) ; self . gpio . write ( 0 , 1 << SAM_ERASE_PIN ) ; self . reset ( ) ; }
Toggles the right GPIO pins to cause the ATSAM to enter DFU mode.
Toggles the right GPIO pins to cause the ATSAM to enter DFU mode .
&mut self
&mut self