Enum stm32_hal2::flash::Bank
source · #[repr(u8)]pub enum Bank {
B1 = 0,
B2 = 1,
}
Expand description
For dual-bank variants. u8 value is used for page erase: sets CR
reg, BKER
bit.
Variants§
Trait Implementations§
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§
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