Struct stm32_metapac::flash::regs::ScarCur
#[repr(transparent)]pub struct ScarCur(pub u32);
Expand description
FLASH secure address for bank 1
Tuple Fields§
§0: u32
Implementations§
§impl ScarCur
impl ScarCur
pub const fn sec_area_start(&self) -> u16
pub const fn sec_area_start(&self) -> u16
Bank 1 lowest secure protected address
pub fn set_sec_area_start(&mut self, val: u16)
pub fn set_sec_area_start(&mut self, val: u16)
Bank 1 lowest secure protected address
pub const fn sec_area_end(&self) -> u16
pub const fn sec_area_end(&self) -> u16
Bank 1 highest secure protected address
pub fn set_sec_area_end(&mut self, val: u16)
pub fn set_sec_area_end(&mut self, val: u16)
Bank 1 highest secure protected address
Trait Implementations§
impl Copy for ScarCur
impl Eq for ScarCur
impl StructuralPartialEq for ScarCur
Auto Trait Implementations§
impl Freeze for ScarCur
impl RefUnwindSafe for ScarCur
impl Send for ScarCur
impl Sync for ScarCur
impl Unpin for ScarCur
impl UnwindSafe for ScarCur
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)