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