/// Swap the flash banks. The processor will be reset, after which the
/// inactive bank will become the active bank.
///
/// # Safety
///
/// Ensure there is a working, memory safe program in place in the inactive
/// bank before calling.
Swap the flash banks. The processor will be reset, after which the
inactive bank will become the active bank.
Swap the flash banks . The processor will be reset after which the inactive bank will become the active bank .
pub unsafe fn bank_swap(&mut self) -> ! {
        self.command_sync(CMD_AW::BKSWRST);
        // The reset will happen atomically with the rest of the command, so getting
        // here is an error.
        unreachable!();
    }
pub unsafe fn bank_swap ( & mut self ) -> ! { self . command_sync ( CMD_AW :: BKSWRST ) ; // The reset will happen atomically with the rest of the command, so getting // here is an error. unreachable ! ( ) ; }
Swap the flash banks.
Swap the flash banks .
&mut self
safety
Ensure there is a working, memory safe program in place in the inactive
bank before calling.
Ensure there is a working memory safe program in place in the inactive bank before calling .