Struct embassy_stm32::flash::FlashRegion
source · pub struct FlashRegion {
pub bank: FlashBank,
pub base: u32,
pub size: u32,
pub erase_size: u32,
pub write_size: u32,
pub erase_value: u8,
/* private fields */
}
Expand description
Flash memory region
Fields§
§bank: FlashBank
Bank number.
base: u32
Absolute base address.
size: u32
Size in bytes.
erase_size: u32
Erase size (sector size).
write_size: u32
Minimum write size.
erase_value: u8
Erase value (usually 0xFF
, but is 0x00
in some chips)
Implementations§
Trait Implementations§
source§impl Debug for FlashRegion
impl Debug for FlashRegion
Auto Trait Implementations§
impl RefUnwindSafe for FlashRegion
impl Send for FlashRegion
impl Sync for FlashRegion
impl Unpin for FlashRegion
impl UnwindSafe for FlashRegion
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