Struct embassy_stm32::flash::FlashSector
source · pub struct FlashSector {
pub bank: FlashBank,
pub index_in_bank: u8,
pub start: u32,
pub size: u32,
}
Expand description
Flash sector.
Fields§
§bank: FlashBank
Bank number.
index_in_bank: u8
Sector number within the bank.
start: u32
Absolute start address.
size: u32
Size in bytes.
Trait Implementations§
source§impl Debug for FlashSector
impl Debug for FlashSector
source§impl Format for FlashSector
impl Format for FlashSector
source§impl PartialEq for FlashSector
impl PartialEq for FlashSector
source§fn eq(&self, other: &FlashSector) -> bool
fn eq(&self, other: &FlashSector) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FlashSector
Auto Trait Implementations§
impl RefUnwindSafe for FlashSector
impl Send for FlashSector
impl Sync for FlashSector
impl Unpin for FlashSector
impl UnwindSafe for FlashSector
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