Struct stm32f4xx_hal::pac::FLASH
source · [−]pub struct FLASH { /* private fields */ }
Expand description
FLASH
Implementations
sourceimpl FLASH
impl FLASH
sourcepub const PTR: *const RegisterBlock = {0x40023c00 as *const stm32f4::stm32f429::flash::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40023c00 as *const stm32f4::stm32f429::flash::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Trait Implementations
sourceimpl FlashExt for FLASH
impl FlashExt for FLASH
sourcefn unlocked(&mut self) -> UnlockedFlash<'_>
fn unlocked(&mut self) -> UnlockedFlash<'_>
Unlock flash for erasing/programming until this method’s result is dropped Read more
fn dual_bank(&self) -> bool
sourcefn sector(&self, offset: usize) -> Option<FlashSector>
fn sector(&self, offset: usize) -> Option<FlashSector>
Returns flash memory sector of a given offset. Returns none if offset is out of range.
impl Send for FLASH
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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