Struct Scar
#[repr(transparent)]pub struct Scar(pub u32);Expand description
FLASH secure address register.
Tuple Fields§
§0: u32Implementations§
§impl Scar
impl Scar
pub const fn sec_area_start(&self) -> u16
pub const fn sec_area_start(&self) -> u16
Bank 1 lowest secure protected address
pub const fn set_sec_area_start(&mut self, val: u16)
pub const 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 const fn set_sec_area_end(&mut self, val: u16)
pub const fn set_sec_area_end(&mut self, val: u16)
Bank 1 highest secure protected address
Trait Implementations§
impl Copy for Scar
impl Eq for Scar
impl StructuralPartialEq for Scar
Auto Trait Implementations§
impl Freeze for Scar
impl RefUnwindSafe for Scar
impl Send for Scar
impl Sync for Scar
impl Unpin for Scar
impl UnsafeUnpin for Scar
impl UnwindSafe for Scar
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