Struct Flash
pub struct Flash { /* private fields */ }Expand description
Flash
Implementations§
§impl Flash
impl Flash
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
pub const fn bank(self, n: usize) -> Bank
pub const fn bank(self, n: usize) -> Bank
Per-bank registers (bank 1, bank 2). Bank 2 is not present on STM32H72x/H73x (RM0468).
pub const fn boot4_cur(self) -> Reg<Boot, R>
pub const fn boot4_cur(self) -> Reg<Boot, R>
FLASH register with boot address. Cortex-M4 boot addresses, only on dual-core devices (RM0399).
pub const fn boot4_prg(self) -> Reg<Boot, RW>
pub const fn boot4_prg(self) -> Reg<Boot, RW>
FLASH register with boot address. Cortex-M4 boot addresses, only on dual-core devices (RM0399).
pub const fn optsr2_cur(self) -> Reg<Optsr2, R>
pub const fn optsr2_cur(self) -> Reg<Optsr2, R>
FLASH option status register 2. Only on STM32H72x/H73x (RM0468).
pub const fn optsr2_prg(self) -> Reg<Optsr2, RW>
pub const fn optsr2_prg(self) -> Reg<Optsr2, RW>
FLASH option status register 2. Only on STM32H72x/H73x (RM0468).
Trait Implementations§
impl Copy for Flash
impl Eq for Flash
impl Send for Flash
impl StructuralPartialEq for Flash
impl Sync for Flash
Auto Trait Implementations§
impl Freeze for Flash
impl RefUnwindSafe for Flash
impl Unpin for Flash
impl UnsafeUnpin for Flash
impl UnwindSafe for Flash
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