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