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