Struct stm32_metapac::flash::regs::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 StructuralEq for PrarPrg
impl StructuralPartialEq for PrarPrg
Auto Trait Implementations§
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