Struct stm32_metapac::flash::regs::ScarPrg
#[repr(transparent)]pub struct ScarPrg(pub u32);
Expand description
FLASH secure address for bank 1
Tuple Fields§
§0: u32
Implementations§
§impl ScarPrg
impl ScarPrg
pub const fn sec_area_start(&self) -> u16
pub const fn sec_area_start(&self) -> u16
Bank 1 lowest secure protected address configuration
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 configuration
pub const fn sec_area_end(&self) -> u16
pub const fn sec_area_end(&self) -> u16
Bank 1 highest secure protected address configuration
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 configuration
Trait Implementations§
impl Copy for ScarPrg
impl Eq for ScarPrg
impl StructuralEq for ScarPrg
impl StructuralPartialEq for ScarPrg
Auto Trait Implementations§
impl RefUnwindSafe for ScarPrg
impl Send for ScarPrg
impl Sync for ScarPrg
impl Unpin for ScarPrg
impl UnwindSafe for ScarPrg
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