pub enum FlashBank {
Bank1,
Bank2,
Otp,
}Expand description
Flash bank.
This is the physical bank. On chips that can swap the banks (SWAP_BANK/FB_MODE),
FlashBank::base returns the address where the bank is currently mapped.
Variants§
Implementations§
Trait Implementations§
impl Copy for FlashBank
impl Eq for FlashBank
impl StructuralPartialEq for FlashBank
Auto Trait Implementations§
impl Freeze for FlashBank
impl RefUnwindSafe for FlashBank
impl Send for FlashBank
impl Sync for FlashBank
impl Unpin for FlashBank
impl UnsafeUnpin for FlashBank
impl UnwindSafe for FlashBank
Blanket Implementations§
impl<T, I> Binding<I, NoHandler<I>> for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more