Struct stm32_metapac::flash::regs::Wrp1ar
#[repr(transparent)]pub struct Wrp1ar(pub u32);
Expand description
FLASH WRP1 area A address register
Tuple Fields§
§0: u32
Implementations§
§impl Wrp1ar
impl Wrp1ar
pub const fn wrp1a_pstrt(&self) -> u8
pub const fn wrp1a_pstrt(&self) -> u8
bank 1 WPR first area A start page This field contains the first page of the first WPR area for bank 1.
pub fn set_wrp1a_pstrt(&mut self, val: u8)
pub fn set_wrp1a_pstrt(&mut self, val: u8)
bank 1 WPR first area A start page This field contains the first page of the first WPR area for bank 1.
pub const fn wrp1a_pend(&self) -> u8
pub const fn wrp1a_pend(&self) -> u8
Bank 1 WPR first area A end page This field contains the last page of the first WPR area in bank 1.
pub fn set_wrp1a_pend(&mut self, val: u8)
pub fn set_wrp1a_pend(&mut self, val: u8)
Bank 1 WPR first area A end page This field contains the last page of the first WPR area in bank 1.
pub const fn unlock(&self) -> WrparUnlock
pub const fn unlock(&self) -> WrparUnlock
Bank 1 WPR first area A unlock
pub fn set_unlock(&mut self, val: WrparUnlock)
pub fn set_unlock(&mut self, val: WrparUnlock)
Bank 1 WPR first area A unlock
Trait Implementations§
impl Copy for Wrp1ar
impl Eq for Wrp1ar
impl StructuralPartialEq for Wrp1ar
Auto Trait Implementations§
impl Freeze for Wrp1ar
impl RefUnwindSafe for Wrp1ar
impl Send for Wrp1ar
impl Sync for Wrp1ar
impl Unpin for Wrp1ar
impl UnwindSafe for Wrp1ar
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
)