Struct stm32_metapac::flash::regs::Wrpbr
#[repr(transparent)]pub struct Wrpbr(pub u32);
Expand description
WRP area B address register
Tuple Fields§
§0: u32
Implementations§
§impl Wrpbr
impl Wrpbr
pub const fn wrpb_pstrt(&self) -> u8
pub const fn wrpb_pstrt(&self) -> u8
WRP area B start page This field contains the first page of the WRP area B. Note that bit 6 is reserved on STM32WBAxEx devices.
pub fn set_wrpb_pstrt(&mut self, val: u8)
pub fn set_wrpb_pstrt(&mut self, val: u8)
WRP area B start page This field contains the first page of the WRP area B. Note that bit 6 is reserved on STM32WBAxEx devices.
pub const fn wrpb_pend(&self) -> u8
pub const fn wrpb_pend(&self) -> u8
WRP area B end page This field contains the last page of the WRP area B. Note that bit 22 is reserved on STM32WBAxEx devices.
pub fn set_wrpb_pend(&mut self, val: u8)
pub fn set_wrpb_pend(&mut self, val: u8)
WRP area B end page This field contains the last page of the WRP area B. Note that bit 22 is reserved on STM32WBAxEx devices.
pub fn set_unlock(&mut self, val: bool)
pub fn set_unlock(&mut self, val: bool)
WPR area B unlock
Trait Implementations§
impl Copy for Wrpbr
impl Eq for Wrpbr
impl StructuralPartialEq for Wrpbr
Auto Trait Implementations§
impl Freeze for Wrpbr
impl RefUnwindSafe for Wrpbr
impl Send for Wrpbr
impl Sync for Wrpbr
impl Unpin for Wrpbr
impl UnwindSafe for Wrpbr
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
)