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