Enum atsamd_hal::nvm::Bank
source · [−]pub enum Bank {
Active,
Inactive,
}
Expand description
Flash banks identified by which one we boot from.
Memory layout:
[ Active bank | Inactive bank ]
^ ^ ^
0x0000_0000 flash_size/2 flash_size
Variants
Active
Bank that is mapped to 0x0000_0000
Active bank occupies first half of the flash memory.
Inactive
Bank that is not mapped to 0x0000_0000
Inactive bank occupies second half of the flash memory.
Implementations
Trait Implementations
impl StructuralPartialEq for Bank
Auto Trait Implementations
impl RefUnwindSafe for Bank
impl Send for Bank
impl Sync for Bank
impl Unpin for Bank
impl UnwindSafe for Bank
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more