pub fn perform_bank_swap() -> Result<Infallible, Error>Expand description
Swap flash banks 1 and 2 and reset into the swapped banks.
SWAP_BANK is loaded with OBL_LAUNCH, which resets the chip. Returns only if programming
the option bytes failed (OPTWERR).
PLEASE READ THE REFERENCE MANUAL - there are nuances to this feature.